Search code examples
pythonpyqtprogress-4glqscintilla

PyQT Qscintilla Progress 4gl


I have been messing around with creating my own Progress 4GL Editor recently by implementing QsciLexerCustom in my python application. But while browsing through the Qscintilla Source i noticed they already have a progress 4gl lexer in QScintilla/lexers/LexProgress.cpp but while reading http://www.riverbankcomputing.com/static/Docs/QScintilla2/annotated.html they dont specify any QsciLexerProgress class or any means of accessing this lexer, that i can see.

Does anyone know how to do this?

Any help would be much appreciated.


Solution

  • QScintilla is apparently a port of Scintilla to use the Qt GUI framework. It probably requires a bit of work to port a lexer, so they probably just didn't spend the time porting the lexers for unpopular languages.

    In other words, I think the .cpp file you found is just a remnant from Scintilla that never got ported over to QScintilla but is still in their code base.