Martijn Laan 1 vuosi sitten
vanhempi
commit
c46cb592c6
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      Projects/Src/CompForm.pas

+ 2 - 1
Projects/Src/CompForm.pas

@@ -3259,7 +3259,8 @@ procedure TCompileForm.UpdateOccurrenceIndicators(const AMemo: TCompScintEdit);
       if Markers * [mmLineError, mmLineBreakpointBad, mmLineStep] <> [] then
       if Markers * [mmLineError, mmLineBreakpointBad, mmLineStep] <> [] then
         Continue;
         Continue;
 
 
-      { Add indicator while making sure it does not overlap the regular selection styling }
+      { Add indicator while making sure it does not overlap the regular selection
+       styling (only looks at main selection and not any additional selections atm) }
       if SelAvail and Range.Overlaps(Selection) then begin
       if SelAvail 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));