summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/CppSyntaxHighlighter.h
blob: 0f77c88cd7e1351869ae608a2429a0a48f05c6e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <LibGUI/SyntaxHighlighter.h>

namespace GUI {

class CppSyntaxHighlighter final : public SyntaxHighlighter {
public:
    CppSyntaxHighlighter() {}
    virtual ~CppSyntaxHighlighter() override;

    virtual SyntaxLanguage language() const override { return SyntaxLanguage::Cpp; }
    virtual void rehighlight() override;
    virtual void highlight_matching_token_pair() override;
};

}