Home Download Buy Blog Forum Support

[BUG?] ScrollPastEnd and deleting lines.

[BUG?] ScrollPastEnd and deleting lines.

Postby adzenith on Thu Jun 03, 2010 11:37 pm

Set scrollPastEnd to false.
Open a multi-page document.
Scroll to the bottom.
Select and delete less than a page's worth of lines on the last page. The view will not change (i.e. you will now be scrolled past the end of the file).
Use the mouse-wheel to scroll down. The view scrolls up until you are not past the end of the file.

It would be sweet if the deletion of the lines scrolled the view up so that it doesn't snap later.
I've hacked it right now with:
<binding key="backspace" command="sequence 'leftDeleteCharacters' 'scroll 1' 'scroll -1'"/>
('scroll 0' doesn't work).

Thanks!
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm

Re: [BUG?] ScrollPastEnd and deleting lines.

Postby adzenith on Thu Jun 03, 2010 11:43 pm

Ah my hacky keybinding doesn't work... Turns out the "scroll" command moves the insertion point if the insertion point is about to move off the screen. It makes it hard to work on the bottom line of a file... :)
adzenith
 
Posts: 1217
Joined: Mon Oct 19, 2009 9:12 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 26 guests