Add comments translating code points

This commit is contained in:
Allan Odgaard
2012-09-25 15:15:09 +02:00
parent 71c1febc34
commit 2edf3bb56e

View File

@@ -308,9 +308,9 @@ static id SafeObjectAtIndex (NSArray* array, NSUInteger index)
{
// this should be in the window controller, but there we need subclassing mojo to get key events
std::string const keyStr = to_s(anEvent);
if(keyStr == "~@\uF702")
if(keyStr == "~@\uF702") // ⌥⌘⇠
return [NSApp sendAction:@selector(selectPreviousTab:) to:nil from:self];
else if(keyStr == "~@\uF703")
else if(keyStr == "~@\uF703") // ⌥⌘⇢
return [NSApp sendAction:@selector(selectNextTab:) to:nil from:self];
return NO;
}