Modification of "Go to line" functionality
Notepad++ project is moving to GitHub:
Brought to you by:
donho
This patch modifies "Go To Line" functionality.
Current behaviour is following:
1. Current line is 400 -> go to line 1000 -> when we execute "Go To Line" command, specified line is shown at the bottom of the screen.
2. Current line is 400 -> go to line 200 -> when we execute "Go To Line" command, specified line is shown at the top of the screen.
Applying this patch causes that line is shown at the centre of the screen (like in e.g. Visual Studio)
When it is shown at the centre, we can immediately see lines before and after it and user doesn't have to navigate pressing UP/DOWN arrows to see the context which the line is used in, e.g. in source file.
Modification of "Go to line" functionality