| gnu.jemacs.swt.SwtCharBuffer gnu.jemacs.swt.BufferContent
BufferContent | public class BufferContent extends SwtCharBuffer implements StyledTextContent,CharSeq(Code) | | author: Christian Surlykke author: 12-07-2004 |
Method Summary | |
public void | addTextChangeListener(TextChangeListener textChangeListener) | public void | consume(int start, int count, Consumer out) | public void | fill(char value) | public void | fill(int fromIndex, int toIndex, char value) | public int | getCharCount() | public String | getLine(int lineIndex) | public int | getLineAtOffset(int pos) | public int | getLineCount() | public String | getLineDelimiter() | public int | getOffsetAtLine(int lineIndex) | public String | getTextRange(int start, int length) | public void | insertFile(Reader in, int pos) | public int | lineStartPos(int pos) | public static void | main(String[] args) | public void | removeTextChangeListener(TextChangeListener textChangeListener) | public void | replaceTextRange(int start, int length, String newText) | public void | save(Writer out) | public void | setCharAt(int index, char value) | public void | setText(String newText) | public CharSequence | subSequence(int start, int end) | public void | writeTo(int start, int count, java.io.Writer dest) | public void | writeTo(java.io.Writer dest) |
BufferContent | public BufferContent()(Code) | | |
BufferContent | public BufferContent(int initialSize)(Code) | | Parameters: initialSize - |
addTextChangeListener | public void addTextChangeListener(TextChangeListener textChangeListener)(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.addTextChangeListener(org.eclipse.swt.custom.TextChangeListener) |
consume | public void consume(int start, int count, Consumer out)(Code) | | Parameters: start - Parameters: count - Parameters: out - |
fill | public void fill(char value)(Code) | | |
fill | public void fill(int fromIndex, int toIndex, char value)(Code) | | |
getCharCount | public int getCharCount()(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.getCharCount |
getLine | public String getLine(int lineIndex)(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.getLine(int) |
getLineAtOffset | public int getLineAtOffset(int pos)(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.getLineAtOffset(int) |
getLineCount | public int getLineCount()(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.getLineCount |
getLineDelimiter | public String getLineDelimiter()(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.getLineDelimiter |
getOffsetAtLine | public int getOffsetAtLine(int lineIndex)(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.getOffsetAtLine(int) |
getTextRange | public String getTextRange(int start, int length)(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.getTextRange(intint) |
lineStartPos | public int lineStartPos(int pos)(Code) | | |
main | public static void main(String[] args)(Code) | | For testing purposes
Parameters: args - |
removeTextChangeListener | public void removeTextChangeListener(TextChangeListener textChangeListener)(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.removeTextChangeListener(org.eclipse.swt.custom.TextChangeListener) |
replaceTextRange | public void replaceTextRange(int start, int length, String newText)(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.replaceTextRange(intintjava.lang.String) |
setCharAt | public void setCharAt(int index, char value)(Code) | | |
setText | public void setText(String newText)(Code) | | See Also: org.eclipse.swt.custom.StyledTextContent.setText(java.lang.String) |
|
|