Page 1 of 1
Syntax Colouring Limit?
Posted: Mon Jun 10, 2019 12:20 pm
by gray
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.
- Screenshot Editor
- Capture.PNG (9.289999999999999 KiB) Viewed 47245 times
Re: Syntax Colouring Limit?
Posted: Wed Jun 12, 2019 12:29 pm
by cfbsoftware
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.
Re: Syntax Colouring Limit?
Posted: Fri Jun 14, 2019 11:02 am
by gray
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?
Re: Syntax Colouring Limit?
Posted: Fri Jun 14, 2019 1:38 pm
by cfbsoftware
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.
Re: Syntax Colouring Limit?
Posted: Sat Jun 15, 2019 3:54 am
by gray
Thanks. Renaming the file as advised does the trick.