question: private int whiteSpaceLength ( String indent ) { if ( indent == null ) return 0 ; else { int size = 0 ; int l = indent . length ( ) ; int tabSize = getTabSize ( ) ; for ( int i = 0 ; i < l ; i ++ ) size += indent . charAt ( i ) == '\t' ? tabSize : 1 ; return size ; } }
target:  Returns the size in characters of a string. All characters count one, tabs count the editor's preference for the tab display