Subject: Re: small wish
From: Paul Rohr (paul@abisource.com)
Date: Wed Apr 25 2001 - 20:54:27 CDT
At 10:36 AM 4/22/01 +0200, Jesper Skov wrote:
>Would someone who know about the slider's default positions please
>have a look at this bug:
>http://www.abisource.com/bugzilla/show_bug.cgi?id=1366
>
>I'm sure it's easy to fix, and would make it so much nicer to bring up
>AbiWord. I absolutely hate that the page area I write in is not
>actually on-screen when AbiWord starts.
Anyone interested in tackling this will probably need to grok the following
method:
FV_View::_ensureThatInsertionPointIsOnScreen(void)
Its job is to make sure that a "useful" portion of the screen is visible
"near" the insertion point, and it triggers autoscrolls to make sure that
the cursor doesn't get lost during typing or keyboard-driven navigation.
As mentioned in the implementation, the algorithm used could probably be
tuned better to deal with trhe kinds of overconstraints caused by viewports
that are too small.
I also have no idea how well it works for BiDi situations, but I'm sure
Tomas does. ;-)
Hope that helps,
Paul
This archive was generated by hypermail 2b25 : Wed Apr 25 2001 - 20:47:14 CDT