void () { initText(" text with [multiline\nfold region]<caret>"); foldOccurrences("(?s)\\[.*\\]", "..."); getEditor().getSettings().setSmartHome(true); home(); checkResultByText(" <caret>text with [multiline\nfold region]"); }