At 10:16 AM 8/2/00 -0500, you wrote:
>Paul,
>
>In my previous bug report I mentioned I was having trouble completing
>variables declared in method arguments.  I found that the regexp in the
>jde-parse-valid-declaration-at function was the culprit.  I modified the
>regexp to include ')' and ','.  This seems to work.  What do you think?  Why
>did my example work on your system?
>
>--Lou
>

Hi Lou,

I went back and rechecked and method parameter completion did not work.
Your fix, however, did the trick. I will include your fix in the next release.

Thanks very much.

Regards
>Original function
>--------------------
>(defun jde-parse-valid-declaration-at (point varname)
>  "Verify that a POINT starts a valid java declaration
>for the VARNAME variable."
>  (save-excursion
>    (goto-char point)
>    (if (looking-at (concat "\\([A-Za-z0-9_.\177-\377]+\\)[ \t\n\r]+" 
>                           (jde-parse-double-backslashes varname) 
>                           "[ \t\n\r]*[;=]"))
>       (match-string 1) 
>      nil)))
>
>Revised function
>--------------------
>(defun jde-parse-valid-declaration-at (point varname)
>  "Verify that a POINT starts a valid java declaration
>for the VARNAME variable."
>  (save-excursion
>    (goto-char point)
>    (if (looking-at (concat "\\([A-Za-z0-9_.\177-\377]+\\)[ \t\n\r]+" 
>                           (jde-parse-double-backslashes varname) 
>                           "[ \t\n\r]*[\),;=]"))
>       (match-string 1) 
>      nil)))
>
>
>

Reply via email to