Mercurial > projects > dwt-win
changeset 325:0c891bed575f
Remove debug prints
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 30 Nov 2008 09:43:39 +0100 |
parents | ba58cbca64a1 |
children | e4d29367b1fa |
files | dwt/dwthelper/utils.d |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d Sun Nov 30 09:42:03 2008 +0100 +++ b/dwt/dwthelper/utils.d Sun Nov 30 09:43:39 2008 +0100 @@ -523,11 +523,6 @@ if( searchRelCp > 0 ){ while( searchRelCp !is 0 ){ - //Trace.formatln( "( i+2 < str.length ) = {}", ( i+2 < str.length )); - //Trace.formatln( "( str[i+2] & 0xC0 ) is 0x80 ) = {}", (( str[i+2] & 0xC0 ) is 0x80 )); - //Trace.formatln( "( str[i+1] & 0xC0 ) is 0x80 ) = {}", (( str[i+1] & 0xC0 ) is 0x80 )); - //Trace.formatln( "( str[i ] & 0xF0 ) is 0xE0 ) = {}", (( str[i ] & 0xF0 ) is 0xE0 )); - if( ( i < str.length ) && (( str[i] & 0x80 ) is 0x00 )) { @@ -559,7 +554,6 @@ tango.text.convert.Utf.onUnicodeError( "invalid utf8 input", i ); } searchRelCp--; - //Trace.formatln(" . "); } } else if( searchRelCp < 0 ){ @@ -568,8 +562,6 @@ i--; if( i < 0 ){ return startIndex-1; - //Trace.formatln( "dwthelper.utils getRelativeCodePointOffset {}: str={}, startIndex={}, searchRelCp={}", __LINE__, str, startIndex, searchRelCp ); - //tango.text.convert.Utf.onUnicodeError( "invalid utf8 input", i ); } } while(( str[i] & 0xC0 ) is 0x80 ); searchRelCp++;