main Alexey wrote:1. it will affect the code-tree too.
Thus,is it possible to add a level feature for python by editing the Python.cuda-lexmap file?If so,it may be easier for me,could you please advise a simple example for this?
Thanks a lot!
first, copy file .lcf to the SynWRite's folder data/lexlib, then run SynWRite and edit the lexer. nodes must be added near the existing nodes (you will find all nodes in the UI-tab of dlg).
when done, pls rename your changed lexer to e.g. 'Python ex' (1. name of the file, 2. name inside .lcf file).
Thanks for your help!I create a python tree helper and add the level lexer for python~
However,I find the lexer of function and class which originally on the code tree is disappeared. Does that mean the tree helper will replace the original code tree rather than just add new feasures on the tree?Is it possible to let them available at same time?