Eliminate garbage displaying in Find-result fold margin

Fix #6268, close #7721
This commit is contained in:
Scott Sumner 2019-12-11 10:42:34 -05:00 committed by Don HO
parent 9729fa7490
commit 1c4157109f
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -3328,6 +3328,10 @@ void Finder::setFinderStyle()
}
_scintView.execute(SCI_COLOURISE, 0, -1);
// finder fold style follows user preference but use box when user selects none
ScintillaViewParams& svp = (ScintillaViewParams&)NppParameters::getInstance().getSVP();
_scintView.setMakerStyle(svp._folderStyle == FOLDER_STYLE_NONE ? FOLDER_STYLE_BOX : svp._folderStyle);
}
INT_PTR CALLBACK Finder::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam)