The current query editor submits the entire “editor” content as a query.

When authoring queries, I often find myself testing different bits and pieces, where the option to “execute selection” as a query would be nice to have. At the moment this can be worked around by using either an external editor/textedit/etc or by commenting/uncommenting stuff I don’t want to run.