Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go to line dialog #1032

Open
jlaurens opened this issue Nov 25, 2023 · 0 comments
Open

Go to line dialog #1032

jlaurens opened this issue Nov 25, 2023 · 0 comments

Comments

@jlaurens
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When the carret is not visible and you want to scroll to the currently selected line, you can use the menu item "show the selection".
When you open the goto line dialog, the line number field is automatically fed with the actually selected line number.
This is redundant and useless.

Describe the solution you'd like
Instead, feed the line number field of the go to line dialog with a more interesting value.

This more interesting value needs thinking.

For that, we can keep track of recently selected places in the text, maybe 5 values.
We record in that stack the selected ranges, but only when the elements are separated by more than say 100 lines.
Then the goto line dialog can cycle through these values with the up and down keys
or its text field can have an attached menu with this values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant