20 from qt
import QSizePolicy,QMultiLineEdit
22 from qtext
import QextScintilla,QextScintillaLexerPython
25 def __init__(self, parent=None, name=None, flags=0):
26 QextScintilla.__init__(self, parent, name, flags)
27 self.
lexerlexer=QextScintillaLexerPython(self)
28 self.setLexer(self.
lexerlexer)
29 self.
lexerlexer.setIndentationWarning(QextScintillaLexerPython.Inconsistent)
31 self.
lexerlexer.setAutoIndentStyle(QextScintilla.AiMaintain)
33 self.setBraceMatching(QextScintilla.SloppyBraceMatch)
34 self.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding))
def __init__(self, parent=None, name=None, flags=0)