eric4.QScintilla.TypingCompleters.CompleterPython

Module implementing a typing completer for Python.

Classes

CompleterPython Class implementing typing completer for Python.

Functions

None


CompleterPython

Class implementing typing completer for Python.

Derived from

CompleterBase

Methods

CompleterPython Constructor
__dedentToIf Private method to dedent the last line to the last if statement with less indentation.
__isClassMethod Private method to check, if the user is defining a class method.
charAdded Public slot called to handle the user entering a character.
readSettings Public slot called to reread the configuration parameters.

CompleterPython (Constructor)

CompleterPython(editor, parent = None)

Constructor

editor
reference to the editor object (QScintilla.Editor)
parent
reference to the parent object (QObject)

CompleterPython.__dedentToIf

__dedentToIf()

Private method to dedent the last line to the last if statement with less indentation.

CompleterPython.__isClassMethod

__isClassMethod()

Private method to check, if the user is defining a class method.

Returns:
flag indicating the definition of a class method (boolean)

CompleterPython.charAdded

charAdded(charNumber)

Public slot called to handle the user entering a character.

charNumber
value of the character entered (integer)

CompleterPython.readSettings

readSettings()

Public slot called to reread the configuration parameters.

Up