[[ Bug 13836 ]] Unable to uncomment lines of code via keyboard shortcut

Unsure about this bugfix: the call to menuNeedsUpdate might be needed, but it definitely is the cause of the bug 13836 (and maybe 13828 as well)