Re: [Pharo-users] XML Viewer and XML syntax highlighting

2015-09-17 Thread Tudor Girba
Indeed, you need a parser and afterwards you can use the same approach as I used for the styling Pillar in Rubric: http://www.humane-assessment.com/blog/writing-pillar-books-with-the-gtinspector/ Cheers, Doru On Fri, Sep 18, 2015 at 12:20 AM, monty wrote: > What's needed is a highlight/styling

Re: [Pharo-users] XML Viewer and XML syntax highlighting

2015-09-17 Thread monty
What's needed is a highlight/styling widget that works with GT that can also be treated like an ordinary write stream. Then you subclass XMLPrettyPrintingWriterFormatter and override the formatting messages to style the stream differently at certain points (like before a start tag, after a star

[Pharo-users] XML Viewer and XML syntax highlighting

2015-09-17 Thread Peter Uhnák
Hi, do we have some nice(r) XML viewer? GTInspector provides tree extension, however I find it often worse than looking at the raw contents (mainly because the tree view doesn't break lines) So my question is: do we have something better? And second (if we don't have something better): How woul