boolean (LeafBlockWrapper currentBlock) { final WhiteSpace whiteSpace = currentBlock.getWhiteSpace(); if (whiteSpace.containsLineFeeds()) return true; final int spaces = whiteSpace.getSpaces(); int indentSpaces = whiteSpace.getIndentSpaces(); try { final int startColumnNow = CoreFormatterUtil.getStartColumn(currentBlock); whiteSpace.ensureLineFeed(); myIndentAdjuster.adjustLineIndent(currentBlock); final int startColumnAfterWrap = CoreFormatterUtil.getStartColumn(currentBlock); return startColumnNow > startColumnAfterWrap; } finally { whiteSpace.removeLineFeeds(currentBlock.getSpaceProperty(), myBlockRangesMap); whiteSpace.setSpaces(spaces, indentSpaces); } }