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