Changeset 212:ab60f3309436 for dwt/custom/StyleRange.d
- Timestamp:
- 05/04/08 18:12:38 (7 months ago)
- Files:
-
- dwt/custom/StyleRange.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/custom/StyleRange.d
r173 r212 21 21 import dwt.custom.TextChangedEvent; 22 22 import dwt.custom.TextChangingEvent; 23 import dwt.dwthelper.utils; 23 24 24 25 static import tango.text.Text; … … 176 177 * @return a string representation of the StyleRange 177 178 */ 178 public override char[]toString() {179 public override String toString() { 179 180 StringBuffer buffer = new StringBuffer(); 180 181 buffer.append("StyleRange {"); … … 196 197 buffer.append("normal"); 197 198 } 198 char[]str = super.toString();199 String str = super.toString(); 199 200 int index = tango.text.Util.locate( str, '{'); 200 201 if( index is str.length ) index = -1;
