src/eric7/QScintilla/TypingCompleters/CompleterRuby.py

branch
eric7
changeset 9493
aeaa6bf49831
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9492:b3659e05a156 9493:aeaa6bf49831
205 205
206 @return flag indicating, if the cursor is inside an inline document 206 @return flag indicating, if the cursor is inside an inline document
207 (boolean) 207 (boolean)
208 """ 208 """
209 return self.editor.currentStyle() == QsciLexerRuby.POD 209 return self.editor.currentStyle() == QsciLexerRuby.POD
210
211
212 def createCompleter(editor, parent=None):
213 """
214 Function to instantiate a typing completer object.
215
216 @param editor reference to the editor object
217 @type QScintilla.Editor
218 @param parent reference to the parent object (defaults to None)
219 @type QObject (optional)
220 @return reference to the instantiated typing completer object
221 @rtype CompleterRuby
222 """
223 return CompleterRuby(editor, parent=parent)

eric ide

mercurial