radiant/radiant — pull request #331 by anchor (2012-04-11 11:51:17+00:00)
Title: Unbreak handling of Ctrl-RightArrow in the editor window

I use Ctrl+ArrowKeys heavily when editing text to jump word-by-word, and noticed that Radiant's editor breaks jump-forward functionality - nothing happens.

After digging around for a while I nailed it to the accesskey handler. It will attempt to find accesskeys anywhere on the page, even nonsensical ones. While not a perfect solution, this fixes my immediate issue.

I think a proper solution would require sanity-checking the incoming keyCode values, as noted in the patch.