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

Public Member Functions

def __init__
 

Public Attributes

 lexer
 

Detailed Description

Definition at line 24 of file Editor.py.

Constructor & Destructor Documentation

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

Definition at line 25 of file Editor.py.

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

Member Data Documentation

gui.Editor.Editor.lexer

Definition at line 27 of file Editor.py.


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