4coder»Forums
Sebastian
5 posts
Keyword Highlighting
Edited by Sebastian on Reason: Initial post
Hi,

first I want to thank you for this real nice editor. I really like to work with it.

Since I got used to the highlighting of comments like in caseys emacs file (NOTE, TODO, ...) I wanted to ask how far away this feature is ?

Is it currently possible to achieve this feature with the customization API ? If so, please hint me a little bit.


Cheers,

Zellione
Jim R. Didriksen
63 posts
Keyword Highlighting
https://4coder.handmade.network/f...mplementing_shift_based_selection

Is this what you mean't? If so this is a bit more than a hint.
Sebastian
5 posts
Keyword Highlighting
No, I don't think this is related.
nj
26 posts
Keyword Highlighting
Currently (AFAIK) it isn't posiible to highlight a word inside of a comment, but you can add your own keywords for stuff like "global_variable" "internal" etc.
I think that it's planned to add support for custom highlights in future versions though.
Allen Webster
474 posts / 4 projects
Heyo
Keyword Highlighting
Everything nicoco said is right. You can add keywords but nothing in a comment is treated as a keyword. The plan is to get to a system sometime this year that will greatly open the customizability of how exactly the buffer is shown, which will include arbitrary coloring rules.