8#ifndef KSYNTAXHIGHLIGHTING_DEFINITION_H
9#define KSYNTAXHIGHLIGHTING_DEFINITION_H
11#include "ksyntaxhighlighting_export.h"
17#include <qobjectdefs.h>
85 Q_PROPERTY(
QString name READ name)
86 Q_PROPERTY(
QString translatedName READ translatedName)
87 Q_PROPERTY(
QString section READ section)
88 Q_PROPERTY(
QString translatedSection READ translatedSection)
89 Q_PROPERTY(
QString author READ author)
90 Q_PROPERTY(
QString license READ license)
136 bool operator==(
const Definition &other)
const;
141 bool operator!=(
const Definition &other)
const;
152 bool isValid()
const;
175 QString translatedName()
const;
186 QString translatedSection()
const;
208 int priority()
const;
214 bool isHidden()
const;
265 bool isWordDelimiter(
QChar c)
const;
295 bool isWordWrapDelimiter(
QChar c)
const;
304 bool foldingEnabled()
const;
314 bool indentationBasedFoldingEnabled()
const;
383 QString singleLineCommentMarker()
const;
398 QPair<QString, QString> multiLineCommentMarker()
const;
413 friend class DefinitionData;
414 KSYNTAXHIGHLIGHTING_NO_EXPORT
explicit Definition(
const DefinitionData &defData);
415 std::shared_ptr<DefinitionData> d;
Represents a syntax definition.
Definition(Definition &&other) noexcept
Move constructor.
Definition & operator=(Definition &&other) noexcept
Move assignment operator.
Definition(const Definition &other)
Copy constructor.
Definition & operator=(const Definition &rhs)
Copy assignment operator.
Syntax highlighting engine for Kate syntax definitions.
CommentPosition
Defines the insert position when commenting code.
@ AfterWhitespace
The comment marker is inserted after leading whitespaces right befire the first non-whitespace charac...
@ StartOfLine
The comment marker is inserted at the beginning of a line at column 0.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:04 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.