mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Make all tabSize properties use NSUInteger as their type
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
@property (nonatomic) NSString* fileType; // This will update grammarName
|
||||
@property (nonatomic, getter = isRecordingMacro) BOOL recordingMacro;
|
||||
@property (nonatomic) BOOL softTabs;
|
||||
@property (nonatomic) int32_t tabSize;
|
||||
@property (nonatomic) NSUInteger tabSize;
|
||||
|
||||
@property (nonatomic, weak) id <OTVStatusBarDelegate> delegate;
|
||||
@property (nonatomic, weak) id target;
|
||||
|
||||
@@ -306,10 +306,10 @@ static NSMenuItem* OakCreateIndentMenuItem (NSString* title, SEL action, id targ
|
||||
|
||||
- (void)updateTabSettings
|
||||
{
|
||||
self.tabSizePopUp.title = [NSString stringWithFormat:@"%@:\u2003%d", _softTabs ? @"Soft Tabs" : @"Tab Size", _tabSize];
|
||||
self.tabSizePopUp.title = [NSString stringWithFormat:@"%@:\u2003%lu", _softTabs ? @"Soft Tabs" : @"Tab Size", _tabSize];
|
||||
}
|
||||
|
||||
- (void)setTabSize:(int32_t)size
|
||||
- (void)setTabSize:(NSUInteger)size
|
||||
{
|
||||
_tabSize = size;
|
||||
[self updateTabSettings];
|
||||
|
||||
@@ -38,7 +38,7 @@ PUBLIC @interface OakTextView : OakView
|
||||
@property (nonatomic) CGFloat fontScaleFactor;
|
||||
@property (nonatomic) BOOL antiAlias;
|
||||
@property (nonatomic) OTVFontSmoothing fontSmoothing;
|
||||
@property (nonatomic) size_t tabSize;
|
||||
@property (nonatomic) NSUInteger tabSize;
|
||||
@property (nonatomic) BOOL showInvisibles;
|
||||
@property (nonatomic) BOOL softWrap;
|
||||
@property (nonatomic) BOOL scrollPastEnd;
|
||||
|
||||
Reference in New Issue
Block a user