浏览代码

Add comment.

Martijn Laan 1 年之前
父节点
当前提交
c46cb592c6
共有 1 个文件被更改,包括 2 次插入1 次删除
  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
         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 Range.StartPos < Selection.StartPos then
           ARangeList.Add(TScintRange.Create(Range.StartPos, Selection.StartPos));