How would I best go about importing a disk-based plain text file to a texteditor.gadget? I mean, other than read text from the file and copy it to a memory buffer. The autodoc says that GA_TEXTEDITOR_Contents can take a filehandle when I set my own GA_TEXTEDITOR_ImportHook, but a comment to the latter tag says that custom import hooks are currently not supported. Also, the autodoc mentions "GM_TEXTEDITOR_Import" (and "GM_TEXTEDITOR_Export" as well) without any other reference. So I'm a bit puzzled here.
Fri, 2011-04-08 13:54#1
Importing text in texteditor.gadget