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