mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 13:54:54 +02:00
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.execute(SCI_SETCARETWIDTH, 0);
|
||||||
_pFinder->_scintView.showMargin(ScintillaEditView::_SC_MARGE_FOLDER, true);
|
_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
|
// get the width of FindDlg
|
||||||
RECT findRect;
|
RECT findRect;
|
||||||
::GetWindowRect(_pFinder->getHSelf(), &findRect);
|
::GetWindowRect(_pFinder->getHSelf(), &findRect);
|
||||||
@ -2455,6 +2458,9 @@ Finder * FindReplaceDlg::createFinder()
|
|||||||
pFinder->_scintView.execute(SCI_SETCARETWIDTH, 0);
|
pFinder->_scintView.execute(SCI_SETCARETWIDTH, 0);
|
||||||
pFinder->_scintView.showMargin(ScintillaEditView::_SC_MARGE_FOLDER, true);
|
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
|
// get the width of FindDlg
|
||||||
RECT findRect;
|
RECT findRect;
|
||||||
::GetWindowRect(pFinder->getHSelf(), &findRect);
|
::GetWindowRect(pFinder->getHSelf(), &findRect);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user