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

Re: PSPad unicode 5.0.7 (721) English

Goto Page: 1 2 3 Next

#1 PSPad unicode 5.0.7 (721) English

Posted by: pspad | Date: 2021-12-19 16:00 | IP: IP Logged

Download links, 32b version is suggested:
www.fosshub.com
pspad.poradna.net
PSPad 64 bit version doesn't contains scripting yet.
pspad.poradna.net

SHA1 hash:
229ad2759fd0c47ee6bd83a5c52be01470404170 pspad507b721.zip
63f0ccb27232291c0f9910a233a7fa0edca0e7e1 pspad507b721x64.zip

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

Changes to 5.0.7 (717)

News:
Modified lines indication
Copy formated text - new function in the Edit menu or editor context menu allows you copy highlighted text into richtext format editor, e.g. Word

Fixes:
Windows shell script highlighter
Parameter /F doesn't start from the begin but from cursor position
Restore files doesn't restore last active file tab
Other fixes reported by users

Options: Reply | Quote | Up ^


#2 Re: PSPad unicode 5.0.7 (721) English

Posted by: Gabriel_ACE | Date: 2021-12-21 16:26 | IP: IP Logged

Excelent work!!!

but I found a bug

when you move cursor using arrow to left or right the vertical line dont' move
when you are in a part of the document that's not have string, but the cursor does

any way

Can you add an option that block vertical selection? becaus when I copy from another place (like terminal emulator), I need to paste in pspad many times in the same formart

but when I paste selection in pspad always return to defalt selection mode

Best Regards

Options: Reply | Quote | Up ^


#3 Re: PSPad unicode 5.0.7 (721) English

Posted by: pspad | Date: 2021-12-21 18:12 | IP: IP Logged

It's already fixed, wait for the next build.

According to block style selection. In program settings / Editor 1 switch off option:
Alt sets column mode
This will switch off return to normal by clicking mouse

Options: Reply | Quote | Up ^


#4 Re: PSPad unicode 5.0.7 (721) English

Posted by: Gabriel_ACE | Date: 2021-12-21 18:16 | IP: IP Logged

THK!!!!!!!!!!! grinning smileygrinning smileygrinning smileygrinning smileygrinning smileygrinning smileygrinning smileygrinning smileygrinning smiley

Options: Reply | Quote | Up ^


#5 Re: PSPad unicode 5.0.7 (721) English

Posted by: Lolo Irie | Date: 2021-12-22 10:27 | IP: IP Logged

Juste want to write here.........
I love the "Modified lines indication" feature. Well done (one more time) !!!

Options: Reply | Quote | Up ^


#6 Re: PSPad unicode 5.0.7 (721) English

Posted by: Gabriel_ACE | Date: 2021-12-22 17:54 | IP: IP Logged

I would like to make one more request

I would like the highlighter for cobol to have the ability to collapse the code between "performs"

I would also like that for the "if", "evaluate", etc.

for example all reserver word like if, evaluate, perform end with END-IF, END-EVALUATE
END-PERFORM

IF variable = variable 2
do stuff
ELSE
do other stuff
END-IF

same for

EVALUATE variable
when 10
do stuff
when 1000
do stuff
END-EVALUATE

perform is like FOR or WHILE

PERFORM varying i from 1 by 1
until i > 100

do stuff
END-PERFORM

PERFORM
until variable = "end"

do stuff

END-PERFORM

STRING ......
END-STRING

ACCEPT
END-ACCEPT

WRITE
END-WRITE

EXEC
END-EXEC

READ
END-READ

ALL USE END-... to end the sentence

can you do that? pleeeeeeaaaaaase winking smileywinking smileywinking smileywinking smileywinking smileywinking smiley

Options: Reply | Quote | Up ^


#7 Re: PSPad unicode 5.0.7 (721) English

Posted by: pspad | Date: 2021-12-22 18:09 | IP: IP Logged

Yes, I can add it.

