void () { String text = """ class LQF { int wwwwwwwwwwww; public void main() {<caret> wwwwwwwwwwww = 1; } }"""; configureByText(JavaFileType.INSTANCE, text); ((EditorImpl)myEditor).getScrollPane().getViewport().setSize(1000, 1000); List<HighlightInfo> infos = doHighlighting(HighlightInfoType.SYMBOL_TYPE_SEVERITY); assertEquals(4, infos.size()); type('\n'); infos = doHighlighting(HighlightInfoType.SYMBOL_TYPE_SEVERITY); assertEquals(4, infos.size()); deleteLine(); infos = doHighlighting(HighlightInfoType.SYMBOL_TYPE_SEVERITY); assertEquals(4, infos.size()); }