开发者

Pygments in wxPython?

开发者 https://www.devze.com 2023-01-10 09:27 出处:网络
Is it at all possible to use Pygments inside of wxPython to provide syntax highlight开发者_开发问答ing?Positive. While pygments is originally aimed at CSS output, you can define a pygments formatter t

Is it at all possible to use Pygments inside of wxPython to provide syntax highlight开发者_开发问答ing?


Positive. While pygments is originally aimed at CSS output, you can define a pygments formatter to define styles for a wx.StyledTextCtrl for example. I happen to have done that just recently:

http://relet.net/frog/archives/170

0

精彩评论

暂无评论...
验证码 换一张
取 消