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