eric7.QScintilla.TypingCompleters.CompleterToml
Module implementing a typing completer for TOML.
Global Attributes
Classes
Functions
CompleterYaml
Class implementing typing completer for TOML.
Derived from
CompleterBase
Class Attributes
Class Methods
Methods
CompleterYaml |
Constructor |
__inComment |
Private method to check, if the cursor is inside a comment. |
charAdded |
Public slot called to handle the user entering a character. |
readSettings |
Public slot called to reread the configuration parameters. |
Static Methods
CompleterYaml (Constructor)
CompleterYaml(editor, parent=None)
Constructor
- editor (QScintilla.Editor)
-
reference to the editor object
- parent (QObject)
-
reference to the parent object
CompleterYaml.__inComment
__inComment(line, col)
Private method to check, if the cursor is inside a comment.
- line (int)
-
current line
- col (int)
-
current position within line
- Return:
-
flag indicating, if the cursor is inside a comment
- Return Type:
-
bool
CompleterYaml.charAdded
charAdded(charNumber)
Public slot called to handle the user entering a character.
- charNumber (int)
-
value of the character entered
CompleterYaml.readSettings
readSettings()
Public slot called to reread the configuration parameters.
createCompleter
createCompleter(editor, parent=None)
Function to instantiate a typing completer object.
- editor (QScintilla.Editor)
-
reference to the editor object
- parent (QObject (optional))
-
reference to the parent object (defaults to None)
- Return:
-
reference to the instantiated typing completer object
- Return Type:
-
CompleterYaml