Changeset View
Changeset View
Standalone View
Standalone View
src/backends/julia/juliakeywords.cpp
Context not available. | |||||
33 | inst->loadFromFile(); | 33 | inst->loadFromFile(); | ||
---|---|---|---|---|---|
34 | qSort(inst->m_keywords); | 34 | qSort(inst->m_keywords); | ||
35 | qSort(inst->m_variables); | 35 | qSort(inst->m_variables); | ||
36 | qSort(inst->m_plotShowingCommands); | ||||
36 | } | 37 | } | ||
37 | 38 | | |||
38 | return inst; | 39 | return inst; | ||
Context not available. | |||||
56 | const QStringRef name = xml.name(); | 57 | const QStringRef name = xml.name(); | ||
57 | 58 | | |||
58 | if (name == QLatin1String("keywords") | 59 | if (name == QLatin1String("keywords") | ||
59 | or name == QLatin1String("variables")) { | 60 | or name == QLatin1String("variables") | ||
61 | or name == QLatin1String("plot_showing_commands")) { | ||||
60 | while (xml.readNextStartElement()) { | 62 | while (xml.readNextStartElement()) { | ||
61 | Q_ASSERT( | 63 | Q_ASSERT( | ||
62 | xml.isStartElement() and xml.name() == QLatin1String("word") | 64 | xml.isStartElement() and xml.name() == QLatin1String("word") | ||
Context not available. | |||||
68 | m_keywords << text; | 70 | m_keywords << text; | ||
69 | } else if (name == QLatin1String("variables")) { | 71 | } else if (name == QLatin1String("variables")) { | ||
70 | m_variables << text; | 72 | m_variables << text; | ||
73 | } else if (name == QLatin1String("plot_showing_commands")) { | ||||
74 | m_plotShowingCommands << text; | ||||
71 | } | 75 | } | ||
72 | } | 76 | } | ||
73 | } else { | 77 | } else { | ||
Context not available. |