Hello,
ashok _ wrote:
> Hello Andreas:
>
> On 9/17/07, Andreas Martens wrote:
>> 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.
>
> Yes thats exactly how it behaves... though I am not
inserting text,
> changing formatting
> or applying numbering, i am merely building a hierachy
of the document
> structure in terms of the numbering level (everything
is "read"
> activity ) - and storing this hierarchy into a vector
that in turn
> refreshes a JList list box....... see the brief extract
of code below
> - [1]
[..]
> Is there anyway i can suppress the automatic scrolling
back behaviour... ?
I do not know how to suppress this behavior.
> it seems like a usability issue to me..., maybe even a
bug, since I am
> not really
> writing anything into the document.
Yes, this could be a bug. At first go I didn't find a reason
in your
code snippet for the automatic scrolling.
Maybe you could reduce your code until you get the code line
which
causes the trouble?
Regards
Andreas
--
Andreas Martens (ama) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/Gu
llFOSS
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|