On 4 April 2014 15:50, Allan Odgaard <mailinglist@textmate.org> wrote:

So if you don’t notice right away, how do you know it happened during paste?

It sounds like you are accidentally hitting escape in a PHP file, which, when there is no existing text, will insert the word.

Thanks. this seems very likely now and I can reproduce it.

The most recent time it occurred, I still had the file open and stepped back through my undo buffer. It gave the impression it had occurred during a paste 

I'll see if I can disable this autocomplete shortcut since I never use it intentionally.