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. | |||||
61 | const QStringRef name = xml.name(); | 62 | const QStringRef name = xml.name(); | ||
62 | 63 | | |||
63 | if (name == QLatin1String("keywords") | 64 | if (name == QLatin1String("keywords") | ||
64 | or name == QLatin1String("variables")) { | 65 | or name == QLatin1String("variables") | ||
66 | or name == QLatin1String("plot_showing_commands")) { | ||||
65 | while (xml.readNextStartElement()) { | 67 | while (xml.readNextStartElement()) { | ||
66 | Q_ASSERT( | 68 | Q_ASSERT( | ||
67 | xml.isStartElement() and xml.name() == QLatin1String("word") | 69 | xml.isStartElement() and xml.name() == QLatin1String("word") | ||
Context not available. | |||||
73 | m_keywords << text; | 75 | m_keywords << text; | ||
74 | } else if (name == QLatin1String("variables")) { | 76 | } else if (name == QLatin1String("variables")) { | ||
75 | m_variables << text; | 77 | m_variables << text; | ||
78 | } else if (name == QLatin1String("plot_showing_commands")) { | ||||
79 | m_plotShowingCommands << text; | ||||
76 | } | 80 | } | ||
77 | } | 81 | } | ||
78 | } else { | 82 | } else { | ||
Context not available. |