Changeset View
Changeset View
Standalone View
Standalone View
src/lib/definition.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | |||||
58 | * | 58 | * | ||
59 | * The supported files of a Definition are defined by the list of extensions(), | 59 | * The supported files of a Definition are defined by the list of extensions(), | ||
60 | * and additionally by the list of mimeTypes(). Note, that extensions() returns | 60 | * and additionally by the list of mimeTypes(). Note, that extensions() returns | ||
61 | * wildcards that need to be matched against the filename of the file that | 61 | * wildcards that need to be matched against the filename of the file that | ||
62 | * requires highlighting. If multiple Definition%s match the file, then the one | 62 | * requires highlighting. If multiple Definition%s match the file, then the one | ||
63 | * with higher priority() wins. | 63 | * with higher priority() wins. | ||
64 | * | 64 | * | ||
65 | * @see Repository | 65 | * @see Repository | ||
66 | * @since 5.28 | ||||
66 | */ | 67 | */ | ||
67 | class KSYNTAXHIGHLIGHTING_EXPORT Definition | 68 | class KSYNTAXHIGHLIGHTING_EXPORT Definition | ||
68 | { | 69 | { | ||
69 | public: | 70 | public: | ||
70 | /** | 71 | /** | ||
71 | * Default constructor, creating an empty (invalid) Definition instance. | 72 | * Default constructor, creating an empty (invalid) Definition instance. | ||
72 | * isValid() for this instance returns @e false. | 73 | * isValid() for this instance returns @e false. | ||
73 | * | 74 | * | ||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |