Page 1 of 1

AmigaOS Syntax Highlighting

Posted: Mon Nov 09, 2015 8:16 pm
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

Re: AmigaOS Syntax Highlighting

Posted: Tue Nov 10, 2015 12:14 am
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