You are here: PSPad forum > Bug report / Hlášení chyb > 4.5.8 [2500] Code Explorer Bug

4.5.8 [2500] Code Explorer Bug

#1 4.5.8 [2500] Code Explorer Bug

Posted by: syntech | Date: 2014-10-01 13:35 | IP: IP Logged

This is probably a new bug.

If I have a C function like

int blabla( int a, int b,
int c, int d,
int e, int f,
double (&abc)[MAX_ABC],
double (&def)[MAX_DEF] )
{
.
.

The code explorer shows:

double (&abc)[MAX_ABC],
double (&def)[MAX_DEF] )
int blabla( int a, int b,

Now, if I'm in the function somewhere and hit the button "show in document" (or so) from the code explorer, it highlightes the following line:

double (&abc)[MAX_ABC],

But the correct line should be:

int blabla( int a, int b, int c, int d, int e, int f, double (&abc)[MAX_ABC], double (&def)[MAX_DEF] )

I think the problem is, that there are round brackets used inside the round function brackets. PSPad should handle this correctly by counting the open/closed brackets and ignoring every bracket until the closing function bracket is found.

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