boolean (int position) { final char c = myBuffer.charAt(position); if (".,:;".indexOf(c) >= 0) { myTokenInfo.updateData(position, position+1, CustomHighlighterTokenType.PUNCTUATION); return true; } return false; }