You are here: PSPad forum > Bug report / Hlášení chyb > Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Goto Page: 1 2 Next

#1 PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: Gabriel_ACE | Date: 2019-02-04 20:18 | IP: IP Logged

Hi!

pspad has a color bug.... the word SERVICE y ALL CASE must be en GREEN

because it is a perform's name (like 2110-MODIFICAR OR 2000-PROCESO-EXIT)

image
image

this is the CODE EXAMPLE

image

BEST REGARDS

Options: Reply | Quote | Up ^


#2 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: Gabriel_ACE | Date: 2019-02-05 20:44 | IP: IP Logged

nothing? :-S

Options: Reply | Quote | Up ^


#3 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: pspad | Date: 2019-02-05 20:53 | IP: IP Logged

I will fix it. Enough? winking smiley

Options: Reply | Quote | Up ^


#4 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: pspad | Date: 2019-02-06 16:17 | IP: IP Logged

Send me sample source code. I want to be sure I have correct amount of spaces e.t.c.
I am not Cobol programmer

Options: Reply | Quote | Up ^


#5 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: Gabriel_ACE | Date: 2019-02-07 15:59 | IP: IP Logged

pspad:
Send me sample source code. I want to be sure I have correct amount of spaces e.t.c.
I am not Cobol programmer

DONE!

when I was doing thats I realize thats COBOL HIGHLIGHTER have alot of bug

talking about PERFORM

in the example that I send to you there is error on

3000-END
1000-START
3000-PROCESS

in all cases the color are RED but need to be GREEN (like SERVICE )

this hapen when I used reserverd word in the PERFORMS's names

Options: Reply | Quote | Up ^


#6 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: Gabriel_ACE | Date: 2019-02-07 16:24 | IP: IP Logged

the are a lot of error in the last bug fix (295)

SORRY for bring bads news sad smiley

I will show you a correct example for PERFORM section:

image

Options: Reply | Quote | Up ^


#7 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: pspad | Date: 2019-02-07 18:20 | IP: IP Logged

You wrote you use reserved words as "perform" names. What does perform name means?
Why do you use reserved keywords as something else than it should be?

Options: Reply | Quote | Up ^


#8 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: Gabriel_ACE | Date: 2019-02-07 20:32 | IP: IP Logged

I usually do not use reserved words in those places. I realized this possibility when I read it in another forum thread about that. At that time I did a test and found these errors.

"perform" can have any kind of written text

The examples that I send to you are perfectly valid when compiling the code

when you use PERFORM xxxx

the computer jump thru another place in the source code, do all inside it and then
go back and continue execution (it 's something like "GO TO" in VISUAL BASIC, the only diferent is the GO BACK when finish to execute intruction into perform xxxxx)

I leave it to your discretion to do the update in PSPAD to consider this possibility

Again sorry for the bad news sad smiley sad smiley sad smiley sad smiley

You always do excelent work and PSPAD is the best cobol editor actually grinning smileygrinning smileygrinning smileygrinning smiley

Edited 1 time(s). Last edit at 2019-02-07 20:36 by Gabriel_ACE.

Options: Reply | Quote | Up ^


#9 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: Gabriel_ACE | Date: 2019-02-14 14:29 | IP: IP Logged

what do you think?

there are any chance thats you can fix it? sad smiley

Options: Reply | Quote | Up ^


#10 Re: PSPad unicode 5.0.1 (291)(32Bit) - BUG - COBOL HIGHLIGHTER

Posted by: pspad | Date: 2019-02-14 14:40 | IP: IP Logged

Yes, but I need some time for it.

Options: Reply | Quote | Up ^


Goto Page: 1 2 Next





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