[QScintilla] QsciLexerCustom autoindent how-to?

Matic Kukovec kukovecmatic at hotmail.com
Tue May 3 23:00:16 BST 2016


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' but 'blockStart' is not exposed in Python.


    Thanks,

    Matic 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20160504/dbd40205/attachment.html>


More information about the QScintilla mailing list