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;
|
||||
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;
|
||||
endPosition = docLength;
|
||||
|
Loading…
Reference in New Issue
Block a user