Is there a function in Vimscript or a convention that allows you to simply print text to the editor? The function echo
only supplies a command line print function, and does not actually print to the editor.
When you say "print to the editor", I take it you mean "print to the current buffer". If that's correct, take a look at :help append()
.