RedPanda-CPP/RedPandaIDE/HighlighterManager.h

17 lines
344 B
C
Raw Normal View History

2021-05-26 00:04:20 +08:00
#ifndef HIGHLIGHTERMANAGER_H
#define HIGHLIGHTERMANAGER_H
#include "qsynedit/highlighter/base.h"
class HighlighterManager
{
public:
HighlighterManager();
2021-06-07 11:02:03 +08:00
PSynHighlighter getHighlighter(const QString& filename);
PSynHighlighter getCppHighlighter();
2021-05-26 00:04:20 +08:00
};
extern HighlighterManager highlighterManager;
#endif // HIGHLIGHTERMANAGER_H