You are not logged in.
Pages: 1
mORMot2, Commit 7243 (ee6c774), Delphi 12, 32Bit
Unit mormot.core.log
Line 7550 should be changed. The search should not be started from "fCount" but from "fSelectedCount".
function TSynLogFileView.SearchPreviousText(const aPattern: RawUtf8; aRow: integer): PtrInt;
...
// search from end
// for result := fCount - 1 downto aRow + 1 do <= This line should be changed
for result := fSelectedCount - 1 downto aRow + 1 do
if LineContains(aPattern, fSelected[result]) then
exit;
With best regards
Thomas
Offline
Please try
https://github.com/synopse/mORMot2/commit/2cf5d982
I also committed the change to mORMot 1.
Offline
Pages: 1