Was topic: Re: Adding new Language Syntax
Q: How to make keyword list for syntax file at easy?
A: Create an Code template for syntax 'XML'
1.) open an new 'XML' document (or your 'xyz'- syntax file)
2.) Tools > Options... > [X]Syntax settings > '+XML' > Code Templates
3.) press
[Add] and Fill out:
Key* = Make an keyword list
Desc = Make an keyword list
Shortcut = what you want, f.ex. 'Ctrl+Alt+K'
[OK]4.) in 'Code:' box
a) type
<Keyword text=" b) click
[Insert tag...] and click on
%SelectedLine% to insert this into your code
c) type
"/> You should see an line like:
<Keyword text="%SelectedLine%"/> [OK]5.)
Now, back in HippoEDIT, type (or paste) your keywords in, one line for each keyword.
like:
ControlFocus
ControlGet
ControlGetFocus
ControlGetText
ControlClick
ControlMove
ControlGetPos
ControlSend
ControlSetText
6.) select all keywords
7.) Execute your key-list-template by pressing Ctrl+Alt+K
8.)
Note: currently at 11.12.2008, this needs the last v1.4 beta (at least 550) from the download page.