Just a minor bug that's easy to work around. If the last line of your code is an ENDSUB / ENDFUNCTION (rather than a blank line) and you insert a Sub or Function with the mouse, the new sub/function will be placed before the final ENDSUB in the code rather than after it.
Rather than fixing this, I'd prefer you changed it so that the new function/sub was inserted wherever the cursor is.