Преглед изворни кода

Fix 522117b7d03dbc4901d094fe52c5e570220b9ea4

Martijn Laan пре 7 година
родитељ
комит
cdc65cd3b2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Components/ScintStylerInnoSetup.pas

+ 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);