diff options
Diffstat (limited to 'Source/NoodleLineNumberView.h')
-rw-r--r-- | Source/NoodleLineNumberView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/NoodleLineNumberView.h b/Source/NoodleLineNumberView.h index 85316dd0..45f33c00 100644 --- a/Source/NoodleLineNumberView.h +++ b/Source/NoodleLineNumberView.h @@ -41,7 +41,7 @@ NSColor *backgroundColor; // Add support for selection by clicking/dragging - unsigned dragSelectionStartLine; + NSUInteger dragSelectionStartLine; } - (id)initWithScrollView:(NSScrollView *)aScrollView; @@ -58,8 +58,8 @@ - (void)setBackgroundColor:(NSColor *)color; - (NSColor *)backgroundColor; -- (unsigned)lineNumberForLocation:(float)location; +- (NSUInteger)lineNumberForLocation:(CGFloat)location; -- (unsigned)lineNumberForCharacterIndex:(unsigned)index inText:(NSString *)text; +- (NSUInteger)lineNumberForCharacterIndex:(NSUInteger)index inText:(NSString *)text; @end |