fix: clear value history clears subtree, add Copy Line and Search to context menu

- Clear Value History now removes history for all descendant nodes too
- Add "Copy Line" right-click menu item
- Add "Search..." right-click menu item (opens Ctrl+F find bar)
- Move showFindBar() to public in editor.h
This commit is contained in:
IChooseYou
2026-03-02 15:34:37 -07:00
parent d43e989992
commit e6529052b3
2 changed files with 25 additions and 5 deletions

View File

@@ -33,6 +33,7 @@ public:
const LineMeta* metaForLine(int line) const;
int currentNodeIndex() const;
void scrollToNodeId(uint64_t nodeId);
void showFindBar();
// ── Column span computation ──
static ColumnSpan typeSpan(const LineMeta& lm, int typeW = kColType);
@@ -159,7 +160,6 @@ private:
QWidget* m_findBarContainer = nullptr;
QLineEdit* m_findBar = nullptr;
long m_findPos = 0;
void showFindBar();
void hideFindBar();
// ── Reentrancy guards ──