[Info-vax] Notepad++ highlighting for DCL

Martin Vorländer martin.vorlaender at t-online.de
Sun Nov 3 11:56:44 EST 2019


Hein RMS van den Heuvel <heinvandenheuvel at gmail.com> wrote:
> On Wednesday, October 30, 2019 at 7:59:10 AM UTC-4, Jairo Alves wrote:
>> Do you guys use Notepad++ to edit DCL scripts?
>> 
>> I've had Notepad++ DCL highlighting for some time. I have made 
>> a very rudimentary syntax highlighting. In case anyone is interested, 
>> I'll leave it here.
>> 
>> <NotepadPlus>
>>     <UserLang name="DCL" ext="COM " udlVersion="2.1">
>>         <Settings>
>>             <Global caseIgnored="yes" allowFoldOfComments="no" 
...
> Defining quote and apostrophes each as begin and end delimiters can nicely highlight strings and certain symbol name usages... but then you must write clean dcl with strings and substituted symbol nicely terminate with quote/apos.
>
> That might look something like:
>             <Keywords name="Delimiters">00[ 01 02] 03( 04 05) 06" 07 08" 09' 10 11' 12 13 14: 15 16 17 18 19 20 21 22 23</Keywords>

I added a rule for "strings do end at EOL" with

            <Keywords name="Delimiters">00" 01 02" 03" 04 05(eol) 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>

but haven't found out how to define the escapng (doubling the quotes) and
continuation lines using "-" as the last character.

cu,
Martin



More information about the Info-vax mailing list