You are here: PSPad forum > Developer forum - new builds > 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
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.
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.
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
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
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