use Editor.show_message instead of print