src/eric7/QScintilla/TypingCompleters/CompleterYaml.py

branch
eric7
changeset 9493
aeaa6bf49831
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9492:b3659e05a156 9493:aeaa6bf49831
159 while col >= 0: 159 while col >= 0:
160 if txt[col] == "#": 160 if txt[col] == "#":
161 return True 161 return True
162 col -= 1 162 col -= 1
163 return False 163 return False
164
165
166 def createCompleter(editor, parent=None):
167 """
168 Function to instantiate a typing completer object.
169
170 @param editor reference to the editor object
171 @type QScintilla.Editor
172 @param parent reference to the parent object (defaults to None)
173 @type QObject (optional)
174 @return reference to the instantiated typing completer object
175 @rtype CompleterYaml
176 """
177 return CompleterYaml(editor, parent=parent)

eric ide

mercurial