Changeset View
Changeset View
Standalone View
Standalone View
src/backends/python/pythoncompletionobject.cpp
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 86 | { | |||
---|---|---|---|---|---|
94 | extractIdentifierType(m_expression->status()); | 94 | extractIdentifierType(m_expression->status()); | ||
95 | } | 95 | } | ||
96 | } | 96 | } | ||
97 | 97 | | |||
98 | void PythonCompletionObject::extractCompletions(Cantor::Expression::Status status) | 98 | void PythonCompletionObject::extractCompletions(Cantor::Expression::Status status) | ||
99 | { | 99 | { | ||
100 | if (!m_expression) | 100 | if (!m_expression) | ||
101 | return; | 101 | return; | ||
102 | | ||||
102 | switch(status) | 103 | switch(status) | ||
103 | { | 104 | { | ||
104 | case Cantor::Expression::Error: | 105 | case Cantor::Expression::Error: | ||
105 | qDebug() << "Error with PythonCompletionObject" << (m_expression->result() ? m_expression->result()->toHtml() : QLatin1String("extractCompletions")); | 106 | qDebug() << "Error with PythonCompletionObject" << (m_expression->result() ? m_expression->result()->toHtml() : QLatin1String("extractCompletions")); | ||
106 | break; | 107 | break; | ||
107 | 108 | | |||
108 | case Cantor::Expression::Interrupted: | 109 | case Cantor::Expression::Interrupted: | ||
109 | qDebug() << "PythonCompletionObject was interrupted"; | 110 | qDebug() << "PythonCompletionObject was interrupted"; | ||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |