Version: 9.16.0
gui.Editor.Editor Class Reference
Inheritance diagram for gui.Editor.Editor:
Collaboration diagram for gui.Editor.Editor:

Public Member Functions

def __init__ (self, parent=None, name=None, flags=0)
 

Public Attributes

 lexer
 

Detailed Description

Definition at line 24 of file Editor.py.

Constructor & Destructor Documentation

◆ __init__()

def gui.Editor.Editor.__init__ (   self,
  parent = None,
  name = None,
  flags = 0 
)

Definition at line 25 of file Editor.py.

25 def __init__(self, parent=None, name=None, flags=0):
26 QextScintilla.__init__(self, parent, name, flags)
27 self.lexer=QextScintillaLexerPython(self)
28 self.setLexer(self.lexer)
29 self.lexer.setIndentationWarning(QextScintillaLexerPython.Inconsistent)
30 #self.lexer.setAutoIndentStyle(0)
31 self.lexer.setAutoIndentStyle(QextScintilla.AiMaintain)
32 self.setAutoIndent(1)
33 self.setBraceMatching(QextScintilla.SloppyBraceMatch)
34 self.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding))

Member Data Documentation

◆ lexer

gui.Editor.Editor.lexer

Definition at line 27 of file Editor.py.


The documentation for this class was generated from the following file: