|
From: | Dmitry Gutov |
Subject: | Re: cc-mode fontification feels random |
Date: | Sat, 5 Jun 2021 23:25:41 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 04.06.2021 18:54, Alan Mackenzie wrote:
Whether a type is recognised as such depends on that, yes. It's hard to think of a better way without having the resources of a compiler, particularly for ill-behaved languages like C+
Would it work much worse if you took the approach of not applying the highlighting when you frequently cannot be sure of what the type of the term is?
That would mean none of the types in brackets would be highlighted in the original example, but perhaps that is still better than the current result?
[Prev in Thread] | Current Thread | [Next in Thread] |