You are here: PSPad forum > Developer forum - new builds > PSPad unicode 4.5.9 (2503) English

PSPad unicode 4.5.9 (2503) English

Goto Page: 1 2 3 Next

#1 PSPad unicode 4.5.9 (2503) English

Posted by: pspad | Date: 2014-09-14 08:37 | IP: IP Logged

Download links (2.9 MB):
code.fosshub.com
pspad.poradna.net

This archive contains modified files only. The correct way how to get full functionality:
1. Download and install latest full version
2. Replace existing files with content of archive

Tip: If you want to speed up start and you don't use FTPS connection, delete files libssl32.dll and libeay32.dll in the root of PSPad.

Changes to 4.5.8 (2501)

News
New PHP beautifier (http://www.waterproof.fr/products/phpCodeBeautifier/)
Code explorer - possibility Switch off refresh with File save in Program settings / Tools

Fixes:
HTML highlighter - fixed curly brackets highlighting in text with switched off template support

Options: Reply | Quote | Up ^


#2 Re: PSPad unicode 4.5.9 (2503) English

Posted by: Andreas | Date: 2014-09-15 07:45 | IP: IP Logged

New PHP beautifier did not work for me. No action at all on PHP files with PHP syntax highlighting. Did I miss something?

Options: Reply | Quote | Up ^


#3 Re: PSPad unicode 4.5.9 (2503) English

Posted by: pspad | Date: 2014-09-15 08:13 | IP: IP Logged

Look at page:
www.waterproof.fr

There is explanation of switches and code modifying.
How is works:
1. PHP file must exists on disk, cause external tool needs file as parameter
2. File is sent to phpcb.exe with selected options as parameter and output is catched (similar way as compiler output)
3. current editor content window is replaced with catched output (with UNDO possibility)

Options: Reply | Quote | Up ^


#4 Re: PSPad unicode 4.5.9 (2503) English

Posted by: Andreas | Date: 2014-09-15 08:42 | IP: IP Logged

Win 7 64
PHP file to beautify is on disk and open in PSPad.
Unchanged PhpCBCFG.ini is in my PSPad folder root.
phpCB.exe is in my PSPad folder root.

Nothing happend!

Do I have to make some settings in my PHP highlighter on tab "External applications" or "Compiler"?

Options: Reply | Quote | Up ^


#5 Re: PSPad unicode 4.5.9 (2503) English

Posted by: pspad | Date: 2014-09-15 09:04 | IP: IP Logged

No there isn't necessary to do any changes in settings.
The problem is described functionality to redirect output into file using ">" doesn't work so I need to use catch output.
Try to tun PHPCB.exe with some options on any your PHP file manually in DOS window

Edited 1 time(s). Last edit at 2014-09-15 09:05 by pspad.

Options: Reply | Quote | Up ^


#6 Re: PSPad unicode 4.5.9 (2503) English

Posted by: Andreas | Date: 2014-09-15 10:31 | IP: IP Logged

Yes, it works nice on command line
C:\Portable\PortableApps\PSPadPortable>phpCB.exe test.php > test_new.php

Options: Reply | Quote | Up ^


#7 Re: PSPad unicode 4.5.9 (2503) English

Posted by: pspad | Date: 2014-09-15 10:44 | IP: IP Logged

I will try to find a reason. It works ok for me. I will try some workaround with generated BAT file

Options: Reply | Quote | Up ^


#8 Re: PSPad unicode 4.5.9 (2503) English

Posted by: pspad | Date: 2014-09-15 13:19 | IP: IP Logged

Can you please test this build:
www.dropbox.com
Replace current exe with exe from ZIP.

I changed mechanism to:
CMD file with temp name is generated to folder with original file with command to call PHPCB.exe
Output of Phpcb is redirected to file with temp name in same folder
Output from PhpCB is open in PSPad as new tab
temp batch and temp file are deleted
Can you confirm it works please?

Options: Reply | Quote | Up ^


#9 Re: PSPad unicode 4.5.9 (2503) English

Posted by: hhoefling | Date: 2014-09-15 14:06 | IP: IP Logged

Only an idee...
Under Windows 7/8
the programm excecution can be forbidden in Data folder.
Then the Batch File must be in an other location.

--
by HH

Options: Reply | Quote | Up ^


#10 Re: PSPad unicode 4.5.9 (2503) English

Posted by: Andreas | Date: 2014-09-15 14:27 | IP: IP Logged

OK here my results:

Before you sent me 2504 I tried to put
C:\Portable\PortableApps\PSPadPortable
into my windows environment variable "path". This works (don't need to restart my windows).
But: Content of PHP file gets doubled

<?php
// my code
<?php
// my code

Second one is the original.
And: Cursor shows busy cursor when hover over toolbar menu icons until you click into editor text again.
And: There are some errors with indentations (wrong indentations)

2504:
I removed my path variable and tried 2504. It works.
But: Same double content and indentation bug.
And: Content ist shown in a new file where you have to watch out to not again use the PHP beautifier else PSPad hangs and has to be closed with the task manager.

ps I'm working with phpStylist in PSPad and this works much better - realy nice code formating like expected.

Options: Reply | Quote | Up ^


Goto Page: 1 2 3 Next





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