Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Keywords ====== You can also defined list of keyword (also multi word keywords are supported) to be highlighted. Define this: <code xml> <Keywords lead="\s*$"> <Keyword text="aaa" lead="\s*\($"/> <Keyword text="aad" trail="\s*\)"/> ... </Keywords> </code> for matching keywords. Keyword should contain only characters defined in node //<Words>0-9A-Za-z_</Words>// of the //<SPECIFICATION>// node or space, for multi word keyword. ===== Attributes ===== ==== text ==== **Mandatory**. Keyword text. Case sensitivity depends from appropriate setting in SPECIFICATION. ==== lead_with ==== :!: **deprecated** - use //lead// attribute instead \\ Keyword text is leaded by character sequence (case sensitive). ==== lead ==== [[terms:reverse-regular-expression|Reverse regular expression]], which shall lead keyword (case sensitive). ==== trail_with ==== :!: **deprecated** - use //trail// attribute instead \\ Keyword text is word trailed by character sequence (case sensitive). ==== trail ==== Regular expression, which shall trail keyword (case sensitive). ==== descr ==== Allows you specify details for keyword, displayed on hovering or by request, when [[editing:auto_completion:quick-info|QuickInfo]] called on some keyword. ==== pattern ==== Specify, how keyword should be inserted by code completion. You can also use template tags inside. %CurrentWord% tag in this context mean keyword text. <note tip>If you want to have same insert pattern for all keywords in a style, you can define **pattern** attribute on the level of **Keywords** node.</note>