2
0
Эх сурвалжийг харах

Fix 522117b7d03dbc4901d094fe52c5e570220b9ea4

Martijn Laan 7 жил өмнө
parent
commit
cdc65cd3b2

+ 1 - 1
Components/ScintStylerInnoSetup.pas

@@ -555,7 +555,7 @@ end;
 
 procedure TInnoSetupStyler.ApplyPendingSquigglyFromToIndex(const StartIndex, EndIndex: Integer);
 begin
-  if (CaretIndex >= StartIndex) and (CaretIndex <= EndIndex) then
+  if (CaretIndex >= StartIndex) and (CaretIndex <= EndIndex + 1) then
     ApplyIndicators([inPendingSquiggly], StartIndex, EndIndex)
   else
     ApplyIndicators([inSquiggly], StartIndex, EndIndex);