Changeset View
Changeset View
Standalone View
Standalone View
src/backends/maxima/maximahighlighter.h
Show All 29 Lines | 28 | { | |||
---|---|---|---|---|---|
30 | public: | 30 | public: | ||
31 | MaximaHighlighter( QObject* parent, MaximaSession* session); | 31 | MaximaHighlighter( QObject* parent, MaximaSession* session); | ||
32 | ~MaximaHighlighter() override = default; | 32 | ~MaximaHighlighter() override = default; | ||
33 | 33 | | |||
34 | protected: | 34 | protected: | ||
35 | void highlightBlock(const QString &text) override; | 35 | void highlightBlock(const QString &text) override; | ||
36 | 36 | | |||
37 | QString nonSeparatingCharacters() const override; | 37 | QString nonSeparatingCharacters() const override; | ||
38 | private Q_SLOTS: | | |||
39 | void addUserVariables(const QStringList variables); | | |||
40 | void removeUserVariables(const QStringList variables); | | |||
41 | | ||||
42 | void addUserFunctions(const QStringList functions); | | |||
43 | void removeUserFunctions(const QStringList functions); | | |||
44 | 38 | | |||
45 | private: | 39 | private: | ||
46 | QRegExp commentStartExpression; | 40 | QRegExp commentStartExpression; | ||
47 | QRegExp commentEndExpression; | 41 | QRegExp commentEndExpression; | ||
48 | }; | 42 | }; | ||
49 | 43 | | |||
50 | #endif /* _MAXIMAHIGHLIGHTER_H */ | 44 | #endif /* _MAXIMAHIGHLIGHTER_H */ |