[Gambas-user] Add ToConsole to TextHighlighter class in gb.eval.highlight
brian at westwoodsvcs.com
Tue Jul 7 17:01:48 CEST 2020
Sorry, how did the attachment look. I checked it here seems fine
Not sure what is going wrong
Brian Tuesday, 07 July 2020, 01:11AM -07:00 from Benoît Minisini g4mba5 at gmail.com :
>Le 07/07/2020 à 00:25, Brian G a écrit :
> I would like to add a function :
> Public Sub ToConsole(Text As String, Optional Styles As
> TextHighlighterStyle) As String
> Into the TextHighlighter class in gb.eval.highlight
> Then submit it for merge.
> I have attached the code to this email if anyone wants to review it.
> IThe code is basically an edit of the ToHtml() function.
> Would anyone object to having this function added?
> I have tested it with, LXTerminal, Mate terminal, UXTerminal, xTerm
> Konsole and gnome-terminal
> All work as expected.
> Thank You
> Brian G
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>Please post a readable attachment if you want us to look at it.
>Anyway, I can tell you that if your code is not terminal-agnostic, it
>can't go as is inside TextHighlighter.
>----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User