boolean (HighlighterIterator it) { if (it.getTokenType() == TokenType.WHITE_SPACE) { CharSequence tokenText = it.getDocument().getImmutableCharSequence().subSequence(it.getStart(), it.getEnd()); return CharArrayUtil.containLineBreaks(tokenText); } return false; }