I need more complex code source example. Can you send me some?

And as I looked into my samples library, I can't add contruction like PERFORM e.t.c. what can be without END-PERFORM, cause it breaks code folding.
So I need list of commands, where end of command is mandatory, like IF END-IF

Edited 1 time(s). Last edit at 2021-12-22 19:06 by pspad.

Options: Reply | Quote | Up ^


#8 Re: PSPad unicode 5.0.7 (721) English

Posted by: Gabriel_ACE | Date: 2021-12-22 23:14 | IP: IP Logged

ok this is the complete list of reserver word that can uses thas feature

IF variable = variable 2
do stuff
ELSE
do other stuff
END-IF

same for

EVALUATE variable
when 10
do stuff
when 1000
do stuff
END-EVALUATE

ADD variable to variable2 end-add

call "program" using variable returning variable2 END-CALL

COMPUTE variable = 2 + 2 END-COMPUTE

DELETE file
ON INVALID KEY
what to do
NOT ON INVALID KEY
what to do
END-DELETE

DIVIDE variable into variable2 GIVING variable3 END-DIVIDE

INVOKE "ssssss" using variable returning variable2 END-INVOKE

MULTIPLY variable by variable2 end-multiply

READ file
at end
what to do
not at end
what to do
END-READ

SEARCH variable
at end
do stuff
when variable(indice-index) = "hi!!"
do stuff
END-search

WRITE file from variable
END-WRITE

REWRITE file from variable
END-REWRITE

start file key not less variable
END-START

STRING "HI" delimited by sice
"I AM GABRIEL" delimited by sice
END-STRING

ACCEPT variable from promt
END-ACCEPT

SUBTRACT variable from variable2 END-SUBTRACT

UNSTRING variable delimited by "-"
into variable2
into variable3
end-UNSTRING

EXEC CICS

do STUFF

END-EXEC

EXEC SQL
SELECT column1
INTO variable1
from table
where a= 3
END-EXEC

perform is like FOR or WHILE

PERFORM varying i from 1 by 1
until i > 100

do stuff
END-PERFORM

PERFORM
until variable = "end"

do stuff

END-PERFORM

THIS IS ALL

I use this link to find all sintax example

RESERVER WORD
www.ibm.com

SINTAXIS RESERVER WORDS
www.ibm.com

if you need something more tell me!! grinning smiley

Options: Reply | Quote | Up ^


#9 Re: PSPad unicode 5.0.7 (721) English

Posted by: pspad | Date: 2021-12-23 05:59 | IP: IP Logged

Yes, but some construction doesn't need mandatory END. Something like:

IF something
PERFORM something
END-IF

This construction break code folding, because I am not able recognize end
And such constructions can be more, not PERFORM only

Options: Reply | Quote | Up ^


#10 Re: PSPad unicode 5.0.7 (721) English

Posted by: Gabriel_ACE | Date: 2021-12-23 11:01 | IP: IP Logged

You are mistaken.

everyone needs the "END"

what happens is that in "COBOL"

you can close an instruction with a period

for example

IF variabe = 10
do stufff .

or

evaluate variable
when "HI"
do STUFF .

it is a specific property of cobol to be able to end any sentence with a period

but it is not the idea since it tends to cause programming errors

for example you can pass the following error

FINE:

IF variable = 100
DISPLAY "HELLO WORD"
DISPLAY "MERRY CRISMAS"
END-IF

NOT FINE:

IF variable = 100
DISPLAY "HELLO WORD" .
DISPLAY "MERRY CRISMAS"

in the first example display only work when variable = 100

IF NOT the result is empty

and the second example if variable not = 100

the result display is "MERRY CRISMAS" because the "." close sentence before thats display

it is a common mistake

because old programmers are used to using "." at the end of each sentence

thing that is not necessary

the best way is always using END-XXX in all structure

Options: Reply | Quote | Up ^


Goto Page: 1 2 3 Next





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