-
-
Notifications
You must be signed in to change notification settings - Fork 239
Odd behavior using Ctrl-End and scrolling #992
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
To reproduce:
- open the attached file
- Press Ctrl-End
- Observe that the cursor goes on the last visible line on screen, which is somewhere in the middle of the last actual line of the file.
- Some editors like vi using Ctrl-G go to column 1 of the last line. Others go to the end of the last line. Probably either would be OK and better than somewhere in the middle of the last line.
- Next press the End key and observe that it doesn't move to the end of the line on the screen (which is the actual end of the last line of the file)
- Next widen the window a bit and you will see a line 143 which was hidden before. Since it exists (even if nothing on it), why shouldn't Ctrl-End go there? Indeed, when line 143 is exposed, the cursor actually goes there. So I think it believes it is on line 143, which is good. Just need to shift the content on window up to see it.
- Next observe that the scrollbar correctly is at the bottom. But if I use the scroll wheel, the content shifts to a completely part of the file.
Thanks for your excellent work, BTW. This is one of the few text editors I've used that handles really large files! Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working