You are here: PSPad forum > Bug report / Hlášení chyb > Re: Code explorer doesn’t handle function parameters on new line

Re: Code explorer doesn’t handle function parameters on new line

#1 Code explorer doesn’t handle function parameters on new line

Posted by: m2u_germany | Date: 2015-03-28 17:06 | IP: IP Logged

Hi,

I just noticed a minor issue with the Code Explorer: if you declare your function like this:

function doStuff (
···paramA,
···paramB,
···paramC
) {
···// …
}

instead of:

function doStuff (paramA, paramB, paramC) {
···// …
}

the Code Explorer doesn’t recognize the function’s parameters correctly. It only displays “function doStuff(” without parameter listing and closing bracket. So in essence parameters on a new line are left out obviously.

Happened in a JavaScript file but I guess it concerns other languages too. It’s only a minor issue but maybe you can take a look at this some time.

Thanks a lot for your continuous efforts on this great software and have a nice weekend!

Matthias

P. S.: Version is 4.6.0.2655 btw.

Edited 1 time(s). Last edit at 2015-03-28 17:12 by m2u_germany.

Options: Reply | Quote | Up ^


#2 Re: Code explorer doesn’t handle function parameters on new line

Posted by: pspad | Date: 2015-03-28 18:08 | IP: IP Logged

Code parser parse code line by line.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR