2244: Stop editing current sub when enter is pressed
Merge pull request #187 from pculture/i-2244

2244: Stop editing current sub when enter is pressed