Reworked the text highlighting.

Went from 'current line' and 'second current line' to just 'current line'.
Just need the "yellow" highlighter for all lines in the stack frame.

Show all search results is code editor.
Show number of seach matches.
Clear searches when QLineEdit 'clear' button is pressed.
Show searches when QLineEdit 'return' is pressed.
Show searches when MatchCase QCheckBox is tiggered.

Reworked editor "extra selections" logic.
This commit is contained in:
Ernie Pasveer
2022-02-27 13:17:11 -06:00
parent 7698ab8e19
commit 5e36e3985a
6 changed files with 131 additions and 72 deletions
-4
View File
@@ -93,10 +93,6 @@ SeerHighlighterSettings SeerHighlighterSettings::populateForCPP () {
cppSettings.add("Current Line", f);
f = QTextCharFormat();
f.setFontWeight(QFont::Normal); f.setFontItalic(false); f.setForeground(Qt::black); f.setBackground(QColor(Qt::lightGray).lighter(120));
cppSettings.add("Current Line2", f);
f = QTextCharFormat();
return cppSettings;
}