Add support for backtab character.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31026 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2010-07-25 20:51:40 +00:00
parent 7c984daa0b
commit 7957a90007
5 changed files with 33 additions and 3 deletions

View file

@ -3218,6 +3218,13 @@ resetCursorRectsForView(NSView *theView)
return;
}
// If this is a BACKTAB event, move to the previous key view
if (character == NSTabCharacter)
{
[self selectPreviousKeyView: self];
return;
}
// If this is a TAB or TAB+SHIFT event, move to the next key view
if (character == NSTabCharacter)
{