AmigaOS Syntax Highlighting

Discuss any general programming issues here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

AmigaOS Syntax Highlighting

Post by djrikki »

Hello,

Any clue how to include AmigaDOS Escape character sequences in a DebugPrint() call?

http://wiki.amigaos.net/wiki/AmigaOS_Ma ... _Sequences

E.g. Make a line of text Bold
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
Allanon
Posts: 732
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: AmigaOS Syntax Highlighting

Post by Allanon »

The escape character is the ASCII code 27 IIRC
but you can have almost all escape sequences out of the box using my ANSI lib :)
The text in the picture is obtaioned using the Term.Print() function that uses the DebugPrint() and ANSI escape sequences with a lot more features ;)

You can also redefine sequences that are all stored in the ANSI.Code subtable
Post Reply