瀏覽代碼

Merge branch 'main' into isscint-update

Martijn Laan 1 年之前
父節點
當前提交
f89ca119db
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Components/ScintEdit.pas

+ 1 - 0
Components/ScintEdit.pas

@@ -485,6 +485,7 @@ procedure TScintEdit.AddIndicator(const StartPos, EndPos: Integer;
 begin
   CheckPosRange(StartPos, EndPos);
   Call(SCI_SETINDICATORCURRENT, IndicatorNumber, 0);
+  Call(SCI_SETINDICATORVALUE, IndicatorNumber, 1);
   Call(SCI_INDICATORFILLRANGE, StartPos, EndPos - StartPos);
 end;