You are here: PSPad forum > Developer forum - new builds > PSPad unicode 4.5.5 (2411) English

PSPad unicode 4.5.5 (2411) English

Goto Page: 1 2 3 Next

#1 PSPad unicode 4.5.5 (2411) English

Posted by: pspad | Date: 2011-02-14 22:04 | IP: IP Logged

Download links (1.9 MB):
pspad.siliconhill.cz
pspad.cincura.net

Notes on PSPad update versions:
7ZIP archiv contains PSPad.EXE and language files only. Unpack it with subfolders and replace existing files from the last full release

Changes to 4.5.5 (2405)

News
New dialog - speed optimalization
file change detection
Cobol highlighter (new keywords, inline comment)
HTML5 tags support
system variables support in external commands and compiler

Fixes:
C++ code explorer
AutoCompletion behavior
problems when PSpad was started with -N
File explorer allows you delete folder ..

Edited 1 time(s). Last edit at 2011-02-15 06:27 by pspad.

Options: Reply | Quote | Up ^


#2 Re: PSPad unicode 4.5.5 (2411) English

Posted by: pspad | Date: 2011-02-15 06:28 | IP: IP Logged

Updated version from 2410 to 2411
Fixes HTML highlighter

Options: Reply | Quote | Up ^


#3 Re: PSPad unicode 4.5.5 (2411) English

Posted by: human | Date: 2011-02-15 09:12 | IP: IP Logged

Questions to auto completion:
Q1 Where can the delay be set?
Q2 Is there some shortcut to show the auto completion?

