QScintilla/Lexers/LexerPython.py

changeset 826
2e3e2055e715
parent 802
e8882d16384c
child 945
8cd4d08fa9f6
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
825:9cdec3c5bc07 826:2e3e2055e715
49 else: 49 else:
50 self.setIndentationWarning(QsciLexerPython.NoWarning) 50 self.setIndentationWarning(QsciLexerPython.NoWarning)
51 self.setFoldComments(Preferences.getEditor("PythonFoldComment")) 51 self.setFoldComments(Preferences.getEditor("PythonFoldComment"))
52 self.setFoldQuotes(Preferences.getEditor("PythonFoldString")) 52 self.setFoldQuotes(Preferences.getEditor("PythonFoldString"))
53 if not Preferences.getEditor("PythonAutoIndent"): 53 if not Preferences.getEditor("PythonAutoIndent"):
54 self.setAutoIndentStyle(QsciScintilla.AiMaintain) 54 self.setAutoIndentStyle(QsciScintilla.AiMaintain)
55 try: 55 try:
56 self.setV2UnicodeAllowed(Preferences.getEditor("PythonAllowV2Unicode")) 56 self.setV2UnicodeAllowed(Preferences.getEditor("PythonAllowV2Unicode"))
57 self.setV3BinaryOctalAllowed(Preferences.getEditor("PythonAllowV3Binary")) 57 self.setV3BinaryOctalAllowed(Preferences.getEditor("PythonAllowV3Binary"))
58 self.setV3BytesAllowed(Preferences.getEditor("PythonAllowV3Bytes")) 58 self.setV3BytesAllowed(Preferences.getEditor("PythonAllowV3Bytes"))
59 except AttributeError: 59 except AttributeError:

eric ide

mercurial