If the line is out of range, it could just leave the dialog open and make the text box red similar to the search dialog. It could also disable accepting the dialog (disable the "OK" button). It could do these in real time while typing to give some feedback whether the line entered is even valid, since it's a cheap check in code.

For jumping to the end of the file, better than inputting a random out of range number, the dialog could accept negative numbers and go that far from end, like -1 for the last line, -2 for the 2nd to last line, and so on.

Just a few ideas which would probably be easy to implement.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.