GNU bug report logs -
#61205
'function' in 3rd element of treesit-font-lock-feature-list
Previous Next
Reported by: Dmitry Gutov <dgutov <at> yandex.ru>
Date: Wed, 1 Feb 2023 02:09:02 UTC
Severity: normal
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
Message #47 received at 61205 <at> debbugs.gnu.org (full text, mbox):
On 03/02/2023 08:46, Eli Zaretskii wrote:
>> Cc:61205 <at> debbugs.gnu.org, Theodor Thornhill<theo <at> thornhill.no>,
>> randy taylor<dev <at> rjt.dev>
>> Date: Thu, 2 Feb 2023 22:25:47 +0200
>> From: Dmitry Gutov<dgutov <at> yandex.ru>
>>
>> On a related note: 'property' is in level 3 in c-ts-mode.
>>
>> Should it to go level 4?
>>
>> Also in typescript-ts-mode.
> What is 'property' in those modes? In c-ts-mode, is 'property' the
> name of a struct or enum member, as in foo.bar? Or is it something
> else?
It's the 'bar' in 'foo.bar', yes. Specifically in the cases where it's
being looked up, rather than defined (in a type definition). Examples:
it2.lnum_pixel_width = it.lnum_pixel_width;
|| (it.bidi_p && it.bidi_it.scan_dir == -1
'lnum_pixel_width', 'bidi_p', 'bidi_it' and 'scan_dir' are highlighted
with font-lock-property-face. You can see it for yourself by trying
c-ts-mode in any of our files.
This bug report was last modified 2 years and 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.