<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><style></style></div><div>I have attached a copy again with a different encoding I hope this is better.</div><div><br data-mce-bogus="1"></div><div>The code is completely terminal agnostic and uses only well published escape sequences.</div><div><br data-mce-bogus="1"></div><div>So here is the code again, It has functioned correctly on every single terminal I have tested it upon( that is all I could find in linux domain),</div><div>Except the console page of Gambas IDE where it only displayed what looked like shades of grey, bold and underline. but did not fail.</div><div><br data-mce-bogus="1"></div><div>I also attach a text application project source code archive.</div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__">Thank You<br>Brian G</div><div><br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div id="mail-app-auto-default-signature">
</div>Tuesday, 07 July 2020, 01:11AM -07:00 from Benoît Minisini <a href="mailto:g4mba5@gmail.com" target="_blank">g4mba5@gmail.com</a>:<br><br><blockquote id="mail-app-auto-quote" cite="15941094760000018312" style="border-left:1px solid #0878BD; margin:0px 0px 0px 10px; padding:0px 0px 0px 10px;">
<div class="js-helper js-readmsg-msg">
<div>
<div id="style_15941094760000018312_BODY">Le 07/07/2020 à 00:25, Brian G a écrit :<br>
> I would like to add a function :<br>
> <br>
> Public Sub ToConsole(Text As String, Optional Styles As <br>
> TextHighlighterStyle[]) As String<br>
> <br>
> Into the TextHighlighter class in gb.eval.highlight<br>
> <br>
> Then submit it for merge.<br>
> <br>
> I have attached the code to this email if anyone wants to review it.<br>
> IThe code is basically an edit of the ToHtml() function.<br>
> <br>
> Would anyone object to having this function added?<br>
> I have tested it with, LXTerminal, Mate terminal, UXTerminal, xTerm <br>
> Konsole and gnome-terminal<br>
> All work as expected.<br>
> <br>
> Thank You<br>
> Brian G<br>
> <br>
> <br>
> ----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
> <br>
<br>
Please post a readable attachment if you want us to look at it.<br>
<br>
Anyway, I can tell you that if your code is not terminal-agnostic, it <br>
can't go as is inside TextHighlighter.<br>
<br>
Regards,<br>
<br>
-- <br>
Benoît Minisini<br>
<br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
</div>
</div>
</div>
</blockquote><br></div></div></body></html>