Your comments

The sql highlighting is ok (well, it's good actually) – what I'd like to do is to display results in a non text-only view (eg: formatted as an html table would be ok, as long as I can then use javascript to add sorting, filtering or other behavior)

Opening up a browser could be a workaround of course, but having the results in the same application (even a popup could do) would be waaaay better – think of how often you run a query to test it and then quickly come back to edit it: do you really want to have to alt/cmd+tab to get back to your editor?