This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/115944/

addons/kate/symbolviewer/ecma_parser.cpp (Diff revision 1)
void KatePluginSymbolViewerView::parseEcmaSymbols(void)
231
      if ((current == 'i') && (stripped.indexOf("id:", c) == c)) {
if (stripped.midRef(c, 3) == QLatin1String("id:"))

addons/kate/symbolviewer/ecma_parser.cpp (Diff revision 1)
void KatePluginSymbolViewerView::parseEcmaSymbols(void)
233
        stripped = stripped.mid(3);
stripped.remove(0, 3)

- Milian Wolff


On February 21st, 2014, 9:07 p.m. UTC, Kåre Särs wrote:

Review request for Kate.
By Kåre Särs.

Updated Feb. 21, 2014, 9:07 p.m.

Repository: kate

Description

Add QML and QML-"id:" support to the ecma_parser of the SymbolViewer plugin.

This patch will search for a line containing "id:" and add the name as a "class"

Testing

Opened a couple of QML files

Diffs

  • addons/kate/symbolviewer/ecma_parser.cpp (2b96b0d)
  • addons/kate/symbolviewer/plugin_katesymbolviewer.cpp (701f175)

View Diff