Fixed Editor.insertSelectedText
Improving list_to_string