Hi,
Geany's navigation history (navqueue) would be more useful to me if I could add positions into it manually.
For example, I want to peek into another location in the code (page up / page down) and then return. The navqueue fits this case much better than bookmarks.
A plugin can emulate this by doing navqueue_goto_line() to the current line, but this doesn't work very well: it adds two positions (unless the cursor happens to be on the beginning of the line) and also scrolls the view.
Do you think it would be a good idea to have a keybinding for this in Geany core? I have a patch in the works [1].
[1] https://github.com/geany/geany/compare/master...vfaronov:add-position
Please make a pull request from it so it can be discussed with the code.
On 4 July 2016 at 19:12, Vasiliy Faronov vfaronov@gmail.com wrote:
Hi,
Geany's navigation history (navqueue) would be more useful to me if I could add positions into it manually.
For example, I want to peek into another location in the code (page up / page down) and then return. The navqueue fits this case much better than bookmarks.
A plugin can emulate this by doing navqueue_goto_line() to the current line, but this doesn't work very well: it adds two positions (unless the cursor happens to be on the beginning of the line) and also scrolls the view.
Do you think it would be a good idea to have a keybinding for this in Geany core? I have a patch in the works [1].
[1] https://github.com/geany/geany/compare/master...vfaronov:add-position
-- Vasiliy _______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel