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