mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-23 05:45:00 +02:00
Make Count command respect Backward-direction and Wrap-around options
Fix #7876, close #7917
This commit is contained in:
parent
4cc6215e63
commit
4eac7d8e94
@ -1884,7 +1884,7 @@ int FindReplaceDlg::processAll(ProcessOperation op, const FindOption *opt, bool
|
|||||||
startPosition = cr.cpMin;
|
startPosition = cr.cpMin;
|
||||||
endPosition = cr.cpMax;
|
endPosition = cr.cpMax;
|
||||||
}
|
}
|
||||||
else if (pOptions->_isWrapAround || isEntire || op == ProcessCountAll) //entire document needs to be scanned
|
else if (pOptions->_isWrapAround || isEntire) //entire document needs to be scanned
|
||||||
{
|
{
|
||||||
startPosition = 0;
|
startPosition = 0;
|
||||||
endPosition = docLength;
|
endPosition = docLength;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user