Mercurial > projects > dwt2
comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/StyleRange.d @ 51:c01d033c633a
[swt lin]
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 27 Mar 2009 19:58:06 +0100 |
parents | f589fc20a5f9 |
children | 536e43f63c81 |
comparison
equal
deleted
inserted
replaced
50:d5075f5226e5 | 51:c01d033c633a |
---|---|
216 break; | 216 break; |
217 default: | 217 default: |
218 buffer.append("normal"); | 218 buffer.append("normal"); |
219 } | 219 } |
220 String str = super.toString(); | 220 String str = super.toString(); |
221 int index = tango.text.Util.locate( str, '{'); | 221 int index = str.indexOf( '{'); |
222 if( index is str.length ) index = -1; | |
223 str = str[ index + 1 .. $ ]; | 222 str = str[ index + 1 .. $ ]; |
224 if (str.length > 1) buffer.append(", "); | 223 if (str.length > 1) buffer.append(", "); |
225 buffer.append(str); | 224 buffer.append(str); |
226 return buffer.toString(); | 225 return buffer.toString(); |
227 } | 226 } |