Browse Source

Merge branch 'main' into isscint-update

Martijn Laan 1 year ago
parent
commit
f89ca119db
1 changed files with 1 additions and 0 deletions
  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;