adjustPosition(int adjustment) Adjust this position.
This is useful in cases that an amount of text is inserted
or removed before this position.
Parameters: adjustment - amount (either positive or negative) to adjust this position.
public boolean
equals(Object obj) Two DocPositions are equal iff they have the same internal position.
Adjust this position.
This is useful in cases that an amount of text is inserted
or removed before this position.
Parameters: adjustment - amount (either positive or negative) to adjust this position. the DocPosition, adjusted properly.