1 11 package org.eclipse.swt.custom; 12 13 14 22 public interface StyledTextContent { 23 24 35 public void addTextChangeListener(TextChangeListener listener); 36 37 43 public int getCharCount(); 44 45 54 public String getLine(int lineIndex); 55 56 75 public int getLineAtOffset(int offset); 76 77 91 public int getLineCount(); 92 93 104 public String getLineDelimiter(); 105 106 124 public int getOffsetAtLine(int lineIndex); 125 126 135 public String getTextRange(int start, int length); 136 137 146 public void removeTextChangeListener(TextChangeListener listener); 147 148 193 public void replaceTextRange(int start, int replaceLength, String text); 194 195 205 public void setText(String text); 206 } 207 | Popular Tags |