select specific text within an editor
pass in html queries to select
tidy up