From: Jerome St-Louis Date: Wed, 21 May 2014 03:19:02 +0000 (-0400) Subject: ide/CodeEditor/AutoCompletion: (#1020) Fixed parameters not coming up on methods X-Git-Tag: 0.44.10PR1~220 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eb4d438465e75a2459a07d6724d0ca2296304ce;p=sdk ide/CodeEditor/AutoCompletion: (#1020) Fixed parameters not coming up on methods --- diff --git a/ide/src/designer/findCtx.ec b/ide/src/designer/findCtx.ec index 206f6b0..14918df 100644 --- a/ide/src/designer/findCtx.ec +++ b/ide/src/designer/findCtx.ec @@ -262,6 +262,8 @@ Identifier FindCtxExpression(Expression exp, int line, int charPos) arg++; } + if(type && type.kind == methodType && type.method) + type = type.method.dataType; if(!ctxInsideExp && /*ctxInsideExp == exp && */type && type.kind == functionType) {