diff options
Diffstat (limited to 'Source/ImageAndTextCell.m')
-rw-r--r-- | Source/ImageAndTextCell.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/ImageAndTextCell.m b/Source/ImageAndTextCell.m index ddcf05d7..d67b45be 100644 --- a/Source/ImageAndTextCell.m +++ b/Source/ImageAndTextCell.m @@ -66,7 +66,7 @@ [super editWithFrame:aRect inView: controlView editor:textObj delegate:anObject event:theEvent]; } -- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(int)selStart length:(int)selLength +- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(NSInteger)selStart length:(NSInteger)selLength { if (_indentationLevel != 0) { NSRect indentationFrame; @@ -167,12 +167,12 @@ return cellSize; } -- (void)setIndentationLevel:(int)level +- (void)setIndentationLevel:(NSInteger)level { _indentationLevel = MAX(0,level); } -- (int)IndentationLevel +- (NSInteger)IndentationLevel { return _indentationLevel; } |