Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/StyledTextContent.d

    r182 r238  
    1313module dwt.custom.StyledTextContent; 
    1414 
     15import dwt.dwthelper.utils; 
     16 
    1517import dwt.custom.TextChangeListener; 
    1618/** 
     
    5456 * @return the line text without delimiters 
    5557 */ 
    56 public char[] getLine(int lineIndex); 
     58public String getLine(int lineIndex); 
    5759 
    5860/** 
     
    104106 *  when inserting new lines. 
    105107 */ 
    106 public char[] getLineDelimiter(); 
     108public String getLineDelimiter(); 
    107109 
    108110/** 
     
    135137 * @return the text at the given range 
    136138 */ 
    137 public char[] getTextRange(int start, int length); 
     139public String getTextRange(int start, int length); 
    138140 
    139141/** 
     
    193195 * @see TextChangeListener 
    194196 */ 
    195 public void replaceTextRange(int start, int replaceLength, char[] text); 
     197public void replaceTextRange(int start, int replaceLength, String text); 
    196198 
    197199/** 
     
    205207 * @see TextChangeListener 
    206208 */ 
    207 public void setText(char[] text); 
     209public void setText(String text); 
    208210 
    209211/++