Unbreak handling of Ctrl-RightArrow in the editor window #331

Merged
merged 1 commit into from Aug 27, 2012

Conversation

Projects
None yet
2 participants
@ghost
Contributor

ghost commented Apr 11, 2012

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.

@saturnflyer saturnflyer added a commit that referenced this pull request Aug 27, 2012

@saturnflyer saturnflyer Merge pull request #331 from anchor/patch-1
Unbreak handling of Ctrl-RightArrow in the editor window
c21d7df

@saturnflyer saturnflyer merged commit c21d7df into radiant:master Aug 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment