You are here: PSPad forum > Developer forum - new builds > PSPad 4.3.3 (2088) update English
Posted by: pspad | Date: 2005-06-28 13:13 | IP: IP Logged
Download link: pspad.cincura.net (1.3 MB)
Notes to PSPad update versions:
this CAB archive contains PSPad.EXE only. Replace existing file from 4.3.3 version
Changes to 4.3.3 (2085)
News
its possible to add shortcuts to scripts - next string parameter in method addMenuItem
Multihighlighter knows included scripts in "script runat=..." form
Correction
corrected RGB -> CMYK
in some cases users lost key shortcuts
exception when you click in LOG, in no file is open and in LOG was file name
Find/Replace finction trimms spaces and tabs from end of lines
load user highlighter colors after program start and load project
run tool from favourite tab when no file was open
detection PHP script in HTML multihighlighter
Code explorer and VBScript
send file name with line number as parameter if PSPad was already running
--
Jan
Posted by: Lorenzo | Date: 2005-06-28 22:27 | IP: IP Logged
> detection PHP script in HTML multihighlighter
the code explorer window still has a bug:
it opens the html structure of the page, even if it's a php-only script
(i.e. a file with no HTML at all).
Hitting the refresh button, I get the correct class/function list
Posted by: pspad | Date: 2005-06-29 04:14 | IP: IP Logged
If you want code explorer for PHP, use PHP highlighter, not HTML highlighter
Minimally you need to be in PHP part if you refresh Code explorer
Posted by: Gnut | Date: 2005-06-29 06:59 | IP: IP Logged
The PHTML-Syntax highlighting is still very buggy, it's buggier than the older versions. :(
- one line PHP-range
<form action="<?=URL_FIS_TEST?>" method="GET" name="form">
- the PHP-Endtag "?>" is wrongly highlighted (3 characters are highlighted)
- PHP has the highest priority, so PHP ranges should be detected within <script></script> too
Why don't you make it open source, so people can help you out.
Best regards,
Gnut
Posted by: Lorenzo | Date: 2005-06-29 07:38 | IP: IP Logged
pspad wrote:
> If you want code explorer for PHP, use PHP highlighter, not
> HTML highlighter
> Minimally you need to be in PHP part if you refresh Code
> explorer
I remember that a few versions ago the behaviour was correct.
My PHP scripts don't involve any HTML at all, they're just
PHP classes, so the code explorer should show
==================
+ defines
+ includes
+ variables
+ classes/methods
==================
instead of
==================
+ Links
+ Head
+ Body
+ ?php
==================
by default. It does so after a refresh
in the code explorer window (without
changing the syntax highlighter), so I
think it's probably a bug...
I mean, if it weren't a bug, just refreshing
the window shouldn't change the contents
of the code explorer window, if there aren't
any changes in the code, right?
If you need a sample file reproducing the behaviour,
just ask.
Thanks a lot for your wonderful app!
Posted by: pspad | Date: 2005-06-29 09:47 | IP: IP Logged
No was changed.
If you have HTML multihighlighter, you must stay in PHP code
Posted by: Joe Belmaati | Date: 2005-06-29 15:04 | IP: IP Logged
I work with PHP everyday with no problems in PSPad as far as code highlighting goes.
Posted by: Gnut | Date: 2005-06-29 18:22 | IP: IP Logged
@Joe Belmaati: have you tested my cases?
Posted by: pspad | Date: 2005-06-29 18:28 | IP: IP Logged
Lorenzo wrote:
> > If you want code explorer for PHP, use PHP highlighter, not
> > HTML highlighter
> > Minimally you need to be in PHP part if you refresh Code
> > explorer
>
> I remember that a few versions ago the behaviour was correct.
> My PHP scripts don't involve any HTML at all, they're just
> PHP classes, so the code explorer should show
Send me your PHP source with description what you do, then we can talk about concrete thing
> I mean, if it weren't a bug, just refreshing
> the window shouldn't change the contents
> of the code explorer window, if there aren't
> any changes in the code, right?
Multihighlighter isn't highlighter, its only conditional highlighter switcher.
Code explorer get content depending of what part of code you stay
Posted by: Lorenzo | Date: 2005-06-29 19:38 | IP: IP Logged
pspad wrote:
> > I remember that a few versions ago the behaviour was correct.
> > My PHP scripts don't involve any HTML at all, they're just
> > PHP classes, so the code explorer should show
>
> Send me your PHP source with description what you do, then we
> can talk about concrete thing
================================
<?php
define ('ABC', 1);
include 'aaa.php';
class A
{
var $a;
function A() {
//init
}
function B() {
//do sth
}
}
?>
================================
> Code explorer get content depending of
> what part of code you stay
exactly. And it is what it does after a refresh.
But opening a php file (like the one above),
the code explorer shows the HTML structure
instead of the PHP one by default.
Try saving the code above into a file, and
doubleclick it. You'll see what I mean.
Regards
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