hi,
i want to add syntax highlighting for another language. is it possible to write a plugin for this? maybe someone can direct me to the code location i should look at.
thanks
martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would suggest looking at the setupPrefs function in drText.py, and drKeywords.py, as well as the STC Styling documentation (www.wxwidgets.org -> Documentation -> Styled Text Control -> Styling).
It tells you which languages the stc component supports, which have issues, and how to set it up.
Cheers,
Dan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
i want to add syntax highlighting for another language. is it possible to write a plugin for this? maybe someone can direct me to the code location i should look at.
thanks
martin
That would be rather cool (what language?).
I would suggest looking at the setupPrefs function in drText.py, and drKeywords.py, as well as the STC Styling documentation (www.wxwidgets.org -> Documentation -> Styled Text Control -> Styling).
It tells you which languages the stc component supports, which have issues, and how to set it up.
Cheers,
Dan