Skip to content

Commit

Permalink
Fix bug #66563
Browse files Browse the repository at this point in the history
Fix an issue with highlighting searching results
  • Loading branch information
KirillovIlya committed Feb 19, 2024
1 parent d378245 commit 2e5f4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion word/Editor/Run.js
Original file line number Diff line number Diff line change
Expand Up @@ -6240,7 +6240,7 @@ ParaRun.prototype.Draw_HighLights = function(drawState)
for (let iMark = 0, nMarks = this.SearchMarks.length; iMark < nMarks; ++iMark)
{
let mark = this.SearchMarks[iMark];
let markPos = mark.SearchResult.StartPos.Get(mark.Depth);
let markPos = mark.SearchResult.EndPos.Get(mark.Depth);

if (pos + 1 === markPos && !mark.Start)
drawState.decreaseSearchCounter();
Expand Down

0 comments on commit 2e5f4af

Please sign in to comment.