formatting HTML in a gtksourceview widget

Dirk Koopman djk at tobit.co.uk
Wed May 26 16:23:41 BST 2010


I've been at the gtk-perl again...

I have some (pre-parsed) HTML as a one line scalar (actually generated 
from a browser DOM). I wish to display this as nice formatted and 
highlighted HTML in a gtk window. Tried plain Gtk2::SourceView, but that 
seems to give me the one long line I started with.

So it seems I shall have to format it first. HTML::Tidy seems only to do 
checking.

Any suggestions?

Dirk


More information about the london.pm mailing list