[img]http://dl2.iteye.com/upload/attachment/0093/3344/b8c458fc-0aee-3dd4-81d1-23962ee02ef5.png[/img]
A syntaxhighlighter I wrote for myself. If you want to know how I did it. You can check out this [url]http://schi.iteye.com/blog/1934553[/url]
features:
[list]
[*]support both mel and python keywords
[*]Maya API
[*]Qt API
[*]mel functions and global procedures [b][disabled][/b]
[*]highlight warning message background in yellow
[*]highlight error message background in red [b][only support mel errors, python error will be added][/b]
[/list]
The mel function highlight was disabled because too slow to highlight all functions and global procedures.
[url]https://github.com/mackst/myRandomStuff/blob/master/cmdReporterHighlighter.py[/url]
A syntaxhighlighter I wrote for myself. If you want to know how I did it. You can check out this [url]http://schi.iteye.com/blog/1934553[/url]
features:
[list]
[*]support both mel and python keywords
[*]Maya API
[*]Qt API
[*]mel functions and global procedures [b][disabled][/b]
[*]highlight warning message background in yellow
[*]highlight error message background in red [b][only support mel errors, python error will be added][/b]
[/list]
The mel function highlight was disabled because too slow to highlight all functions and global procedures.
[url]https://github.com/mackst/myRandomStuff/blob/master/cmdReporterHighlighter.py[/url]

本文介绍了一个自定义的语法高亮器,支持Mel和Python关键字高亮,并针对Maya API、Qt API进行了优化。此外,还实现了警告消息背景黄色高亮及错误消息背景红色高亮等功能。

814

被折叠的 条评论
为什么被折叠?



