Highlighting is totally separate to making a word clickable so this would require two different sections of the ModeFile to be altered.
SyntaxWords Group6 EndOfExpr ee_url nocase .torrens.org EndAs you save the edited ModeFile, StrongED parses it and warns you if it does not make sense. If you have done this correctly it now works, colouring the URL from the torrens.org bit to the following space (that's what EndOfExpr does). Now you can open the Mode's Choices -> Colours, click on the Element Menu -> Group 6 and select foreground and background colours to choice.
Unfortunately you cannot make the full URL highlighed as the highlighting system recognises words starting with a listed part.
torg {~"torrens.org" (\a | ".")}+ "torrens.org"
which I added to the Search section of the BaseMode Modefile which already contains defined expressions such as ee_url, http etc.
Now we need to broadcast it. In the section ClickList Select2 I added
torg BroadcastURL("https://")
which adds https://to the string found by torg and launches it.
Was this page helpful? Please email me and/or rate this page: