I've tried various options to get folding to work on this bit of ASN.1 but
I can't get { or } to work as BeginBlock or EndBlock, respectively, when
next to a token (as below). [snippet from ULP-Components ASN.1 from the RRLP spec].
I've tried including them as operators but that just makes them fail to
mark blocks elsewhere.
If I choose 'C' as a language I get the folding correctly. I tried downloading
the awk user defined language but that had the same problems I'm seeing with my
own definitions.
Am I doing something stupid?
Thanks,
Graham
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, you're not... I'm experiencing the same thing with an other language (maxscript). Looks like user defined languages don't fold very well... Sure hope someone will fix it!
-Johan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello people,
I've tried various options to get folding to work on this bit of ASN.1 but
I can't get { or } to work as BeginBlock or EndBlock, respectively, when
next to a token (as below). [snippet from ULP-Components ASN.1 from the RRLP spec].
SetSessionID ::= SEQUENCE {sessionId INTEGER(0..65535),
setId SETId}
I've tried including them as operators but that just makes them fail to
mark blocks elsewhere.
If I choose 'C' as a language I get the folding correctly. I tried downloading
the awk user defined language but that had the same problems I'm seeing with my
own definitions.
Am I doing something stupid?
Thanks,
Graham
No, you're not... I'm experiencing the same thing with an other language (maxscript). Looks like user defined languages don't fold very well... Sure hope someone will fix it!
-Johan