如何将RTF插入到wxpython RichTextCtrl中?

时间:2023-01-23 07:17:24

Is there a way to directly insert RTF text in a RichTextCtrl, ex:without going through BeginTextColour? I would like to use pygments together with the RichTextCtrl.

有没有办法直接在RichTextCtrl中插入RTF文本,例如:不经过BeginTextColour?我想将pygments与RichTextCtrl一起使用。

1 个解决方案

#1


No. As authors admit in wxRichTextCtrl roadmap:

不可以。作者在wxRichTextCtrl路线图中承认:

This is a list of some of the features that have yet to be implemented. Help with them will be appreciated.

这是一些尚未实现的功能列表。对他们的帮助将不胜感激。

  • RTF input and output
  • RTF输入和输出

#1


No. As authors admit in wxRichTextCtrl roadmap:

不可以。作者在wxRichTextCtrl路线图中承认:

This is a list of some of the features that have yet to be implemented. Help with them will be appreciated.

这是一些尚未实现的功能列表。对他们的帮助将不胜感激。

  • RTF input and output
  • RTF输入和输出