Changeset View
Changeset View
Standalone View
Standalone View
src/backends/julia/juliasession.cpp
Context not available. | |||||
27 | #include <QStandardPaths> | 27 | #include <QStandardPaths> | ||
---|---|---|---|---|---|
28 | 28 | | |||
29 | #include "juliaexpression.h" | 29 | #include "juliaexpression.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. | |||||
131 | return nullptr; | 132 | return nullptr; | ||
132 | } | 133 | } | ||
133 | 134 | | |||
135 | QSyntaxHighlighter *JuliaSession::syntaxHighlighter(QObject* parent) | ||||
136 | { | ||||
137 | JuliaHighlighter *highlighter = new JuliaHighlighter(parent); | ||||
138 | return highlighter; | ||||
139 | } | ||||
140 | | ||||
134 | void JuliaSession::runJuliaCommand(const QString &command) const | 141 | void JuliaSession::runJuliaCommand(const QString &command) const | ||
135 | { | 142 | { | ||
136 | m_interface->call(QLatin1String("runJuliaCommand"), command); | 143 | m_interface->call(QLatin1String("runJuliaCommand"), command); | ||
Context not available. |