[QScintilla] setAutoIndentStyle doesn't work
kristof.mulier at telenet.be
kristof.mulier at telenet.be
Sun May 14 11:26:21 BST 2017
Dear QScintilla users,
Automatic indentation is a very nice feature offered by QScintilla. When inserting a new line, automatic indentation pushes the cursor to the same indentation level as the previous one. You have two options to switch on this feature: (1) call the function setAutoIndent(True) on the QsciScintilla editor or (2) call the function setAutoIndentStyle(..) on the lexer.
The first option works. The second doesn't. For full details on the problem, please take a look at the following StackOverflow question:
http://stackoverflow.com/questions/43962669/setautoindentstyle-on-the-qscintilla-lexer-doesnt-work
Do you know the answer?
Kind greetings,
Kristof Mulier
---------------------------------------------
PS: Our website https://qscintilla.com/ has been growing the past few weeks. Please take a quick look, and give us some feedback ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20170514/6a7259fd/attachment.html>
More information about the QScintilla
mailing list