January 14, 2021 Re: Discussion Thread: DIP 1039--Static Arrays with Inferred Length--Community Review Round 1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Treleaven | On Wednesday, 13 January 2021 at 15:31:33 UTC, Nick Treleaven wrote:
> On Wednesday, 13 January 2021 at 14:48:07 UTC, Atila Neves wrote:
>> Even if they did, what editor are they using that they can't jump back to where they were?
>
> Geany. You can set a marker but probably the editor should automatically add to location history before the go to start of file key binding is executed.
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...
The screen jumps back to the cursor. Then I scan the screen to see the cursor. It is much easier to spot when I keep it moving with the arrows.
|
January 14, 2021 Re: Discussion Thread: DIP 1039--Static Arrays with Inferred Length--Community Review Round 1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dukc | 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.
|
January 14, 2021 Re: Discussion Thread: DIP 1039--Static Arrays with Inferred Length--Community Review Round 1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dukc | 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 ">") |
May 15, 2021 Re: Discussion Thread: DIP 1039--Static Arrays with Inferred Length--Community Review Round 1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul Backus | Please make it happen! |
Copyright © 1999-2021 by the D Language Foundation