void () { Document doc = new DocumentImpl("foo"); RangeMarker marker = doc.createRangeMarker(0, 3); assertFalse(marker.isGreedyToLeft()); assertFalse(marker.isGreedyToRight()); replaceString(doc, 0, 3, "foobar"); assertValidMarker(marker, 0, 6); replaceString(doc, 0, 3, "goofoo"); assertValidMarker(marker, 0, 9); }