KSyntaxHighlighting
definition.h
QStringList keywordList(const QString &name) const
Returns the list of keywords for the keyword list name.
Definition definition.cpp:197
QString singleLineCommentMarker() const
Returns the marker that starts a single line comment.
Definition definition.cpp:261
bool isValid() const
Checks whether this object refers to a valid syntax definition.
Definition definition.cpp:71
QStringList foldingIgnoreList() const
If indentationBasedFoldingEnabled() returns true, this function returns a list of regular expressions...
Definition definition.cpp:185
QString filePath() const
Returns the full path to the definition XML file containing the syntax definition.
Definition definition.cpp:76
Definition & operator=(Definition &&other) noexcept
Move assignment operator.
CommentPosition singleLineCommentPosition() const
Returns the insert position of the comment marker for sinle line comments.
Definition definition.cpp:267
bool isHidden() const
Returns true if this is an internal definition that should not be displayed to the user.
Definition definition.cpp:133
bool indentationBasedFoldingEnabled() const
Returns whether indentation-based folding is enabled.
Definition definition.cpp:179
QStringList alternativeNames() const
Alternate names the syntax can be referred to by.
Definition definition.cpp:86
Definition & operator=(const Definition &rhs)
Copy assignment operator.
Definition()
Default constructor, creating an empty (invalid) Definition instance.
Definition definition.cpp:44
QList< QString > mimeTypes() const
Mime types associated with this syntax definition.
Definition definition.cpp:113
bool operator!=(const Definition &other) const
Checks two definitions for inequality.
Definition definition.cpp:66
bool foldingEnabled() const
Returns whether the highlighting supports code folding.
Definition definition.cpp:170
bool setKeywordList(const QString &name, const QStringList &content)
Set the contents of the keyword list name to content.
Definition definition.cpp:204
bool operator==(const Definition &other) const
Checks two definitions for equality.
Definition definition.cpp:61
QPair< QString, QString > multiLineCommentMarker() const
Returns the markers that start and end multiline comments.
Definition definition.cpp:273
QList< QPair< QChar, QString > > characterEncodings() const
Returns a list of character/string mapping that can be used for spell checking.
Definition definition.cpp:279
bool isWordWrapDelimiter(QChar c) const
Returns whether it is safe to break a line at before the character .
Definition definition.cpp:164
bool isWordDelimiter(QChar c) const
Returns whether the character c is a word delimiter.
Definition definition.cpp:158
QList< QString > extensions() const
File extensions associated with this syntax definition.
Definition definition.cpp:118
QList< Format > formats() const
Returns a list of all Format items used by this definition.
Definition definition.cpp:216
QList< Definition > includedDefinitions() const
Returns a list of Definitions that are referenced with the IncludeRules rule.
Definition definition.cpp:229
Describes the format to be used for a specific text fragment.
Definition format.h:28
Syntax highlighting engine for Kate syntax definitions.
Definition abstracthighlighter.h:17
@ AfterWhitespace
The comment marker is inserted after leading whitespaces right befire the first non-whitespace charac...
Definition definition.h:37
@ StartOfLine
The comment marker is inserted at the beginning of a line at column 0.
Definition definition.h:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:02 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.