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) |