mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
fix: global blue highlight, Ctrl+F find bar with prev/next/close buttons
- Change QPalette::Highlight from theme.selection to theme.hover globally - RcxEditor find: use SCI_SEARCHINTARGET + INDIC_COMPOSITIONTHICK indicator (selection rendering is disabled, so findFirst was invisible) - Re-apply find indicators after applyDocument() refresh cycle - Add prev/next/close buttons to find bars in both Reclass and C/C++ modes - Buttons styled with hover/pressed states matching tab styling
This commit is contained in:
@@ -1636,7 +1636,7 @@ void RcxController::showContextMenu(RcxEditor* editor, int line, int nodeIdx,
|
||||
act->setToolTip(QStringLiteral("Reset change tracking for selected nodes"));
|
||||
connect(act, &QAction::triggered, this, [this, ids]() {
|
||||
for (uint64_t id : ids) {
|
||||
m_valueHistory[id].clear();
|
||||
m_valueHistory.remove(id);
|
||||
for (auto& lm : m_lastResult.meta)
|
||||
if (lm.nodeId == id) lm.heatLevel = 0;
|
||||
}
|
||||
@@ -1835,7 +1835,7 @@ void RcxController::showContextMenu(RcxEditor* editor, int line, int nodeIdx,
|
||||
act->setToolTip(QStringLiteral("Reset change tracking for this node"));
|
||||
act->setEnabled(m_valueHistory.contains(nodeId) && m_valueHistory[nodeId].uniqueCount() > 0);
|
||||
connect(act, &QAction::triggered, this, [this, nodeId]() {
|
||||
m_valueHistory[nodeId].clear();
|
||||
m_valueHistory.remove(nodeId);
|
||||
for (auto& lm : m_lastResult.meta)
|
||||
if (lm.nodeId == nodeId) lm.heatLevel = 0;
|
||||
refresh();
|
||||
|
||||
Reference in New Issue
Block a user