Trim selection
Trim the current selection of the editor.