codeeditor: print it only inserts results at the end of selection