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