Merge branch 'tabstop_shift' of https://github.com/beru/nana into beru-hotfixes-1.0.1

This commit is contained in:
Jinhao
2015-04-22 00:07:54 +08:00

View File

@@ -1384,7 +1384,7 @@ namespace detail
{
if((wParam == 9) && (false == (msgwnd->flags.tab & tab_type::eating))) //Tab
{
auto the_next = brock.wd_manager.tabstop(msgwnd, true);
auto the_next = brock.wd_manager.tabstop(msgwnd, (::GetKeyState(VK_SHIFT) >= 0));
if(the_next)
{
brock.wd_manager.set_focus(the_next, false);