On Fri, Dec 14, 2001 at 11:30:31AM +0100, Juergen Vigna wrote: > On 13-Dec-2001 Dekel Tsur wrote: > > Why can't the pageup/down be implemented by shifting the display window by > > the height of the display and then fake a mouse button press near the > > top/bottom of the display ? > > I would say have a go and try to implement it!
Dekel: Note that things start to get funny when selection comes into play: You can't use an arbitrary position "300 pixels below the current position" since this might be within some inset while the anchor is outside. You could have a look at MathCursor::goUpDown(), though. It uses a pretty similar strategy to handle cursor up/down in mathed. Andre' -- André Pönitz .............................................. [EMAIL PROTECTED]