i know , i can config leo/modes/python.py make some code as Syntax coloring
# Keywords dict for python_main ruleset.
python_main_keywords_dict = {
    "self": "keyword4",
    "format": "keyword4",
    "LOG": "keyword4",

...

the LOG is my re-define logging obj.
but now , i need make all GLOBAL var bind one Syntax coloring

such as:

XCFG.SMCeTS

the XCFG means this is one global obj. import from far away,
so the better action is bind alert color for it

how to ?
i guess python_main_keywords_dict can support regular expression?


-- 
life is pathetic, go Pythonic! 人生苦短, Python当歌!
俺: http://zoomquiet.io
授: http://creativecommons.org/licenses/by-sa/2.5/cn/
怒: 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization learning!

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to