On Thursday, 14 January 2021 at 15:30:12 UTC, Dukc wrote:
On Thursday, 14 January 2021 at 15:14:36 UTC, Dukc wrote:
I use Geany, and I'm no power user, I don't know many key
bindings. My way to deal with this is dead stupid: I leave the
character cursor where I am and start scrolling. When I want
to go back, lArrow rArrow lArrow rArrow...
Oh didn't realize you were talking about scrolling to edit, not
just to look.
In the case of adding an import a though, there should usually
be a start of lexical scope close enough to fit in the same
screen with the invocation. Except when adding top-level
symbols... I reckon I'd just memoize the line number roughly
before scrolling.
https://www.geany.org/manual/current/#bookmarks
TL;DR version:
Ctrl-M : create or remove bookmark at current line (mnemonic: M
for "mark")
Ctrl-, : jump to previous bookmark (mnemonic: on the same key as
"<")
Ctrl-. : jump to next bookmark (mnemonic: on the same key as ">")