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

PSPad unicode 5.0.7 (751) English

Goto Page: Previous1 2

#11 Re: PSPad unicode 5.0.7 (751) English

Posted by: Gabriel_ACE | Date: 2023-02-13 18:20 | IP: IP Logged

hi!

can you make that pspad Cobol highlighter - extended Code Folding capabilities

for reserve word EVALUATE ??

example

EVALUATE true
when a = b
display "hello world1"
when b = c
display "hello world2"
when d = e
display "hello world3"
when OTHER
display "HAHAHA"
END-EVALUATE

then Code Foldin:

EVALUATE true
when a = b
when b = c
when d = e
when other
END-EVALUATE

other example for evaluate

EVALUATE variable
when "hi"
display "hello world1"
when 123456
display "hello world2"
when "psapad"
display "hello world3"
when OTHER
display "HAHAHA"
END-EVALUATE

EVALUATE variable
when "hi"
when 123456
when "psapad"
when OTHER
END-EVALUATE

Options: Reply | Quote | Up ^


#12 Re: PSPad unicode 5.0.7 (751) English

Posted by: pspad | Date: 2023-02-15 08:05 | IP: IP Logged

For code folding is hard to fold thing what starts with something (e.g. When) without any end - here is no end of when. For such thing is necessary to use code parsing e.t.c.

I will look what I can do.

Options: Reply | Quote | Up ^


#13 Re: PSPad unicode 5.0.7 (751) English

Posted by: pspad | Date: 2023-02-15 09:00 | IP: IP Logged

Freeman:
pspad:
What do you prefer? possibility to switch off highlighting of current tab or possibility to choose color?

Both. smiling smiley

OK
Program settings / Colors - Current tab changes top highlight color of the current file tab
Program settings / Direct edit - HighlughtCurrentFileTab=0 switches off top highlight of the current file tab

Options: Reply | Quote | Up ^


#14 Re: PSPad unicode 5.0.7 (751) English

Posted by: Gabriel_ACE | Date: 2023-02-23 18:23 | IP: IP Logged

Thank you so much!

I hope you have success, it is a very important function

Options: Reply | Quote | Up ^


Goto Page: Previous1 2





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