Changeset View
Changeset View
Standalone View
Standalone View
src/syntax/katehighlight.h
Show First 20 Lines • Show All 255 Lines • ▼ Show 20 Line(s) | 94 | public: | |||
---|---|---|---|---|---|
256 | /** | 256 | /** | ||
257 | * Returns a list of names of embedded modes. | 257 | * Returns a list of names of embedded modes. | ||
258 | */ | 258 | */ | ||
259 | QStringList getEmbeddedHighlightingModes() const; | 259 | QStringList getEmbeddedHighlightingModes() const; | ||
260 | 260 | | |||
261 | private: | 261 | private: | ||
262 | /** | 262 | /** | ||
263 | * create list of attributes from internal formats with properties as defined in syntax file | 263 | * create list of attributes from internal formats with properties as defined in syntax file | ||
264 | * @param schema The id of the chosen schema | ||||
264 | * @return attributes list with attributes as defined in syntax file | 265 | * @return attributes list with attributes as defined in syntax file | ||
265 | */ | 266 | */ | ||
266 | QVector<KTextEditor::Attribute::Ptr> attributesForDefinition(); | 267 | QVector<KTextEditor::Attribute::Ptr> attributesForDefinition(const QString &schema); | ||
267 | 268 | | |||
268 | int sanitizeFormatIndex(int attrib) const; | 269 | int sanitizeFormatIndex(int attrib) const; | ||
269 | 270 | | |||
270 | private: | 271 | private: | ||
271 | QStringList embeddedHighlightingModes; | 272 | QStringList embeddedHighlightingModes; | ||
272 | 273 | | |||
273 | bool noHl = true; | 274 | bool noHl = true; | ||
274 | bool folding = false; | 275 | bool folding = false; | ||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |