Syntax Colouring Limit?
Syntax Colouring Limit?
Commenting out a block of code with nested comments, I seem to have run into a limitation of the syntax colouring related to comments, see screenshot. It's purely "cosmetic", as the compiler recognises the comments correctly.
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: Syntax Colouring Limit?
We did only allow for two levels of nested comments when we designed the syntax-colouring feature of Astrobe. If you want to increase this limit to three levels, unzip the attached file and replace the corresponding file, Oberon.xml, in the Program Files folder where your Astrobe executable is located. Your example will then be coloured as you expected it to be.
- Attachments
-
- OberonXML.zip
- Oberon Syntax-Colouring Definition file
- (1.63 KiB) Downloaded 2314 times
Re: Syntax Colouring Limit?
Thanks! However, I do not get this working OMM, ie. I still see the same colouring as before. I replaced the file and restarted Astrobe. Do I need to reset any preference setting? I still have the personal edition installed in addition to the professional one -- could this interfere?
-
- Site Admin
- Posts: 525
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: Syntax Colouring Limit?
Make sure you are logged in as an administrator when you copy the file - Windows doesn't like you manually storing files in the Program Files folder. Double-check that it has replaced the original. Replace the copy in the Program Files folder for your Personal Edition as well just to make sure.
Alternatively, if it is still not working rename the new file OberonCustom.xml and store that in your Program Files folders. Astrobe should read that one first.
Alternatively, if it is still not working rename the new file OberonCustom.xml and store that in your Program Files folders. Astrobe should read that one first.
Re: Syntax Colouring Limit?
Thanks. Renaming the file as advised does the trick.