Am 07.12.2020 um 17:39 schrieb Allin Cottrell:
On Mon, 7 Dec 2020, Sven Schreiber wrote:
> OK thanks. Then I still the behavior that hitting return inserts the
> current suggestion, not a line break. But now this can only happen if
> the newly typed word matches the beginning of a previous longer word (or
> a function name), of course. Not sure if that problem is simply beyond
> the scope of the fix.
Like Tab, the Return/Enter key is bound to "activate-proposal" in
gtksourceview (versions 2.0 and 3.0). That could be removed in our
patched version for Windows and Mac, but the approved procedure would
be: hit Esc to dismiss the proposal(s), then Enter. It seems quite
natural to me that Enter should accept a proposal.
Right. I thought that when Tab already does it, then why "block" the
Return key, but OTOH I guess you could also say something like that for
people who want to insert a literal Tab character. I see that gedit in
Linux has the same behavior.
Apart from Esc - Return I can also use Shift + Return or Alt + Return at
least on the Windows version to get the line break directly, BTW. One
just has to get used to it I guess.
And did you know that Ctrl + Space actively triggers the proposal pop-up
when otherwise it doesn't show (for example after backspacing something) ?
thanks
sven