Add disable In-Selection when multiple selections active for Count, Replace-All and Mark-all commands
Fix #7532
This commit is contained in:
parent
f826c1180c
commit
485b5aa7c7
@ -957,8 +957,8 @@ INT_PTR CALLBACK FindReplaceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM
|
|||||||
_options._isInSelection = true;
|
_options._isInSelection = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Searching/replacing in column selection is not allowed
|
// Searching/replacing in multiple selections or column selection is not allowed
|
||||||
if ((*_ppEditView)->execute(SCI_GETSELECTIONMODE) == SC_SEL_RECTANGLE)
|
if (((*_ppEditView)->execute(SCI_GETSELECTIONMODE) == SC_SEL_RECTANGLE) || ((*_ppEditView)->execute(SCI_GETSELECTIONS) > 1))
|
||||||
{
|
{
|
||||||
checkVal = BST_UNCHECKED;
|
checkVal = BST_UNCHECKED;
|
||||||
_options._isInSelection = false;
|
_options._isInSelection = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user