Changeset View
Changeset View
Standalone View
Standalone View
src/backends/octave/octavebackend.cpp
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
47 | 47 | | |||
48 | QString OctaveBackend::version() const | 48 | QString OctaveBackend::version() const | ||
49 | { | 49 | { | ||
50 | return QLatin1String("4.0 and 4.2"); | 50 | return QLatin1String("4.0 and 4.2"); | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | Cantor::Backend::Capabilities OctaveBackend::capabilities() const | 53 | Cantor::Backend::Capabilities OctaveBackend::capabilities() const | ||
54 | { | 54 | { | ||
55 | return SyntaxHighlighting | Completion | SyntaxHelp | VariableManagement; | 55 | Cantor::Backend::Capabilities cap= | ||
56 | SyntaxHighlighting| | ||||
57 | Completion | | ||||
58 | SyntaxHelp; | ||||
59 | if (OctaveSettings::self()->variableManagement()) | ||||
60 | cap |= VariableManagement; | ||||
61 | return cap; | ||||
56 | } | 62 | } | ||
57 | 63 | | |||
58 | Cantor::Session* OctaveBackend::createSession() | 64 | Cantor::Session* OctaveBackend::createSession() | ||
59 | { | 65 | { | ||
60 | return new OctaveSession(this); | 66 | return new OctaveSession(this); | ||
61 | } | 67 | } | ||
62 | 68 | | |||
63 | bool OctaveBackend::requirementsFullfilled() const | 69 | bool OctaveBackend::requirementsFullfilled() const | ||
Show All 35 Lines |