Hi Guys,
How do I make my custom lexer (inherited from QsciLexerCustom) indent
the next
line on a specific characters? E.g.:
if a == 10:
print("Indented") <--indented after ':'
I tried setting the 'autoIndentStyle' to 'AiOpenning' and setting the
'blockStart' method to return ":",
but that doesn't seem to be right.
I'm using Python 3.
Thanks,
Matic
<http://pyqt.sourceforge.net/Docs/QScintilla2/classQsciLexer.html#a79c27285b6033c553b3f54cb6c56b338>
_______________________________________________
QScintilla mailing list
[email protected]
https://www.riverbankcomputing.com/mailman/listinfo/qscintilla