diff --git a/designer/utslsynmemo.tsf b/designer/utslsynmemo.tsf index e335e4f..eee4823 100644 --- a/designer/utslsynmemo.tsf +++ b/designer/utslsynmemo.tsf @@ -607,7 +607,8 @@ type TTslSynHighLighter = class(TSynHighLighter) begin vi := s[idx]; viod := ord(vi); - if vi="<" and ( e-b)>2 and s[idx+1:idx+3]="!--" then + //if vi="<" and ( e-b)>2 and s[idx+1:idx+3]="!--" then + if vi="<" and ( e-idx)>2 and s[idx+1:idx+3]="!--" then begin //FindRightChars SetJsToken(tokens,"