Skip to content

Odd behavior using Ctrl-End and scrolling #992

@mandolyte

Description

@mandolyte

olney-book-1.csv

To reproduce:

  1. open the attached file
  2. Press Ctrl-End
  3. 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.
  4. 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.
  5. 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)
  6. 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.
  7. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions