Hi,
I want to add custom syntax highlighting how can i do that? even can i modify highlighting or language mode? when i looked at component i noticed mode or theme only takes string data.
Thanks for viewing this topic.
Hi,
I want to add custom syntax highlighting how can i do that? even can i modify highlighting or language mode? when i looked at component i noticed mode or theme only takes string data.
Thanks for viewing this topic.
With the built-in syntax memo, you can add extra keywords for example with TWebSyntaxMemo.InitializeKeyWords() for example. You can customize the autocompletion via TWebSyntaxMemo.CustomAutocomplete
However, for a more versatile and more extensive syntax menu, have a look at TTMSFNCMemo that can also be used in a TMS WEB Core web app.
This blog & webinar discusses this:
and the product page: