Wiki

Changes between Version 10 and Version 11 of Notepad++

Show
Ignore:
Timestamp:
11/11/12 12:38:56 (5 years ago)
Author:
hopscc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Notepad++

    v10 v11  
    66Place this XML node in the ''userDefinedLang.xml'' file at  
    77{{{ 
    8 %appdata%\Notepad++\userDefinedLang.xml 
     8%appdata%\Notepad++\userDefineLang.xml 
    99}}} 
    1010If this file does not exist then copy the entire file to the destination directory. 
     
    1515For colors more suited to the default theme use the '''!UserLang''' node for Cobra in the file ''userDefineLang-!DefaultTheme.xml'' attached below.[[BR]] 
    1616Once again if the file ''userDefineLang.xml'' does not exist copy the entire file (''userDefineLang-!DefaultTheme.xml'') and rename it to ''userDefineLang.xml''. 
     17 
     18== Version 6.2 and Post == 
     19Notepad++ changed its Language for defining User Languages ( UDL1.0 -> UDL2.0) requiring a slightly different syntax file. 
     20Unfortunately the new UDL doesnt support folding on indent ( which the python lexer does). 
     21 
     22So the options now (pending that support in the UDL parser) are: 
     23If you want code folding in cobra - you need to augment the Python description with the additional cobra keywords 
     24 
     25Get the Style Config dialog up by  selecting '''Settings >> Style Configurator''', 
     26Select '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 
     31If you can do without code folding use a new user defined config for 'Cobra'.[[BR]] 
     32 
     33Download 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 
     38You should now have cobra syntax coloring and a new language entry for 'Cobra' at the bottom of the 'Language' Menu. 
    1739 
    1840== !FunctionList support ==