void () { DocumentEx document = (DocumentEx)EditorFactory.getInstance().createDocument(StringUtil.repeatSymbol(' ', 10)); List<RangeMarker> mm = add(document, 3,3, 8,8, 5,5, 5,6); edit(document, 2,0,2); delete(mm, 2); }