KSyntaxHighlighting
7 #ifndef KSYNTAXHIGHLIGHTING_HIGHLIGHTING_DATA_P_H
8 #define KSYNTAXHIGHLIGHTING_HIGHLIGHTING_DATA_P_H
11 #include <QStringList>
31 struct ContextSwitch {
32 ContextSwitch() =
default;
47 int m_defNameIndex = -1;
52 enum class Type : quint8 {
88 struct WordDelimiters {
94 WordDelimiters wordDelimiters;
98 WordDelimiters wordDelimiters;
102 WordDelimiters wordDelimiters;
105 struct IncludeRules {
107 bool includeAttribute;
111 WordDelimiters wordDelimiters;
116 WordDelimiters wordDelimiters;
118 bool hasCaseSensitivityOverride;
121 struct LineContinue {
137 struct StringDetect {
145 WordDelimiters wordDelimiters;
151 Detect2Chars detect2Chars;
152 DetectChar detectChar;
154 IncludeRules includeRules;
157 LineContinue lineContinue;
158 RangeDetect rangeDetect;
160 StringDetect stringDetect;
161 WordDetect wordDetect;
180 bool firstNonSpace =
false;
181 bool lookAhead =
false;
184 Type type = Type::Unknown;
189 Rule(Rule &&other) noexcept;
190 Rule(
const Rule &other);
194 Rule &operator=(Rule &&other) =
delete;
195 Rule &operator=(
const Rule &other) =
delete;
209 std::vector<Rule> rules;
211 bool noIndentationBasedFolding =
false;
Represents the raw xml data of a context and its rules.
QString attribute
attribute name, to lookup our format
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 04:01:51 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.