Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : (MM-DM) Coloured Syntax
Author | Message | ||||
rhamer Senior Member Joined: 06/06/2011 Location: AustraliaPosts: 174 |
Folks, I have created some syntax markup files for Crimson/Emerald editor. This enables the writing of files that come up in pretty colours, and make it easier to read. See the shot below for an example. I will post the files when I get home along with instructions on how to use them. Cheers Rohan Rohan Hamer HAMFIELD Software & Hardware Solutions Makers of the Maximite Expander. http://www.hamfield.com.au |
||||
rhamer Senior Member Joined: 06/06/2011 Location: AustraliaPosts: 174 |
Ok, Emerald Editor is a later version of Crimson Editor, and open source code editor. it can be downloaded from here http://www.emeraldeditor.com/ Interestingly it is still called Crimson Editor. Once you install it, you need to copy the attached files into the correct directorys 2011-11-29_185214_CrimsonEditor.zip The files are; DM-Basic.key DM-Basic.spc These 2 go in the c:\program files\crimson editor\spec\ directory. extension.bas firstline.basic These 2 go in the c:\program files\crimson editor\link\ directory. To use them you can either save your source file with the .bas extension or put DM-Basic somewhere in the first line of the file. e.g. 10 REM DM-Basic. This tells Crimson Editor what syntax file to use. When you run crimson editor and open the source file, it should auto detect the syntax type and apply the colours automatically. if it doesent choose Document->Syntax Type->Auto Detect from the menu and all should be good. These files are easily editable and can be changed to suit your preferences, the help file shows you how. These are my first go and can probably use some more tweaking over time. BTW after I have written my code, I just right click, select all, and copy/paste it into Terra Term to download it to the Maximite. Cheers Rohan Rohan Hamer HAMFIELD Software & Hardware Solutions Makers of the Maximite Expander. http://www.hamfield.com.au |
||||
Print this page |