[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH V2] syntax: c: change the highlighting of prepro
From: |
Liu Hao |
Subject: |
Re: [Nano-devel] [PATCH V2] syntax: c: change the highlighting of preprocessor directives |
Date: |
Tue, 2 Apr 2019 22:32:54 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
在 2019/4/2 20:46, Benno Schulenberg 写道:
> From: Liu Hao <address@hidden>
>
> V2: The start-of-buffer anchor \` was included into one of the regexes, to
> prevent color spilling mistakenly onto a subsequent line.
>
> [Sixteen months ago we left things hanging there, because I was unsure of the
> portability of \`. [1] But since then we have retired fixbounds() and no one
> has complained (yet), and from looking at the output of 'objdump -t src/nano |
> grep rpl_' on the various BSDs, they all appear to use the regex module from
> gnulib anyway, so \< and \> and \` will be available, so we can use these.]
>
> [1] http://lists.gnu.org/archive/html/nano-devel/2017-12/msg00084.html
>
>
> Some of these directives are now colored in their entirety, while for
> a few others it's still just the keyword itself that is colored.
>
Thanks for taking care of it.
> Signed-off-by: Liu Hao <address@hidden>
> Signed-off-by: Benno Schulenberg <address@hidden>
> ---
> syntax/c.nanorc | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
--
Best regards,
LH_Mouse
signature.asc
Description: OpenPGP digital signature