/** Remove mark from the structure holding the marks. The mark can * be inserted again into some document. */ public final void remove() throws InvalidMarkException { dispose(); }
void move(BaseDocument doc, int newOffset) throws InvalidMarkException, BadLocationException { dispose(); insert(doc, newOffset); }