Or do you mean you're working on a bundle and want to move the cursor in file from there?
On Feb 10 2016, at 5:59 pm, Gary Ash <gary.ash@icloud.com> wrote:

Hello,
I’m working on textmate 2 command that will process data from a file and insert some some information into the activate textmate document
I’ve got the bulk of the job working pretty well except I’d like to ensure the data is allows added to the top of the file. Can anyone tell me how to ensure the cursor is at the top of the document before I insert my data?

Thanks for any help
Gary

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate