瀏覽代碼

Missed rename from earlier.

Martijn Laan 1 年之前
父節點
當前提交
b45c41fd0d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Projects/Src/CompForm.pas

+ 2 - 2
Projects/Src/CompForm.pas

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