void () { initText("long long line"); EditorTestUtil.configureSoftWrapsAndViewport(getEditor(), 100, 1); EditorTestUtil.configureSoftWrapsAndViewport(getEditor(), 10, 1); assertEquals(0, getEditor().getScrollingModel().getVerticalScrollOffset()); }