| 17 | |
| 18 | == Version 6.2 and Post == |
| 19 | Notepad++ changed its Language for defining User Languages ( UDL1.0 -> UDL2.0) requiring a slightly different syntax file. |
| 20 | Unfortunately the new UDL doesnt support folding on indent ( which the python lexer does). |
| 21 | |
| 22 | So the options now (pending that support in the UDL parser) are: |
| 23 | If you want code folding in cobra - you need to augment the Python description with the additional cobra keywords |
| 24 | |
| 25 | Get the Style Config dialog up by selecting '''Settings >> Style Configurator''', |
| 26 | Select 'Python' in the 'Language' List and select 'KEYWORDS' in the Style list |
| 27 | * add 'cobra' to the 'user ext.' box |
| 28 | * add the additional cobra keywords 'cue pro get set shared extend sig test var catch' to the 'User defined keywords' text box |
| 29 | * Press the 'Save and Close' bttton |
| 30 | |
| 31 | If you can do without code folding use a new user defined config for 'Cobra'.[[BR]] |
| 32 | |
| 33 | Download the file 'userDefineLang-Cobra-Post6.2.xml below. |
| 34 | * select '''Language >> Define Your Language''' |
| 35 | * In the dialog press the 'Import' button and load the downloaded file in the popup file dialog |
| 36 | * You should see a cobra lang definition loaded, press the Close window button in the top rhs of the dialog. |
| 37 | |
| 38 | You should now have cobra syntax coloring and a new language entry for 'Cobra' at the bottom of the 'Language' Menu. |