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