The Position instance can be used to track the changes of a particular
location within the text document. I.e., I can do this:

Postion pos = document.createPosition(5);

/// make changes to the document

pos.getOffset() has changed (was adjusted accordingly)

Question: When does this ajustment happen? Is it the changeUpdate() or
insertUpdate() method that causes the adjustment after the insert? Does it
happen after the Document's insertSrting is called or before? I need to
prevent the update to this pointer in certain cases, that's why I am curious
to know.

Many thanks.
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to