- fix: The comboxbox to input search keyword in the search dialog is case insensitive.

- fix: The comboxbox to input replace text in the search dialog is case insensitive.
  - fix: The comboxbox to input search keyword in the search in files dialog is case insensitive.
  - fix: The comboxbox to input address expression in the debug panel's memory view is case insensitive.
  - fix: The comboxbox to input evaluation expression in the debug panel is case insensitive.
  - fix: The comboxbox to input replace text in the search panel is case insensitive.
This commit is contained in:
Roy Qu 2023-03-14 17:49:36 +08:00
parent a8695a96d0
commit 627ff08d23
5 changed files with 20 additions and 3 deletions

View File

@ -11,6 +11,12 @@ Red Panda C++ Version 2.18
- enhancement: Options in compiler set settings, to generate syntax error for large stack objects. Enable for Debug settings by default)
- enhancement: Options in compiler set settings, to generate protection code for stack smashing attack. Enable for Debug settings by default)
- enhancement: Options in compiler set settings, to enable address sanitizer. Not available in windows.Enable for Debug settings by default)
- fix: The comboxbox to input search keyword in the search dialog is case insensitive.
- fix: The comboxbox to input replace text in the search dialog is case insensitive.
- fix: The comboxbox to input search keyword in the search in files dialog is case insensitive.
- fix: The comboxbox to input address expression in the debug panel's memory view is case insensitive.
- fix: The comboxbox to input evaluation expression in the debug panel is case insensitive.
- fix: The comboxbox to input replace text in the search panel is case insensitive.
Red Panda C++ Version 2.17

View File

@ -77,6 +77,7 @@
#include <QMimeDatabase>
#include <QMimeType>
#include <QToolTip>
#include <QCompleter>
#include "mainwindow.h"
#include <QScrollBar>
@ -260,6 +261,11 @@ MainWindow::MainWindow(QWidget *parent)
// updateEditorActions();
// updateCaretActions();
ui->cbReplaceInHistory->completer()->setCaseSensitivity(Qt::CaseSensitive);
ui->cbEvaluate->completer()->setCaseSensitivity(Qt::CaseSensitive);
ui->cbMemoryAddress->completer()->setCaseSensitivity(Qt::CaseSensitive);
ui->cbFilesPath->completer()->setCaseSensitivity(Qt::CaseInsensitive);
connect(ui->debugConsole,&QConsole::commandInput,this,&MainWindow::onDebugCommandInput);
connect(ui->cbEvaluate->lineEdit(), &QLineEdit::returnPressed,
this, &MainWindow::onDebugEvaluateInput);

View File

@ -487,7 +487,7 @@
<enum>QTabWidget::West</enum>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<property name="usesScrollButtons">
<bool>true</bool>
@ -971,7 +971,6 @@
<widget class="IssuesTable" name="tableIssues">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
@ -1133,7 +1132,7 @@
<enum>QTabWidget::North</enum>
</property>
<property name="currentIndex">
<number>1</number>
<number>2</number>
</property>
<widget class="QWidget" name="tabDebugConsole">
<attribute name="title">

View File

@ -1,6 +1,7 @@
#include "searchdialog.h"
#include "ui_searchdialog.h"
#include <QCompleter>
#include <QMessageBox>
#include <memory>
#include <qsynedit/searcher/basicsearcher.h>
@ -29,6 +30,8 @@ SearchDialog::SearchDialog(QWidget *parent) :
onTabBarCurrentChanged(mSearchTabIdx);
mBasicSearchEngine = std::make_shared<QSynedit::BasicSearcher>();
mRegexSearchEngine = std::make_shared<QSynedit::RegexSearcher>();
ui->cbFind->completer()->setCaseSensitivity(Qt::CaseSensitive);
ui->cbReplace->completer()->setCaseSensitivity(Qt::CaseSensitive);
}
SearchDialog::~SearchDialog()

View File

@ -27,6 +27,7 @@
#include <QMessageBox>
#include <QDebug>
#include <QProgressDialog>
#include <QCompleter>
SearchInFileDialog::SearchInFileDialog(QWidget *parent) :
@ -38,6 +39,8 @@ SearchInFileDialog::SearchInFileDialog(QWidget *parent) :
mSearchOptions&=0;
mBasicSearchEngine= QSynedit::PSynSearchBase(new QSynedit::BasicSearcher());
mRegexSearchEngine= QSynedit::PSynSearchBase(new QSynedit::RegexSearcher());
ui->cbFind->completer()->setCaseSensitivity(Qt::CaseSensitive);
}
SearchInFileDialog::~SearchInFileDialog()