GNU bug report logs - #59831
29.0.60; typescript-ts-mode: Variables, properties & fields are often not fontified

Previous Next

Package: emacs;

Reported by: jostein <at> kjonigsen.net

Date: Mon, 5 Dec 2022 08:43:02 UTC

Severity: normal

Found in version 29.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
To: Yuan Fu <casouri <at> gmail.com>, Theodor Thornhill <theo <at> thornhill.no>
Cc: 59831 <at> debbugs.gnu.org
Subject: bug#59831: 29.0.60; typescript-ts-mode: Variables, properties & fields are often not fontified
Date: Wed, 7 Dec 2022 10:24:56 +0100
[Message part 1 (text/plain, inline)]
Hey everyone.

I'd like to add one more change to this particular bug, which makes 
fontification of variables more consistent when used in other 
expressions and statements.

Please see attached patch.

In short this patch changes the following:

 * fontifies property-access in general expressions
 * fontifies variables and property-access in if-expressions

--
Jostein

On 05.12.2022 21:13, Yuan Fu wrote:
>
>> On Dec 5, 2022, at 1:24 AM, Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors<bug-gnu-emacs <at> gnu.org>  wrote:
>>
>> Jostein Kjønigsen<jostein <at> secure.kjonigsen.net>  writes:
>>
>>> Attached is another patch with some further improvements.
>>>
>>> These too OK with you, Theodor?
>>>
>> Yep!
> I squashed the two commits and applied them, Thanks!
>
> Yuan
[Message part 2 (text/html, inline)]
[0001-lisp-progmodes-typescript-ts-mode.el-Improve-fontifi.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.