[Gambas-user] TextEdit and HTML

nospam.nospam.nospam at ...626... nospam.nospam.nospam at ...626...
Wed Oct 14 09:47:16 CEST 2009


On Wed, 2009-10-14 at 09:28 +0200, Matti wrote:
> Somewhere in the mailing archives I've read that a TextEdit could display HTML files "nicely".
> But how?
> 
> When I do
> textstr = File.Load("xyfile.html")
> TextEdit1.Text = textstr
> 
> a plain text is shown, without any formatting. All the HTML tags are ignored.
> And the special chars like äöß are displayed as rectangles.
> 
> Is there any way to tell TextEdit to use formatting and encoding?

TextEdit is for RichText.

RichText <> HTML.






More information about the User mailing list