From 8d06c206bbd8340378b2f442339b660bbe409cc4 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Thu, 8 Oct 2026 20:03:17 +0200 Subject: [PATCH] rename: drop the last Ollie names; command pack -> DeftCommands The transient core classes were already deleted in the split, but the shared command library and a scattering of comments/ids still carried the old project name. Finish de-Ollie-ing the tree so nothing but 'Deft' remains: - src/commands: OllieCommands -> DeftCommands; files olliecommands.{h,cpp} -> deftcommands.{h,cpp}; lib target olliecommands_lib -> deftcommands_lib; tests test_olliecommands_live/test_ollieregistration -> test_deftcommands_live/ test_deftregistration (ctest names deftcommands_live/deftregistration). palette plugin updated to match (include, fwd-decl, member type, ctor call, runVerb call, CMake link). - Config paths: radial's user config moves olliepalette/radials.json -> deft/radials.json, matching the switch plugin's earlier olliepalette/ -> deft/ move; comments updated. - Stale ollie: id prefixes in the project benchmark (ollie:file:/ollie:sym: -> deft:file:/deft:sym:) and sample paths in test_palettemodel referencing the deleted src/plugin/ollieplugin.cpp. - Comments still naming OllieView/OlliePlugin corrected to the real post-split classes (SamView, PlumbView) or to deft paths. - README layout refreshed (deftcommands.{h,cpp}). PLAN.md keeps the Ollie names inside its pre-split historical prose, as flagged by the architecture note at its top. Full clean rebuild + 18/18 ctest green; palette and radial reinstalled. --- README.md | 2 +- src/commands/CMakeLists.txt | 26 +++++++++---------- .../{olliecommands.cpp => deftcommands.cpp} | 14 +++++----- .../{olliecommands.h => deftcommands.h} | 10 +++---- ...ds_live.cpp => test_deftcommands_live.cpp} | 22 ++++++++-------- ...stration.cpp => test_deftregistration.cpp} | 12 ++++----- src/commands/texttransforms.h | 4 +-- src/palette/CMakeLists.txt | 4 +-- src/palette/paletteplugin.cpp | 8 +++--- src/palette/paletteplugin.h | 4 +-- src/palette/test_palettemodel.cpp | 4 +-- src/plumb/plumber.h | 2 +- src/project/bench_switcher.cpp | 8 +++--- src/project/symbolindex.h | 2 +- src/radial/radialconfig.cpp | 2 +- src/radial/radialconfig.h | 2 +- src/radial/radialplugin.cpp | 2 +- src/sam/sampanel.h | 2 +- src/switch/switchplugin.cpp | 2 +- 19 files changed, 66 insertions(+), 66 deletions(-) rename src/commands/{olliecommands.cpp => deftcommands.cpp} (93%) rename src/commands/{olliecommands.h => deftcommands.h} (86%) rename src/commands/{test_olliecommands_live.cpp => test_deftcommands_live.cpp} (78%) rename src/commands/{test_ollieregistration.cpp => test_deftregistration.cpp} (88%) diff --git a/README.md b/README.md index c996917..c814a27 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ src/ test_*.cpp QTest suites commands/ texttransforms.{h,cpp} pure text transforms (headless) - olliecommands.{h,cpp} ":"-verb KTextEditor::Command pack (used by palette) + deftcommands.{h,cpp} ":"-verb KTextEditor::Command pack (used by palette) test_*.cpp QTest suites project/ projectindex / symbolindex / projectindexer / kateprojectbridge diff --git a/src/commands/CMakeLists.txt b/src/commands/CMakeLists.txt index 06c36e1..626fcdd 100644 --- a/src/commands/CMakeLists.txt +++ b/src/commands/CMakeLists.txt @@ -1,28 +1,28 @@ -add_library(olliecommands_lib STATIC +add_library(deftcommands_lib STATIC texttransforms.cpp texttransforms.h - olliecommands.cpp - olliecommands.h + deftcommands.cpp + deftcommands.h ) -target_link_libraries(olliecommands_lib PUBLIC +target_link_libraries(deftcommands_lib PUBLIC Qt6::Core KF6::TextEditor KF6::I18n ) -target_include_directories(olliecommands_lib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) +target_include_directories(deftcommands_lib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) if(Qt6Test_FOUND) add_executable(test_texttransforms test_texttransforms.cpp texttransforms.cpp texttransforms.h) target_link_libraries(test_texttransforms PRIVATE Qt6::Core Qt6::Test) add_test(NAME texttransforms COMMAND test_texttransforms) - add_executable(test_olliecommands_live test_olliecommands_live.cpp) - target_link_libraries(test_olliecommands_live PRIVATE - olliecommands_lib Qt6::Test KF6::TextEditor) - add_test(NAME olliecommands_live COMMAND test_olliecommands_live) + add_executable(test_deftcommands_live test_deftcommands_live.cpp) + target_link_libraries(test_deftcommands_live PRIVATE + deftcommands_lib Qt6::Test KF6::TextEditor) + add_test(NAME deftcommands_live COMMAND test_deftcommands_live) - add_executable(test_ollieregistration test_ollieregistration.cpp) - target_link_libraries(test_ollieregistration PRIVATE - olliecommands_lib Qt6::Test Qt6::Widgets KF6::TextEditor) - add_test(NAME ollieregistration COMMAND test_ollieregistration) + add_executable(test_deftregistration test_deftregistration.cpp) + target_link_libraries(test_deftregistration PRIVATE + deftcommands_lib Qt6::Test Qt6::Widgets KF6::TextEditor) + add_test(NAME deftregistration COMMAND test_deftregistration) endif() diff --git a/src/commands/olliecommands.cpp b/src/commands/deftcommands.cpp similarity index 93% rename from src/commands/olliecommands.cpp rename to src/commands/deftcommands.cpp index abf6265..65da5f0 100644 --- a/src/commands/olliecommands.cpp +++ b/src/commands/deftcommands.cpp @@ -1,7 +1,7 @@ /* * SPDX-License-Identifier: LGPL-2.0-or-later */ -#include "olliecommands.h" +#include "deftcommands.h" #include "texttransforms.h" @@ -18,7 +18,7 @@ namespace deft using namespace texttransforms; -QStringList OllieCommands::supportedCmds() +QStringList DeftCommands::supportedCmds() { return { // NOTE: "sort" is a built-in Kate command. The KTextEditor command @@ -38,7 +38,7 @@ QStringList OllieCommands::supportedCmds() }; } -OllieCommands::OllieCommands(QObject *parent) +DeftCommands::DeftCommands(QObject *parent) : KTextEditor::Command(supportedCmds(), parent) { } @@ -67,13 +67,13 @@ void applyResult(KTextEditor::View *view, const Target &t, const QString &result } } // namespace -bool OllieCommands::exec(KTextEditor::View *view, const QString &cmd, QString &msg, - const KTextEditor::Range &) +bool DeftCommands::exec(KTextEditor::View *view, const QString &cmd, QString &msg, + const KTextEditor::Range &) { return runVerb(view, cmd, msg); } -bool OllieCommands::runVerb(KTextEditor::View *view, const QString &cmd, QString &msg) +bool DeftCommands::runVerb(KTextEditor::View *view, const QString &cmd, QString &msg) { if (!view) { return false; @@ -176,7 +176,7 @@ bool OllieCommands::runVerb(KTextEditor::View *view, const QString &cmd, QString return false; } -bool OllieCommands::help(KTextEditor::View *, const QString &cmd, QString &msg) +bool DeftCommands::help(KTextEditor::View *, const QString &cmd, QString &msg) { const QString verb = cmd.section(QLatin1Char(' '), 0, 0); if (verb == QLatin1String("sort") || verb == QLatin1String("osort")) { diff --git a/src/commands/olliecommands.h b/src/commands/deftcommands.h similarity index 86% rename from src/commands/olliecommands.h rename to src/commands/deftcommands.h index 8f78c00..87f240e 100644 --- a/src/commands/olliecommands.h +++ b/src/commands/deftcommands.h @@ -1,7 +1,7 @@ /* * SPDX-License-Identifier: LGPL-2.0-or-later * - * OllieCommands registers a small vocabulary of ":" command-line verbs with + * DeftCommands registers a small vocabulary of ":" command-line verbs with * the editor. Each verb transforms the current selection in place (or the whole * document when nothing is selected). Verbs: * @@ -15,20 +15,20 @@ * pipe replace the selection with the output of `sh -c `, * feeding the selection on stdin */ -#ifndef DEFT_OLLIECOMMANDS_H -#define DEFT_OLLIECOMMANDS_H +#ifndef DEFT_DEFTCOMMANDS_H +#define DEFT_DEFTCOMMANDS_H #include namespace deft { -class OllieCommands : public KTextEditor::Command +class DeftCommands : public KTextEditor::Command { Q_OBJECT public: - explicit OllieCommands(QObject *parent = nullptr); + explicit DeftCommands(QObject *parent = nullptr); bool exec(KTextEditor::View *view, const QString &cmd, QString &msg, const KTextEditor::Range &range = KTextEditor::Range::invalid()) override; diff --git a/src/commands/test_olliecommands_live.cpp b/src/commands/test_deftcommands_live.cpp similarity index 78% rename from src/commands/test_olliecommands_live.cpp rename to src/commands/test_deftcommands_live.cpp index 101d823..e87f394 100644 --- a/src/commands/test_olliecommands_live.cpp +++ b/src/commands/test_deftcommands_live.cpp @@ -1,12 +1,12 @@ /* * SPDX-License-Identifier: LGPL-2.0-or-later * - * Live test: run the ":"-verbs directly (OllieCommands::runVerb) on a real + * Live test: run the ":"-verbs directly (DeftCommands::runVerb) on a real * KTextEditor Document/View and confirm the buffer is mutated. This is the path * the command palette uses, independent of the editor's command registry. * Requires a (headless) QApplication; run with QT_QPA_PLATFORM=offscreen. */ -#include "olliecommands.h" +#include "deftcommands.h" #include #include @@ -16,7 +16,7 @@ using namespace deft; -class TestOllieCommandsLive : public QObject +class TestDeftCommandsLive : public QObject { Q_OBJECT @@ -41,7 +41,7 @@ private Q_SLOTS: KTextEditor::Document *doc = nullptr; KTextEditor::View *v = makeView(QStringLiteral("helloWorld"), doc); QString msg; - QVERIFY2(OllieCommands::runVerb(v, QStringLiteral("case upper"), msg), qPrintable(msg)); + QVERIFY2(DeftCommands::runVerb(v, QStringLiteral("case upper"), msg), qPrintable(msg)); QCOMPARE(doc->text(), QStringLiteral("HELLOWORLD")); delete v; delete doc; @@ -53,7 +53,7 @@ private Q_SLOTS: KTextEditor::View *v = makeView(QStringLiteral("abc XYZ"), doc); v->setSelection(doc->documentRange()); QString msg; - QVERIFY(OllieCommands::runVerb(v, QStringLiteral("rot13"), msg)); + QVERIFY(DeftCommands::runVerb(v, QStringLiteral("rot13"), msg)); QCOMPARE(doc->text(), QStringLiteral("nop KLM")); delete v; delete doc; @@ -64,7 +64,7 @@ private Q_SLOTS: KTextEditor::Document *doc = nullptr; KTextEditor::View *v = makeView(QStringLiteral("banana\napple\ncherry"), doc); QString msg; - QVERIFY(OllieCommands::runVerb(v, QStringLiteral("sort"), msg)); + QVERIFY(DeftCommands::runVerb(v, QStringLiteral("sort"), msg)); QCOMPARE(doc->text(), QStringLiteral("apple\nbanana\ncherry")); delete v; delete doc; @@ -75,7 +75,7 @@ private Q_SLOTS: KTextEditor::Document *doc = nullptr; KTextEditor::View *v = makeView(QString(), doc); QString msg; - QVERIFY(OllieCommands::runVerb(v, QStringLiteral("uuid"), msg)); + QVERIFY(DeftCommands::runVerb(v, QStringLiteral("uuid"), msg)); QCOMPARE(doc->text().size(), 36); // 8-4-4-4-12 + 4 hyphens delete v; delete doc; @@ -87,15 +87,15 @@ private Q_SLOTS: KTextEditor::View *v = makeView(QStringLiteral("hello"), doc); v->setSelection(doc->documentRange()); QString msg; - QVERIFY(OllieCommands::runVerb(v, QStringLiteral("b64enc"), msg)); + QVERIFY(DeftCommands::runVerb(v, QStringLiteral("b64enc"), msg)); QCOMPARE(doc->text(), QStringLiteral("aGVsbG8=")); v->setSelection(doc->documentRange()); - QVERIFY(OllieCommands::runVerb(v, QStringLiteral("b64dec"), msg)); + QVERIFY(DeftCommands::runVerb(v, QStringLiteral("b64dec"), msg)); QCOMPARE(doc->text(), QStringLiteral("hello")); delete v; delete doc; } }; -QTEST_MAIN(TestOllieCommandsLive) -#include "test_olliecommands_live.moc" +QTEST_MAIN(TestDeftCommandsLive) +#include "test_deftcommands_live.moc" diff --git a/src/commands/test_ollieregistration.cpp b/src/commands/test_deftregistration.cpp similarity index 88% rename from src/commands/test_ollieregistration.cpp rename to src/commands/test_deftregistration.cpp index 632eede..54b8200 100644 --- a/src/commands/test_ollieregistration.cpp +++ b/src/commands/test_deftregistration.cpp @@ -1,7 +1,7 @@ /* * SPDX-License-Identifier: LGPL-2.0-or-later * - * Verifies that OllieCommands registers its verbs at the global + * Verifies that DeftCommands registers its verbs at the global * KTextEditor::Editor instance so they are reachable from Kate's ":" command * line. * @@ -11,7 +11,7 @@ * silently dropped ALL of our verbs. We now register the sort verb as "osort"; * this test guards against reintroducing a colliding name. */ -#include "olliecommands.h" +#include "deftcommands.h" #include #include @@ -20,13 +20,13 @@ using namespace deft; -class TestOllieRegistration : public QObject +class TestDeftRegistration : public QObject { Q_OBJECT private Q_SLOTS: void verbsRegisterAtGlobalEditor() { - auto *cmds = new OllieCommands(); + auto *cmds = new DeftCommands(); auto *ed = KTextEditor::Editor::instance(); QVERIFY(ed); @@ -53,5 +53,5 @@ private Q_SLOTS: } }; -QTEST_MAIN(TestOllieRegistration) -#include "test_ollieregistration.moc" +QTEST_MAIN(TestDeftRegistration) +#include "test_deftregistration.moc" diff --git a/src/commands/texttransforms.h b/src/commands/texttransforms.h index b4cfc5f..bab5394 100644 --- a/src/commands/texttransforms.h +++ b/src/commands/texttransforms.h @@ -1,9 +1,9 @@ /* * SPDX-License-Identifier: LGPL-2.0-or-later * - * Pure text transforms used by the Ollie ":" command verbs. Kept free of any + * Pure text transforms used by the Deft ":" command verbs. Kept free of any * KTextEditor dependency so they are unit testable in isolation; the command - * glue in olliecommands.cpp feeds them the selection and writes back the result. + * glue in deftcommands.cpp feeds them the selection and writes back the result. */ #ifndef DEFT_TEXTTRANSFORMS_H #define DEFT_TEXTTRANSFORMS_H diff --git a/src/palette/CMakeLists.txt b/src/palette/CMakeLists.txt index 7a51206..2fe39a1 100644 --- a/src/palette/CMakeLists.txt +++ b/src/palette/CMakeLists.txt @@ -10,7 +10,7 @@ target_link_libraries(palette PUBLIC fuzzyranker Qt6::Core Qt6::Gui Qt6::Widgets target_include_directories(palette PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) # The command-palette plugin ([deft:util] palette). Needs KF6::TextEditor; the -# ":"-verb pack comes from olliecommands_lib, the widget/frecency from palette. +# ":"-verb pack comes from deftcommands_lib, the widget/frecency from palette. if(KF6TextEditor_FOUND) kcoreaddons_add_plugin(deft_palette SOURCES paletteplugin.cpp paletteplugin.h @@ -18,7 +18,7 @@ if(KF6TextEditor_FOUND) ) target_link_libraries(deft_palette PRIVATE palette - olliecommands_lib + deftcommands_lib KF6::TextEditor KF6::XmlGui KF6::CoreAddons diff --git a/src/palette/paletteplugin.cpp b/src/palette/paletteplugin.cpp index caaa904..74e0229 100644 --- a/src/palette/paletteplugin.cpp +++ b/src/palette/paletteplugin.cpp @@ -5,7 +5,7 @@ #include "palettewidget.h" #include "frecencystore.h" -#include "olliecommands.h" +#include "deftcommands.h" #include #include @@ -75,7 +75,7 @@ PalettePlugin::PalettePlugin(QObject *parent, const QVariantList &args) { Q_UNUSED(args); // The ":"-verb pack registers itself with the global editor on construction. - m_commands = new OllieCommands(this); + m_commands = new DeftCommands(this); } PalettePlugin::~PalettePlugin() = default; @@ -371,13 +371,13 @@ void PaletteView::runAction(const QString &actionId) recordUsage(actionId); // A ":"-verb entry: execute the command directly on the active view. - // We call OllieCommands::runVerb rather than Editor::queryCommand because + // We call DeftCommands::runVerb rather than Editor::queryCommand because // our Command's auto-registration is not reliably visible to queryCommand. if (actionId.startsWith(kCmdPrefix)) { const QString command = actionId.mid(QString(kCmdPrefix).size()); if (KTextEditor::View *view = m_mainWindow->activeView()) { QString msg; - OllieCommands::runVerb(view, command, msg); + DeftCommands::runVerb(view, command, msg); } return; } diff --git a/src/palette/paletteplugin.h b/src/palette/paletteplugin.h index fbce29e..5aeb884 100644 --- a/src/palette/paletteplugin.h +++ b/src/palette/paletteplugin.h @@ -38,7 +38,7 @@ namespace deft { class PaletteWidget; -class OllieCommands; +class DeftCommands; class PalettePlugin : public KTextEditor::Plugin { @@ -51,7 +51,7 @@ public: QObject *createView(KTextEditor::MainWindow *mainWindow) override; private: - OllieCommands *m_commands = nullptr; // ":"-verb pack, registered once globally + DeftCommands *m_commands = nullptr; // ":"-verb pack, registered once globally }; class PaletteView : public QObject diff --git a/src/palette/test_palettemodel.cpp b/src/palette/test_palettemodel.cpp index ef95c00..ce53556 100644 --- a/src/palette/test_palettemodel.cpp +++ b/src/palette/test_palettemodel.cpp @@ -133,7 +133,7 @@ private Q_SLOTS: { PaletteModel m; m.setItems({ - {QStringLiteral("a"), QStringLiteral("src/plugin/ollieplugin.cpp"), QString(), 0}, + {QStringLiteral("a"), QStringLiteral("src/switch/switchplugin.cpp"), QString(), 0}, {QStringLiteral("b"), QStringLiteral("src/palette/palettemodel.cpp"), QString(), 0}, {QStringLiteral("c"), QStringLiteral("src/main.cpp"), QString(), 0}, }); @@ -150,7 +150,7 @@ private Q_SLOTS: { PaletteModel m; m.setItems({ - {QStringLiteral("a"), QStringLiteral("src/plugin/ollieplugin.cpp"), QString(), 0}, + {QStringLiteral("a"), QStringLiteral("src/switch/switchplugin.cpp"), QString(), 0}, {QStringLiteral("b"), QStringLiteral("src/palette/palettemodel.cpp"), QString(), 0}, }); m.setQuery(QStringLiteral("palette model")); diff --git a/src/plumb/plumber.h b/src/plumb/plumber.h index 16a1b94..8375627 100644 --- a/src/plumb/plumber.h +++ b/src/plumb/plumber.h @@ -30,7 +30,7 @@ class PlumbReader; // reader living on its own thread /*! * Facade used by the plugin. Owns the edit-port reader thread and offers a - * one-shot send(). Construct one per OllieView. + * one-shot send(). Construct one per PlumbView. */ class Plumber : public QObject { diff --git a/src/project/bench_switcher.cpp b/src/project/bench_switcher.cpp index 5b38f5b..a279337 100644 --- a/src/project/bench_switcher.cpp +++ b/src/project/bench_switcher.cpp @@ -109,10 +109,10 @@ int main(int argc, char **argv) fileItems.reserve(files.size()); for (const QString &rel : files) { PaletteItem item; - item.id = QStringLiteral("ollie:file:") + rel; + item.id = QStringLiteral("deft:file:") + rel; item.label = buildFileLabel(rel); item.frecency = frecency.bonus( - QStringLiteral("ollie:file:") + root + QLatin1Char('\t') + rel, now); + QStringLiteral("deft:file:") + root + QLatin1Char('\t') + rel, now); fileItems.push_back(item); } rs << "files.buildItems_us\t" << t.us() << "\n"; @@ -160,10 +160,10 @@ int main(int argc, char **argv) for (const Symbol &s : symbols) { PaletteItem item; const QString loc = s.file + QLatin1Char('\t') + QString::number(s.line); - item.id = QStringLiteral("ollie:sym:") + loc; + item.id = QStringLiteral("deft:sym:") + loc; item.label = buildSymbolLabel(s); item.frecency = frecency.bonus( - QStringLiteral("ollie:sym:") + root + QLatin1Char('\t') + loc, now); + QStringLiteral("deft:sym:") + root + QLatin1Char('\t') + loc, now); symItems.push_back(item); } rs << "symbols.buildItems_us\t" << t.us() << "\n"; diff --git a/src/project/symbolindex.h b/src/project/symbolindex.h index bae20b3..4861412 100644 --- a/src/project/symbolindex.h +++ b/src/project/symbolindex.h @@ -29,7 +29,7 @@ struct Symbol { QString file; // path relative to the project root int line = 0; // 1-based line number (0 if unknown) QString kind; // ctags kind long name, e.g. "function", "class" - QString scope; // enclosing scope value, e.g. "OllieCommands" (may be empty) + QString scope; // enclosing scope value, e.g. "DeftCommands" (may be empty) bool operator==(const Symbol &o) const { diff --git a/src/radial/radialconfig.cpp b/src/radial/radialconfig.cpp index 024eeab..e660614 100644 --- a/src/radial/radialconfig.cpp +++ b/src/radial/radialconfig.cpp @@ -89,7 +89,7 @@ QString RadialConfig::userConfigPath() { const QString cfgDir = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation); - return QDir(cfgDir).filePath(QStringLiteral("olliepalette/radials.json")); + return QDir(cfgDir).filePath(QStringLiteral("deft/radials.json")); } QList RadialConfig::loadFile(const QString &path, QString *error) diff --git a/src/radial/radialconfig.h b/src/radial/radialconfig.h index ca1332e..cf0f6bd 100644 --- a/src/radial/radialconfig.h +++ b/src/radial/radialconfig.h @@ -57,7 +57,7 @@ public: static QList fromJson(const QByteArray &json, QString *error = nullptr); /*! Standard user config path: - * `$XDG_CONFIG_HOME/olliepalette/radials.json`. */ + * `$XDG_CONFIG_HOME/deft/radials.json`. */ static QString userConfigPath(); /*! Read and parse the file at \a path. On any failure (missing, unreadable, diff --git a/src/radial/radialplugin.cpp b/src/radial/radialplugin.cpp index 1e85e0b..e4a6968 100644 --- a/src/radial/radialplugin.cpp +++ b/src/radial/radialplugin.cpp @@ -86,7 +86,7 @@ RadialView::~RadialView() void RadialView::setupRadials() { - // Prefer the user's config (~/.config/olliepalette/radials.json); fall back + // Prefer the user's config (~/.config/deft/radials.json); fall back // to the built-in set when it is absent, empty, or invalid. m_radialDefs = RadialConfig::load(); diff --git a/src/sam/sampanel.h b/src/sam/sampanel.h index 882f530..41a24b8 100644 --- a/src/sam/sampanel.h +++ b/src/sam/sampanel.h @@ -5,7 +5,7 @@ * * Layout: a multi-line command editor on top, a Run button, and a read-only * output/log area below. The widget is pure UI: it emits runRequested() with - * the program text; OllieView does the document work (snapshot, engine, apply + * the program text; SamView does the document work (snapshot, engine, apply * in an EditingTransaction) and calls showOutput()/showError() to report back. */ #ifndef DEFT_SAMPANEL_H diff --git a/src/switch/switchplugin.cpp b/src/switch/switchplugin.cpp index fece8ea..c928d9b 100644 --- a/src/switch/switchplugin.cpp +++ b/src/switch/switchplugin.cpp @@ -284,7 +284,7 @@ QList SwitchView::buildSymbolItems(const QString &root, // Label: scope-qualified name, then kind + file as visible provenance. // The delegate renders only the label and FuzzyRanker scores against it, // so folding provenance in keeps it both visible and filterable (e.g. - // "method olliecommands" narrows by name and file at once). The name + // "method deftcommands" narrows by name and file at once). The name // leads, so a name hit scores highest and ranks first. QString label = s.name; if (!s.scope.isEmpty()) {