Navigation: TextEd > Syntax files >

Keywords

 

 

 

 

You can have as many keyword groups as you want. E.g. one group can be standard keywords and another group data types.
 

Enter a name to the keyword group and then add keywords to that group.
 

You can also use regular expressions to identify a keyword. You can only have one expression per keyword group. The group name must start with #.
 

Ex.
 

#G keywords=G[0-9]+

 

If the option to only allow syntax highlighting inside blocks is set to "true" - you can still highlight keywords in groups that begin with _ or #_ (regular expression).

 

Ex.

 

#_Variables=@[@\w\-_]+

 

 

If you need to you can force a font style for a keyword. This style can not be changed by the user.

 

Ex.

 

#Italic[i]=(?<!\\)(\*\s*[A-Za-z][\w\s]+\*)

 

[i]          = Italic

[b]          = Bold

[ib]          = Italic and bold


 

 

 

 

 

Copyright © 2026 Rickard Johansson