src/eric7/QScintilla/TypingCompleters/CompleterPython.py

branch
eric7
changeset 9493
aeaa6bf49831
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9492:b3659e05a156 9493:aeaa6bf49831
470 470
471 @return flag indicating, if the cursor is inside a triple single 471 @return flag indicating, if the cursor is inside a triple single
472 quoted string (boolean) 472 quoted string (boolean)
473 """ 473 """
474 return self.editor.currentStyle() == QsciLexerPython.TripleSingleQuotedString 474 return self.editor.currentStyle() == QsciLexerPython.TripleSingleQuotedString
475
476
477 def createCompleter(editor, parent=None):
478 """
479 Function to instantiate a typing completer object.
480
481 @param editor reference to the editor object
482 @type QScintilla.Editor
483 @param parent reference to the parent object (defaults to None)
484 @type QObject (optional)
485 @return reference to the instantiated typing completer object
486 @rtype CompleterPython
487 """
488 return CompleterPython(editor, parent=parent)

eric ide

mercurial