Meh, it's a pity... Is there a chance that such a possibility will be added to the new Lazarus release?
We used to talk about whether it would be possible to add more elements for coloring, including for variables or function calls, but since the highlighter is too limited, it doesn't seem possible to implement it (except for identifiers after the dot operator). If added support for coloring whole words based on prefixes, I could colorize a bit more, which would make it easier for me to analyze the code (the more elements able to colorize, the better for me).
In addition, by respecting prefixes/postfixes, it would also be possible, for example, to color identifiers after the dot operator (using the prefix ".", i.e. only a dot), as well as function calls (using the postfix "(", and the earlier part doesn't matter). So it would be possible not only to color identifiers with a common prefix/postfix, but also to manipulate the color of these identifiers for specific cases of their use (field, function call, etc.). And to extend the possibilities even further, support for the mask character (that is, "*") could be added, so that the prefix and postfix can be used at the same time, regardless of the middle part of the identifier content.
So, as you can see, one added function (prefix/postfix support), and a lot of possibilities for its use.