Changeset View
Changeset View
Standalone View
Standalone View
src/backends/julia/juliasession.cpp
Context not available. | |||||
27 | 27 | | |||
---|---|---|---|---|---|
28 | #include "juliaexpression.h" | 28 | #include "juliaexpression.h" | ||
29 | #include "settings.h" | 29 | #include "settings.h" | ||
30 | #include "juliahighlighter.h" | ||||
30 | 31 | | |||
31 | JuliaSession::JuliaSession(Cantor::Backend *backend) | 32 | JuliaSession::JuliaSession(Cantor::Backend *backend) | ||
32 | : Session(backend) | 33 | : Session(backend) | ||
Context not available. | |||||
135 | return nullptr; | 136 | return nullptr; | ||
136 | } | 137 | } | ||
137 | 138 | | |||
139 | QSyntaxHighlighter *JuliaSession::syntaxHighlighter(QObject *parent) | ||||
140 | { | ||||
141 | JuliaHighlighter *highlighter = new JuliaHighlighter(parent); | ||||
142 | return highlighter; | ||||
143 | } | ||||
144 | | ||||
138 | void JuliaSession::runJuliaCommand(const QString &command) const | 145 | void JuliaSession::runJuliaCommand(const QString &command) const | ||
139 | { | 146 | { | ||
140 | m_interface->call(QLatin1String("runJuliaCommand"), command); | 147 | m_interface->call(QLatin1String("runJuliaCommand"), command); | ||
Context not available. |