Reputation: 11
I have made a basic UDL in Notepad++ to comply with my way of writing pseudocode. However, one feature I need is for when I would write:
BEGIN Main
ExampleSub
END
BEGIN SUBPROGRAM ExampleSub
Display something...
END SUBPROGRAM ExampleSub
What I want is for Notepad++ to highlight the ExampleSub so that I know that it is a subprogram (kind of like how it highlights variables declared in PHP)
Thanks!
Upvotes: 1
Views: 2858
Reputation: 24617
Use SUBPROGRAM as the start of a delimiter and ((EOL)) as the end of the delimiter to highlight the SUBPROGRAM statement and everything after it. UDLs are not as powerful as built-in languages, so nested ExampleSub references are not counted.
Upvotes: 1