简体   繁体   English

PySide中的QScintilla

[英]QScintilla in PySide

I like PySide, and have used it for a while now, but in the program I am working on at the moment, I need an advanced code editor. 我喜欢PySide,并且已经使用了一段时间,但是在我正在进行的程序中,我需要一个高级代码编辑器。

I have found QScintilla , but that is for PyQt. 我找到了QScintilla ,但那是PyQt。 Is that compatible with PySide and if so, how would I go about using it? 这是否与PySide兼容,如果是这样,我将如何使用它?
I have also looked at PySide-QScintilla , but all that is is a couple of .h files and an __init.py__ and the __init__.py doesn't even have anything relating to the .h files! 我也查看过PySide-QScintilla ,但所有这些都是几个.h文件和一个__init.py____init__.py甚至没有任何与.h文件有关的内容! Has anyone used that? 有人用过吗? How do you include it in a program? 你如何将它包含在一个程序中?
I also saw qutepart but it seems to be mush too basic for what I need. 我也看到了qutepart,但它似乎对于我需要的东西来说太基本了。

I would accept solutions other than QScintilla, but they have to have: 我会接受QScintilla以外的解决方案,但他们必须:

  • Error Highlighting 错误突出显示
  • Syntax Highlighting 语法突出显示
  • Code Suggestion (a drop down menu while typing) 代码建议(输入时的下拉菜单)
  • Line Numbers 行号
  • Custom Colors 自定义颜色
  • Must be at least GPL (LGPL would be nice) 必须至少是GPL(LGPL会很好)

Any other features are great. 任何其他功能都很棒。

Doing a quick Google search brought up the following: 快速谷歌搜索提出了以下内容:

I suspect the first one is a direct port, whereas the second is some kind of Scintilla wrapper instead of a QScintilla port. 我怀疑第一个是直接端口,而第二个是某种Scintilla包装而不是QScintilla端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM