Skip to content

Commit 1c41571

Browse files
sasumnerdonho
authored andcommitted
Eliminate garbage displaying in Find-result fold margin
Fix notepad-plus-plus#6268, close notepad-plus-plus#7721
1 parent 9729fa7 commit 1c41571

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3328,6 +3328,10 @@ void Finder::setFinderStyle()
33283328
}
33293329

33303330
_scintView.execute(SCI_COLOURISE, 0, -1);
3331+
3332+
// finder fold style follows user preference but use box when user selects none
3333+
ScintillaViewParams& svp = (ScintillaViewParams&)NppParameters::getInstance().getSVP();
3334+
_scintView.setMakerStyle(svp._folderStyle == FOLDER_STYLE_NONE ? FOLDER_STYLE_BOX : svp._folderStyle);
33313335
}
33323336

33333337
INT_PTR CALLBACK Finder::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam)

0 commit comments

Comments
 (0)