Changeset View
Changeset View
Standalone View
Standalone View
src/backends/octave/octavehighlighter.h
Show All 35 Lines | 35 | public: | |||
---|---|---|---|---|---|
36 | OctaveHighlighter(QObject* parent, Cantor::Session* session); | 36 | OctaveHighlighter(QObject* parent, Cantor::Session* session); | ||
37 | ~OctaveHighlighter() override = default; | 37 | ~OctaveHighlighter() override = default; | ||
38 | 38 | | |||
39 | public Q_SLOTS: | 39 | public Q_SLOTS: | ||
40 | void updateVariables(); | 40 | void updateVariables(); | ||
41 | void sessionStatusChanged(Cantor::Session::Status status); | 41 | void sessionStatusChanged(Cantor::Session::Status status); | ||
42 | 42 | | |||
43 | private: | 43 | private: | ||
44 | Cantor::DefaultHighlighter::Section findNextCodeSection(const QString& text, Cantor::DefaultHighlighter::Section previous) override; | ||||
45 | | ||||
46 | private: | ||||
44 | Cantor::Session* m_session; | 47 | Cantor::Session* m_session; | ||
45 | QStringList m_variables; | 48 | QStringList m_variables; | ||
46 | }; | 49 | }; | ||
47 | 50 | | |||
48 | #endif // OCTAVEHIGHLIGHTER_H | 51 | #endif // OCTAVEHIGHLIGHTER_H |