mirror of
https://github.com/textmate/textmate.git
synced 2026-01-22 21:27:56 -05:00
Use literal ‘⇥’ instead of ‘\u21E5’
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
|
||||
NSFont* font = self.menu.font ?: [NSFont menuFontOfSize:0];
|
||||
[attributedTitle appendTableCellWithString:self.title table:table textAlignment:NSLeftTextAlignment verticalAlignment:NSTextBlockMiddleAlignment font:font row:0 column:0];
|
||||
[attributedTitle appendTableCellWithString:[NSString stringWithCxxString:(" "+aTabTrigger+"\u21E5")] table:table textAlignment:NSRightTextAlignment
|
||||
[attributedTitle appendTableCellWithString:[NSString stringWithCxxString:(" "+aTabTrigger+"⇥")] table:table textAlignment:NSRightTextAlignment
|
||||
verticalAlignment:font.pointSize >= 13 ? NSTextBlockBottomAlignment : NSTextBlockMiddleAlignment
|
||||
font:[NSFont menuBarFontOfSize:floor(font.pointSize * 0.85)] row:0 column:1];
|
||||
NSString* plainTitle = self.title;
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
nil];
|
||||
HighlightRangesWithAttribute(attrStr, FLMatchingTextAttributeName, highlightAttributes);
|
||||
|
||||
[attrStr appendAttributedString:[[[NSAttributedString alloc] initWithString:@"\u21E5" attributes:nil] autorelease]];
|
||||
[attrStr appendAttributedString:[[[NSAttributedString alloc] initWithString:@"⇥" attributes:nil] autorelease]];
|
||||
CFTypeRef str = (CFAttributedStringRef)attrStr;
|
||||
|
||||
HIThemeTextInfo textInfo = { kHIThemeTextInfoVersionZero, kThemeStateActive, kThemeSmallSystemFont, kHIThemeTextHorizontalFlushRight, kHIThemeTextVerticalFlushCenter, 0, kHIThemeTextTruncationNone, 1, 0 };
|
||||
|
||||
Reference in New Issue
Block a user