Results from a first short test:
1. Auto completion
1.1 Doesn't occur too often like before (some little tweaking maybe needed).
1.2 AC still occurs on scrolling / after mouse move if a char is entered and afterwards one starts scrolling / moves the mouse (and the delay is over).
1.3 Please add all keywords from current syntax highlighting to the auto-completion list.
2. COBOL problems
2.1 Using Format->Add/Remove Comment sets * in column 1, but should be column 7
2.2 Sometimes a line is highlighted as a comment on scrolling - I need to investigate that further.
2.3 Syntax highlighting and Code-Explorer stuff: Here again the sample I brought up before. Every "COBOL-only" comment starts with "*>", every comment that says something about PSPAD start with "* ". The things that are fixed in 2410 are removed. (Click the Quote link for this post to get the right indentation).
*-----------------------------------------------------------------
*> Program PSPSAM showing some stuff for testing COBOL lexers
*> (especially old errors in PSPad COBOL syntax)
*>----------------------------------------------------------------
IDENFTIFICATION DIVISION.
PROGRAM-ID. 'PSPSAM'.
*-----------------------------------------------------------------
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES.
SYSERR IS MY-ERR
DECIMAL-POINT IS COMMA.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT MY-FILE ASSIGN TO MY-FILE-NAME
ORGANIZATION IS LINE SEQUENTIAL
FILE STATUS IS MY-FILE-STATUS.
SELECT MY-INPFILE ASSIGN TO "INPUT.DAT"
ORGANIZATION IS SEQUENTIAL
FILE STATUS IS MY-FILE-STATUS.
I-O-CONTROL.
DATA DIVISION.
FILE SECTION.
FD MY-FILE.
01 MY-FILE-REC.
02 MY-REC.
03 MY-BIG1 PIC X(32000).
03 MY-BIG2 PIC X(32000).
FD MY-INPFILE.
01 MY-INPFILE-REC.
02 MY-INPREC PIC X(320).
*-----------------------------------------------------------------
WORKING-STORAGE SECTION.
78 MY-FILE-NAME VALUE 'TEST.DAT'.
77 MY-FILE-STATUS PIC X(02).
01 PARM-1.
05 PARM-1-1 PIC X(12).
05 PARM-1-2 PIC X(10).
01 PARM-2 PIC X(80).
COPY WSCPY.
77 BVAR PIC X(650000) BASED.
*>----------------------------------------------------------------
LOCAL-STORAGE SECTION.
* This var is marked:
01 local-var pic 9 value zero.
88 local-var-unchanged value zero.
* This var is NOT marked (because of two spaces):
* Either all these vars should be marked or none
01 loc2 PIC X(12) VALUE SPACES.
77 loc3 pic 9(05) usage comp-3 value 12.
*>----------------------------------------------------------------
LINKAGE SECTION.
01 some-rec.
02 some-rec-1 pic 9(04).
02 some-rec-2 pic x(4096).
*>----------------------------------------------------------------
PROCEDURE DIVISION USING some-rec.
* declaratives currently not recognized correct as an own area
* (inside working storage) but as empty paragraph.
DECLARATIVES.
*> Error section for MY-FILE:
DEC-MY SECTION.
USE AFTER STANDARD ERROR PROCEDURE ON MY-FILE.
DM-BEG.
display 'ERROR IN MYFILE: "' MY-FILE-STATUS '"'
* end-display missing in keywords (and not shown as belonging
* to the display, see some2 section for explanation)
end-display
accept loc2
end-accept
* returning missing in keywords (note: this is an extension)
exit program returning 1
DM-END.
EXIT SECTION.
*> Error section for all files opened with INPUT:
DEC-MYIN SECTION.
USE AFTER STANDARD ERROR PROCEDURE ON INPUT.
DMI-BEG.
display 'ERROR IN MYINPFILE: "' MY-FILE-STATUS '"'
end-display
accept loc2
end-accept
exit program returning 1
DMI-END.
EXIT SECTION.
end declaratives.
*>----------------------------------------------------------------
MAIN SECTION.
PARA-1.
OPEN INPUT MYINPFILE
READ MYINP-REC END-READ
OPEN OUTPUT MYFILE
perform 2 times
write MYFILE from myinp-rec
end-write
end-perform
CLOSE MYFILE
CLOSE MYINPFILE
ALLOCATE BVAR
MOVE ALL 'A' TO BVAR
CALL 'SUBMOD' USING PARM-1
BVAR
* This is a one-word-line with a dot afterwards,
* not a paragraph.
* DIVISIONs, SECTIONs, paragraphs, FD/SD and lvl 01/77 entries
* have to start in Area A --> columns 8 to 11)
PARM-2.
FREE ADDRESS OF BVAR
* This is simply a normal one-word-command with a dot afterwards,
* Not a paragraph:
continue.
PARA-2.
EXIT PROGRAM.
*>----------------------------------------------------------------
SOME SECTION.
move PARM-1 to PARM-2
* EXIT written uppercase - all fine in Code-Explorer
EXIT SECTION.
*>----------------------------------------------------------------
SOME2 SECTION.
if 1 = 1
CANCEL 'SUBMOD'
* Only if/end-if are shown as belonging together
* (both are highlighted if the cursor is in one of them).
* Can the "else" be highlighted there, too?
else
continue
end-if
*
evaluate true
* Only evaluate/end-evaluate are shown as belonging together
* (both are highlighted if the cursor is in one of them).
* Can all "when" be highlighted there, too?
when 1 = 1
continue
when 0 = 0
continue
end-evaluate
*
* exit written lowercase - shown as a new section
* in Code-Explorer
exit SECTION.
*>----------------------------------------------------------------
* It would be nice to have a list of all used copies in
* Code-Explorer like it is avaliable for includes in C-Syntax.
* Copies can occur EVERYWHERE in the source.
* They can have different ways of naming:
* Without anything (most compilers will look for PDCPY.CBL, then
* PDCPY.CPY, then PDCPY in this case)
COPY PDCPY.
* As literal with/without full name
COPY "PDCPY2.CPY".
COPY "C:\COBOL\CPY\PDCPY2.CPY".
* With IN clause:
COPY "PDCPY3.CPY" IN "C:\COBOL\CPY".
* With a lot of clauses:
COPY PDCPY4
IN CPYBIB
SUPPRESS PRINTING
REPLACING ==SOMETEXT== BY ==SOME OTHER TEXT==
LEADING ==AA-== BY ==PSPSAM==.
*>----------------------------------------------------------------
*>-- End of program PSPSAM ---------------------------------------

