[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [RFC] improved word bounds
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [RFC] improved word bounds |
Date: |
Sun, 29 Jul 2018 20:27:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Op 28-07-18 om 12:11 schreef Brand Huntsman:
> Attached patch fixes above problem and a bug when moving left on a line with a
> single indentation character.
Actually trying your patch, I don't see Ctrl+Left/Right stopping
at parentheses or commas, so that is fine.
I like it that it that Ctrl+Left/Right stop at the end of a line
(but not when it also stops at the character just before it).
But I don't like it that it sees the "#" in for example "#ifdef"
as a separate word -- it should not see the character at all, just
like parentheses and commas. Nor do I like that it stops twice on
a line that consists of a single opening or closing brace.
If you can reduce the patch to just the stopping-at-line's-end
behavior, then I'm interested.
Benno
signature.asc
Description: OpenPGP digital signature