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 ;-);-);-);-);-);-)

-- 
<https://forum.pspad.com/read.php?6,76984,77009>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem