Show
Ignore:
Timestamp:
05/04/08 18:12:38 (7 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted the char[] to String and use the an alias.

Files:

Legend:

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

    r155 r212  
    1 /******************************************************************************* 
     1/******************************************************************************* 
    22 * Copyright (c) 2000, 2006 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
     
    1414 
    1515import dwt.custom.TextChangeListener; 
     16import dwt.dwthelper.utils; 
     17 
    1618/** 
    1719 * Clients may implement the StyledTextContent interface to provide a 
     
    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}