aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/syntax-highlighting/src/lib/repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/3rdparty/syntax-highlighting/src/lib/repository.h')
-rw-r--r--src/libs/3rdparty/syntax-highlighting/src/lib/repository.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libs/3rdparty/syntax-highlighting/src/lib/repository.h b/src/libs/3rdparty/syntax-highlighting/src/lib/repository.h
index e4e9bed69f..2bc66965cf 100644
--- a/src/libs/3rdparty/syntax-highlighting/src/lib/repository.h
+++ b/src/libs/3rdparty/syntax-highlighting/src/lib/repository.h
@@ -167,9 +167,11 @@ public:
Definition definitionForFileName(const QString &fileName) const;
/**
- * Returns all Definition%s for the file named @p fileName.
+ * Returns all Definition%s for the file named @p fileName sorted by priority.
* The match is performed based on the \e extensions and @e mimetype of
* the definition files.
+ *
+ * @since 5.56
*/
QVector<Definition> definitionsForFileName(const QString &fileName) const;
@@ -184,7 +186,9 @@ public:
Definition definitionForMimeType(const QString &mimeType) const;
/**
- * Returns all Definition%s to the type named @p mimeType
+ * Returns all Definition%s to the type named @p mimeType sorted by priority
+ *
+ * @since 5.56
*/
QVector<Definition> definitionsForMimeType(const QString &mimeType) const;