Fix Find-result window output tab-width incoherent issue
Hard-set tab-width in Find-result window to 4. Fix #8406, close #8499
This commit is contained in:
parent
7bdb3706f9
commit
53b03cc5c5
@ -2353,6 +2353,9 @@ void FindReplaceDlg::findAllIn(InWhat op)
|
||||
_pFinder->_scintView.execute(SCI_SETCARETWIDTH, 0);
|
||||
_pFinder->_scintView.showMargin(ScintillaEditView::_SC_MARGE_FOLDER, true);
|
||||
|
||||
_pFinder->_scintView.execute(SCI_SETUSETABS, true);
|
||||
_pFinder->_scintView.execute(SCI_SETTABWIDTH, 4);
|
||||
|
||||
// get the width of FindDlg
|
||||
RECT findRect;
|
||||
::GetWindowRect(_pFinder->getHSelf(), &findRect);
|
||||
@ -2455,6 +2458,9 @@ Finder * FindReplaceDlg::createFinder()
|
||||
pFinder->_scintView.execute(SCI_SETCARETWIDTH, 0);
|
||||
pFinder->_scintView.showMargin(ScintillaEditView::_SC_MARGE_FOLDER, true);
|
||||
|
||||
pFinder->_scintView.execute(SCI_SETUSETABS, true);
|
||||
pFinder->_scintView.execute(SCI_SETTABWIDTH, 4);
|
||||
|
||||
// get the width of FindDlg
|
||||
RECT findRect;
|
||||
::GetWindowRect(pFinder->getHSelf(), &findRect);
|
||||
|
Loading…
Reference in New Issue
Block a user