icsharpcode/SharpDevelop — pull request #326 by galich (2014-01-29 18:23:31+00:00)
Title: fast Ctrl[+Shift]+Tab will not be ignored

Quickly pressing Ctrl+Tab/Ctrl+Shift+Tab is often ignored.

This is happening because KeyDown is used to turn on navigator window and KeyUp is used to both intercept keys and turn navigator window off. When Ctrl+Tab pressed quickly KeyDown turn navigator window on, but there is no KeyUp for Ctrl+Tab (it's just Tab).

Proposed fix use PreviewKeyDown to activate and intercept navigator window keys; PreviewKeyUp to deactivate navigator window.

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the #develop open source product (the "Contribution"). My Contribution is licensed under the MIT License.