Plugin_Refactoring_Rope.RefactoringRope.CodeAssist

Module implementing the autocompletion interface to rope.

Classes

CodeAssist Class implementing the autocompletion interface to rope.

Functions

None


CodeAssist

Class implementing the autocompletion interface to rope.

Derived from

QObject

Methods

CodeAssist Constructor
getCallTips Public method to calculate calltips.
getCompletions Public method to calculate the possible completions.

CodeAssist (Constructor)

CodeAssist(refactoring, editor, plugin, parent = None)

Constructor

refactoring
reference to the rope refactoring object (Refactoring)
editor
reference to the editor object, that called this method QScintilla.Editor)
plugin
reference to the plugin object
parent
parent (QObject)

CodeAssist.getCallTips

getCallTips(pos)

Public method to calculate calltips.

pos
position in the text for the calltip (integer)
Returns:
list of possible calltips (list of strings)

CodeAssist.getCompletions

getCompletions()

Public method to calculate the possible completions.

Returns:
list of proposals (QStringList)
Up