Update edit target on tab

This commit is contained in:
Matthias Neeracher 2011-09-13 05:12:59 +02:00
parent ec27e877b0
commit dfb0d60b4c

View File

@ -921,9 +921,11 @@ const float kSemiFloor = -1.0f*kLineH;
switch ([[[note userInfo] objectForKey:@"NSTextMovement"] intValue]) {
case NSTabTextMovement:
[editable moveToNext];
[self updateEditTarget];
break;
case NSBacktabTextMovement:
[editable moveToPrev];
[self updateEditTarget];
break;
case NSReturnTextMovement:
[self setEditTarget:nil];