void () { initText("abcdefghij"); addCollapsedFoldRegion(1, 8, "..."); configureSoftWraps(4); verifySoftWrapPositions(8); VisualLinesIterator it = createIterator(0); assertFalse(it.atEnd()); assertEquals(0, it.getVisualLineStartOffset()); assertEquals(0, it.getStartFoldingIndex()); it.advance(); assertFalse(it.atEnd()); assertEquals(8, it.getVisualLineStartOffset()); assertEquals(1, it.getStartFoldingIndex()); }