You might also check how the editor handles the reload, and try to improve the caret persistence situation.

On 6/7/22 18:17, Ernie Rael wrote:
Hi all,

When NetBeans detects that a file has been changed externally, it updates the file. When this happens, my plugin usually /looses/ its javax.swing.text.Positions; they go to offset 0.

How can I get notified or detect that this is about to happen so I can try to preserve the marks. Notification that it just happened would be better than nothing.

Any hints on how to do this, or suggestions on where to look?

Thanks,
-ernie


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to