Menu

#269 Modification of "Go to line" functionality

Next_release
open
nobody
None
5
2010-11-01
2010-11-01
No

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.

Discussion

  • czlowiekgrzmot

    czlowiekgrzmot - 2010-11-01

    Modification of "Go to line" functionality

     
  • czlowiekgrzmot

    czlowiekgrzmot - 2010-11-01
    • labels: 1169658 -->