If you have 0 functions in the script, and then click the function windowpane, goodbye oEUO instance. It closes down and doesn't ask you to save anything.
If you use anonymous functions, it doesn't pick those up. Be cool if it could because then it would even track event handlers like OnClick/OnClose/OnChange.
i.e.
local it = function() return end
I'm not sure how you did this, if it's regex picking up the word function, then this might not be a huge change. If it is, I can live because I don't use a TON of functions like this.