[Refactoring] Removed show code generation window from the context
menu.
Fixed 'Bug 15080 - Exception in text editor chain'.