void () { RangeMarkerEx marker1 = createMarker(StringUtil.repeat(" ",100), 0, 0); DocumentEx document = (DocumentEx)marker1.getDocument(); RangeMarker marker2 = document.createRangeMarker(49, 49); moveText(document, 0, 1, 49); marker1.dispose(); marker2.dispose(); }