Changeset 238:380bad9f6852 for dwt/custom/StyledTextContent.d
- Timestamp:
- 05/04/08 18:42:55 (4 years ago)
- Files:
-
- dwt/custom/StyledTextContent.d (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/custom/StyledTextContent.d
r182 r238 13 13 module dwt.custom.StyledTextContent; 14 14 15 import dwt.dwthelper.utils; 16 15 17 import dwt.custom.TextChangeListener; 16 18 /** … … 54 56 * @return the line text without delimiters 55 57 */ 56 public char[]getLine(int lineIndex);58 public String getLine(int lineIndex); 57 59 58 60 /** … … 104 106 * when inserting new lines. 105 107 */ 106 public char[]getLineDelimiter();108 public String getLineDelimiter(); 107 109 108 110 /** … … 135 137 * @return the text at the given range 136 138 */ 137 public char[]getTextRange(int start, int length);139 public String getTextRange(int start, int length); 138 140 139 141 /** … … 193 195 * @see TextChangeListener 194 196 */ 195 public void replaceTextRange(int start, int replaceLength, char[]text);197 public void replaceTextRange(int start, int replaceLength, String text); 196 198 197 199 /** … … 205 207 * @see TextChangeListener 206 208 */ 207 public void setText( char[]text);209 public void setText(String text); 208 210 209 211 /++
