aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorJostein Kjønigsen2025-08-27 11:05:28 +0200
committerYuan Fu2025-09-16 19:07:16 -0700
commit2135e7aa0169639083996fb2a3f82792cdd7a9c0 (patch)
treed06eafdc2a429c7a113dc33f6e3330d33091176e /src/bytecode.c
parent32d959e48becc240a6630e294472b4b4218df807 (diff)
downloademacs-2135e7aa0169639083996fb2a3f82792cdd7a9c0.tar.gz
emacs-2135e7aa0169639083996fb2a3f82792cdd7a9c0.zip
Fixes for csharp-ts-mode fontification (bug#79406)
- hightlight reserved keywords agressively, dont allow misuse as variables etc (the compiler will fail!) - highlight lambda-valued variables as funtions. - improve semantics of function/class annotations using attributes (maps closer to using-something than declaring it). also: rename to "attribute". "property" has a different, defined meaning in C#. - better highlight variable-use in different scenarios (function-calls, if-statements, assignment-expressions, property-use, anonymous object initializers). - better highlight for property-use (anonymous object initializers). - highlight field-declaration using font-lock-variable-face. - fontify attributes using new face csharp-ts-mode-attribute-face (defaults to font-lock-property-use-face). - remove extensive use of "override" making evalutation hard-to-reason about. * lisp/progmodes/csharp-mode.el (csharp-ts-mode--indent-rules): Update indent rules. (csharp-ts-mode-faces): New group. (csharp-ts-mode-attribute-face): New face. (csharp-ts-mode--font-lock-settings): Rule updates. (csharp-ts-mode): Change property feature to attribute
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions