question: private int charToVisibleWidth ( char c , @ JdkConstants . FontStyle int fontType , int currentX ) { if ( c == '\n' ) { return 0 ; } if ( c == '\t' ) { return EditorUtil . nextTabStop ( currentX , this ) - currentX ; } return EditorUtil . charWidth ( c , fontType , this ) ; }
target:  Allows to answer how much width requires given char to be represented on a screen.