diff options
-rw-r--r-- | Source/NoodleLineNumberView.h | 2 | ||||
-rw-r--r-- | Source/NoodleLineNumberView.m | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/NoodleLineNumberView.h b/Source/NoodleLineNumberView.h index ca734a56..7d12d47d 100644 --- a/Source/NoodleLineNumberView.h +++ b/Source/NoodleLineNumberView.h @@ -57,4 +57,6 @@ - (unsigned)lineNumberForLocation:(float)location; +- (unsigned)lineNumberForCharacterIndex:(unsigned)index inText:(NSString *)text; + @end diff --git a/Source/NoodleLineNumberView.m b/Source/NoodleLineNumberView.m index c5d76187..d1ecbd96 100644 --- a/Source/NoodleLineNumberView.m +++ b/Source/NoodleLineNumberView.m @@ -40,7 +40,6 @@ - (NSMutableArray *)lineIndices; - (void)invalidateLineIndices; - (void)calculateLines; -- (unsigned)lineNumberForCharacterIndex:(unsigned)index inText:(NSString *)text; - (NSDictionary *)textAttributes; @end |