Fix incremental search bar option bug

Keep 'highlight all' option state in incremental search bar.

Fix #7753, fix #2750, close #7754
This commit is contained in:
Christophe Meriaux 2019-12-18 21:43:26 +01:00 committed by Don HO
parent cbd1e83c02
commit 12bb0efc7a
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -3528,7 +3528,6 @@ INT_PTR CALLBACK FindIncrementDlg::run_dlgProc(UINT message, WPARAM wParam, LPAR
case IDCANCEL : case IDCANCEL :
(*(_pFRDlg->_ppEditView))->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE_INC); (*(_pFRDlg->_ppEditView))->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE_INC);
(*(_pFRDlg->_ppEditView))->getFocus(); (*(_pFRDlg->_ppEditView))->getFocus();
::SendDlgItemMessage(_hSelf, IDC_INCFINDHILITEALL, BM_SETCHECK, BST_UNCHECKED, 0);
display(false); display(false);
return TRUE; return TRUE;