I have successfully added a keylistener but I would really like to be
informed by caret movements - even if they are triggered by the mouse.
Has anyone ever listened to the the CARET_CHANGED event?
If you are fine with getting notified for just mouse click and key
events inside the document window you can use the
com.sun.star.awt.XUserInputInteraction interface that is supported by
the Controller objects of each document.
If you just want to track if the document cursor is moved around a
SelectionChanged listener might be appropriate also.
What I would really like to do is knowing where the user is currently
active - that is where the keyboard focus is and where the caret is.
I guess a selection listener would be ok, if I could add it globally,
but can you do that?
/W
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]