Thank you for having a look at this!
human

Options: Reply | Quote | Up ^


#4 Re: PSPad unicode 4.5.5 (2411) English

Posted by: ino | Date: 2011-02-15 11:17 | IP: IP Logged

human:
Questions to auto completion:
Q1 Where can the delay be set?
Q2 Is there some shortcut to show the auto completion?

Q1: Settings - Program settings - Editor (part 2) -
Autocomplete delay [ms] set 0

Q2: start typing some text and hit Ctrl+J

Options: Reply | Quote | Up ^


#5 Re: PSPad unicode 4.5.5 (2411) English

Posted by: human | Date: 2011-02-15 13:19 | IP: IP Logged

Thanky you for this fast answer.

Options: Reply | Quote | Up ^


#6 Re: PSPad unicode 4.5.5 (2411) English

Posted by: Manfred62 | Date: 2011-02-15 17:59 | IP: IP Logged

@Jan
in settings/system integration you forgot to delete the string:
Editor pro Total Commander

regards Manfred

--
PSPad 4.5.9 (2525)

Options: Reply | Quote | Up ^


#7 Re: PSPad unicode 4.5.5 (2411) English

Posted by: Marten | Date: 2011-02-15 21:18 | IP: IP Logged

Dear Jan,

Unfortunately the C++ code explorer is worse than the one of version 2405.

Using the following file 8 non-existing operations are shown, but not the one existing operation (the constructor). The code explorer shows, among others, the operation: r( , which is complete nonsense (I'm sorry!)

OperationController::OperationController (
int prio,
Button & b,
Display & lcd,
BeeperHandler & bh,
MeasurementHandler & mh
) :
task (prio, "OperationCtrl"),
theButton (b),
theLcd (lcd),
theBeeperHnd (bh),
theMeasurementHnd (mh),
btnFlag (this, "btnFlag"),
stbTimer (this, "stbTimer")
{ }

Options: Reply | Quote | Up ^


#8 Re: PSPad unicode 4.5.5 (2411) English

Posted by: Manfred62 | Date: 2011-02-15 21:21 | IP: IP Logged

what about this hints at auto-complete?
forum.pspad.com

Quote:
francheu:
Hi Jan
The auto-complete is really nice, but I think it is somewhat difficult to make the window disappear, especially when deleting a word with backspace or simply when navigating in a line with the left/right arrow.

Is it possible to make the following keys escape from the auto-complete window:
- left/right
- backspace
- delete
................

I agree. Same discussion here:
forum.pspad.com

If possible, also CTRL S (save) would be helpful.

unfortunately backspace etc. isn't implemented?

Manfred

--
PSPad 4.5.9 (2525)

Options: Reply | Quote | Up ^


#9 Re: PSPad unicode 4.5.5 (2411) English

Posted by: GregDude | Date: 2011-02-16 00:02 | IP: IP Logged

Getting pop up with v2411:

"Confirmation"
"File contents were changed. Reload?"

My text file is located on a redirected network drive (ie. \\server\RedirectedFolders\name\MyDocuments\file.txt)
If I save the file, then Alt-Tab away from PSPad, do something, then Alt-Tab back, I get this message. File contents have not really changed.

Options: Reply | Quote | Up ^


#10 Re: PSPad unicode 4.5.5 (2411) English

Posted by: human | Date: 2011-02-16 08:04 | IP: IP Logged

To the keys that close auto-completion: This really depends on your needs. I like auto-complete during delete/backspace. The first build just didn't DO backspace/delete during AC but this is fixed now. Left/right keys leave the AC correct, too.

To the content changed message: I can reproduce this.
- It does not depend on whether PSPad was left/entered with Alt-Tab or in a different way.
- It makes no difference if you have a mapped network share (Z:\) or an UNC path \\Server\shared\folder.
- It makes no difference if the file was opened from explorer or PSPad's history.
- It seems that this problem only occurs on windows network shares (I couldn't reproduce this on a SAMBA share).

human

Options: Reply | Quote | Up ^


Goto Page: 1 2 3 Next





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