Evaluates selection and inserts output back into the editor