开发者

Pygments in wxPython?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