mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Let key equivalent field pass unused key down events to super
This commit is contained in:
@@ -241,22 +241,10 @@ static NSString* const kRecordingPlaceholderString = @"…";
|
||||
else if(RecordingKeys.find(keyString) != RecordingKeys.end())
|
||||
self.recording = YES;
|
||||
else
|
||||
[self interpretKeyEvents:@[ anEvent ]];
|
||||
[super keyDown:anEvent];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)insertTab:(id)sender
|
||||
{
|
||||
if([[self window] firstResponder] == self)
|
||||
[[self window] selectNextKeyView:self];
|
||||
}
|
||||
|
||||
- (void)insertBacktab:(id)sender
|
||||
{
|
||||
if([[self window] firstResponder] == self)
|
||||
[[self window] selectPreviousKeyView:self];
|
||||
}
|
||||
|
||||
- (void)drawRect:(NSRect)aRect
|
||||
{
|
||||
NSRect frame = [self bounds];
|
||||
|
||||
Reference in New Issue
Block a user