Changeset 212:ab60f3309436 for dwt/custom/StyledTextContent.d
- Timestamp:
- 05/04/08 18:12:38 (7 months ago)
- Files:
-
- dwt/custom/StyledTextContent.d (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/custom/StyledTextContent.d
r155 r212 1 /*******************************************************************************1 /******************************************************************************* 2 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials … … 14 14 15 15 import dwt.custom.TextChangeListener; 16 import dwt.dwthelper.utils; 17 16 18 /** 17 19 * Clients may implement the StyledTextContent interface to provide a … … 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 }
