Skip to content

Commit

Permalink
Missed rename from earlier.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jun 13, 2024
1 parent 470f595 commit b45c41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Projects/Src/CompForm.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3281,7 +3281,7 @@ procedure TCompileForm.UpdateOccurrenceIndicators(const AMemo: TCompScintEdit);

procedure FindTextAndAddRanges(const AMemo: TCompScintEdit;
const TextToFind: TScintRawString; const Options: TScintFindOptions;
const SelAvail: Boolean; const Selection: TScintRange;
const SelNotEmpty: Boolean; const Selection: TScintRange;
const ARangeList: TScintRangeList);
begin
if ScintRawStringIsBlank(TextToFind) then
Expand All @@ -3307,7 +3307,7 @@ procedure TCompileForm.UpdateOccurrenceIndicators(const AMemo: TCompScintEdit);
occurrence somewhere else the additional selection becomes hidden by the
indicator except for the very top and bottom (due to use of
INDIC_STRAIGHTBOX instead of INDIC_FULLBOX) }
if SelAvail and Range.Overlaps(Selection) then begin
if SelNotEmpty and Range.Overlaps(Selection) then begin
if Range.StartPos < Selection.StartPos then
ARangeList.Add(TScintRange.Create(Range.StartPos, Selection.StartPos));
if Range.EndPos > Selection.EndPos then
Expand Down

0 comments on commit b45c41f

Please sign in to comment.