Author Topic: How to make keyword list for syntax file at easy  (Read 3035 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
    • View Profile
How to make keyword list for syntax file at easy
« on: December 11, 2008, 09:16:37 am »
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.) ;D


Note: currently at 11.12.2008, this needs the last v1.4 beta (at least 550) from the download page.
« Last Edit: November 02, 2009, 09:52:24 pm by Stefan »
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2122 Views
Last post September 15, 2009, 07:29:11 pm
by alex
6 Replies
3326 Views
Last post September 26, 2010, 02:26:56 am
by false007
2 Replies
3043 Views
Last post October 20, 2010, 07:30:48 pm
by alex
1 Replies
2308 Views
Last post April 04, 2013, 05:24:47 pm
by alex
13 Replies
1732 Views
Last post March 15, 2017, 10:29:09 am
by alex