SuperBASIC syntax colour file for BBEdit/TextWrangler
Posted: Thu Mar 06, 2014 12:32 pm
Hello,
If anyone is using a Mac and does any SuperBASIC coding (or just wants to look at SuperBASIC files) on that platform, I have created a SuperBASIC / SBASIC / Toolkit syntax colour file for those editors.
It can be found here: http://www.shimeril.com/public/qlsuperbasictw.zip
Please read the .readme file for instructions on how to install it. Once installed, you need to give your BASIC file a .bas or .sbas extension (I have not figured out how to get it to recognise _bas yet)
Once installed, you get nicely colour-coded SuperBASIC, and as a bonus, I have managed to figure out the regex for it to recognise procedures and functions so these get added to the functions pop up menu, allowing you to navigate quickly through your code.
(I'd suggest setting the function list to sort alphabetically - I find this much more logical than the default sort (functions appearing in the order they are defined). You can do this in Preferences/Appearance)
The file contains numerous toolkits and older emulator keywords too. I have commented these out as the odds of anyone having all the toolkits loaded and being in an old emulator are rather slim. To enable them, edit the file in a text editor (eg TextWrangler or BBEdit themselves) and remove the <!-- and --> tags form around the sections you want to enable
If anyone is using a Mac and does any SuperBASIC coding (or just wants to look at SuperBASIC files) on that platform, I have created a SuperBASIC / SBASIC / Toolkit syntax colour file for those editors.
It can be found here: http://www.shimeril.com/public/qlsuperbasictw.zip
Please read the .readme file for instructions on how to install it. Once installed, you need to give your BASIC file a .bas or .sbas extension (I have not figured out how to get it to recognise _bas yet)
Once installed, you get nicely colour-coded SuperBASIC, and as a bonus, I have managed to figure out the regex for it to recognise procedures and functions so these get added to the functions pop up menu, allowing you to navigate quickly through your code.
(I'd suggest setting the function list to sort alphabetically - I find this much more logical than the default sort (functions appearing in the order they are defined). You can do this in Preferences/Appearance)
The file contains numerous toolkits and older emulator keywords too. I have commented these out as the odds of anyone having all the toolkits loaded and being in an old emulator are rather slim. To enable them, edit the file in a text editor (eg TextWrangler or BBEdit themselves) and remove the <!-- and --> tags form around the sections you want to enable