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