Hi,
ashok _ wrote:
[..]
this is the problem:
If the user places the cursor somewhere in the document, and scrolls
down (without placing the cursor on the document again), the next time
the timer invokes the paragraph enumeration, the document
automatically scolls back to the last point where the user placed the
cursor.
If the user scrolls down and places the cursor in a different this
"automatic" scrolling does not happen.
[..]
if something changes the document (e.g. insert text, change formatting,
apply numbering!) automatically the input cursor becomes visible again.
At the end of such action a method UpdateCrsr() is called which
calculates the (graphical) position of the input cursor. Afterwards it
calls a method MakeVisible() to scroll the displayed area if necessary.
You describe it yourself, if you place the cursor this automatic
scrolling does not happen. Your subject ".. mysterious cursor movement"
is misleading. There is no cursor movement, there is an automatic
scrolling to make the cursor visible again.
I have to admit that sometimes this could be unwanted, but sometimes it
is quiet helpful.
Regards
Andreas
--
Andreas Martens (ama) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]