From e844f6f171f0da0b31f204b7b4758412783ea320 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 16 Apr 2020 10:51:07 +0200 Subject: [PATCH] fix #26 - calltips, parameter highlighting des not work correctly when there are typectors in the parameters --- src/u_synmemo.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/u_synmemo.pas b/src/u_synmemo.pas index 8c09d38e..0bd16798 100644 --- a/src/u_synmemo.pas +++ b/src/u_synmemo.pas @@ -598,10 +598,10 @@ begin goto FIX_AUTO; end; j := 0; - // func args + // func params while not r.empty do begin - a := r.takeUntil([',', ')']).yield; + a := r.takeUntil([',', #0]).yield; if not r.empty then begin if r.front = ',' then