Copy the text to the clipboard, then File -> Import HISE Snippet.