Mercurial > projects > dwt-mac
comparison dwt/dwthelper/utils.d @ 79:0dc55b17c290
Ported dwt.widgets.TabItem
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 24 Dec 2008 13:18:04 +0100 |
parents | 990305995bc6 |
children | 97f1b638de63 |
comparison
equal
deleted
inserted
replaced
78:d226cd03f84a | 79:0dc55b17c290 |
---|---|
411 dchar[] res = tango.text.convert.Utf.toString32( str, buf, &ate ); | 411 dchar[] res = tango.text.convert.Utf.toString32( str, buf, &ate ); |
412 assert( ate is str.length ); | 412 assert( ate is str.length ); |
413 return res.length; | 413 return res.length; |
414 } | 414 } |
415 | 415 |
416 public alias tango.text.convert.Utf.toString16 toString16; | 416 alias tango.text.convert.Utf.toString16 toString16; |
417 public alias tango.text.convert.Utf.toString toString; | 417 alias tango.text.convert.Utf.toString toString; |
418 | 418 |
419 int getRelativeCodePointOffset( String str, int startIndex, int searchRelCp ){ | 419 int getRelativeCodePointOffset( String str, int startIndex, int searchRelCp ){ |
420 int ignore; | 420 int ignore; |
421 int i = startIndex; | 421 int i = startIndex; |
422 if( searchRelCp > 0 ){ | 422 if( searchRelCp > 0 ){ |