You are here: PSPad forum > Developer forum - new builds > Re: PSPad unicode 4.5.3 (2291) English

Re: PSPad unicode 4.5.3 (2291) English

Goto Page: Previous1 2 3 4 5

#41 Re: PSPad unicode 4.5.3 (2291) English

Posted by: RB_Devils | Date: 2007-11-13 17:21 | IP: IP Logged

pspad:
Background depends of the highlighter background. If you set different background for your JScript, youwill get it in multihighlighter too.

Show this case:

<script language=javascript>
var activeDocument = "<%= activeDocument %>";
.
.
.
</script>

You correctly color the background Of JavaScript but don't color with different color the background of this piece of code:
"<%= activeDocument %>" with the background color of MS VBScript!

Options: Reply | Quote | Up ^


#42 Re: PSPad unicode 4.5.3 (2291) English

Posted by: pspad | Date: 2007-11-13 17:30 | IP: IP Logged

Ok. Again.
HTML multihighlighter isn't multilevel.
It will highlights your JavaScript inside HTML, but you want highlight VBScript inside JavaScript inside HTML.

Options: Reply | Quote | Up ^


#43 Re: PSPad unicode 4.5.3 (2291) English

Posted by: wal | Date: 2007-11-14 06:51 | IP: IP Logged

pspad:
fubo:
Hi all,

Code explorer for C is broken from last beta release. Basically a line like "if( ... )" is treated as a function because it ends without ";", so it's reported in Function pane.

Sorry, I can't simulate it. Send me some example what causes this problem.

I am not sure if this is the same problem, but C/C++ code explorer shows line if (b == 0) as function in following example:

void test1( void)
{
#ifdef X
// some code...
#else
if (a == 0) {
// some code...
#ifdef Y
// some code...
#endif
}
#endif

if (b == 0)
a = 0;
}

Options: Reply | Quote | Up ^


#44 Re: PSPad unicode 4.5.3 (2291) English

Posted by: fubo | Date: 2007-11-14 08:58 | IP: IP Logged

wal:
I am not sure if this is the same problem, but C/C++ code explorer shows line if (b == 0) as function in following example:

void test1( void)
{
#ifdef X
// some code...
#else
if (a == 0) {
// some code...
#ifdef Y
// some code...
#endif
}
#endif

if (b == 0)
a = 0;
}

Yes it's the same problem.

Other issues on code explorer:
- if the procedure is declared extern it's not shown in the code explorer;
- procedure pointers used as parameters in a procedure definition is shown but should not if the parameter is on a new line.

Example, if:

extern int proc( const int par1,
void (*par2)(void),
const int par3)

code explorer shows only:

void (*par2)(void)

If:

extern int proc( const int par1, void (*par2)(void), const int par3)

code explorer shows nothing.

Options: Reply | Quote | Up ^


#45 Re: PSPad unicode 4.5.3 (2291) English

Posted by: yn | Date: 2007-11-14 11:19 | IP: IP Logged

pspad:
In this case use External Application, not compiler

Well, my reason not to use ExternalApp are :
1. I'd like to avoid creating temporary files. I'd like to directly save changes to the real file.
2. If there is selected text, it would be saved as a temp file and passed to the ExternalApp, instead of the full file (I've used "%File%" though), and I couldn't find any setting related to this. Is it not exposed ?

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 4 5





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