[英]QScintilla Custom syntax highlighting
I need to QSCintilla highlight codes like this one: \\xfffe. 我需要像这样的QSCintilla突出显示代码:\\ xfffe。 After a hour of googling, i still found nothing on custom lexicon for QScintilla.
经过一个小时的谷歌搜索,我仍然没有发现任何关于QScintilla的自定义词典。
So how do i make mine custom lex with it? 那我怎么用它制作我的自定义lex? I already have a parser code(from old versions) here: https://github.com/OctoNezd/PokeNDSTranslator/blob/master/reader.py .
我已经有一个解析器代码(来自旧版本): https : //github.com/OctoNezd/PokeNDSTranslator/blob/master/reader.py 。 But if i use it, i can`t edit, but IDE is designed to create and edit, but now it is just a viewer
但是,如果我使用它,我不能编辑,但IDE旨在创建和编辑,但现在它只是一个查看器
I had the same problem some time ago. 前段时间我遇到了同样的问题。 QScintilla is a wonderful tool, but documentation is very scarce.
QScintilla是一个很棒的工具,但文档非常稀缺。 I worked very hard together with my friend Matic Kukovec to change that.
我和我的朋友Matic Kukovec一起努力改变了这一点。 Please take a look at our website:
请看看我们的网站:
https://qscintilla.com/ https://qscintilla.com/
It is a beginner-friendly tutorial on QScintilla and aims to explain the complete API. 这是一篇关于QScintilla的初学者友好教程,旨在解释完整的API。
Good luck! 祝好运!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.