KTextEditor
9#ifndef KATE_SYNTAX_MANAGER_H
10#define KATE_SYNTAX_MANAGER_H
12#include <KSyntaxHighlighting/Definition>
13#include <KSyntaxHighlighting/Repository>
14#include <KSyntaxHighlighting/Theme>
19#include <unordered_map>
21class KateHighlighting;
23class KateHlManager :
public QObject
28 KateHlManager() =
default;
30 static KateHlManager *self();
32 KateHighlighting *getHl(
int n);
33 int nameFind(
const QString &name)
const;
48 QList<KSyntaxHighlighting::Definition> modeList()
const
50 return m_repository.definitions();
57 KSyntaxHighlighting::Repository &repository()
66 const KSyntaxHighlighting::Repository &repository()
const
75 QList<KSyntaxHighlighting::Theme> sortedThemes()
const;
81 KSyntaxHighlighting::Repository m_repository;
86 std::unordered_map<QString, std::unique_ptr<KateHighlighting>> m_hlDict;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.