aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NoodleLineNumberView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-21 07:00:12 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-21 07:00:12 +0000
commitd80515ceb26102a1fe06ed0e55e86dcb1778aa0e (patch)
treeb7882bdcdb069ba8acceda3966d760d52682f2b1 /Source/NoodleLineNumberView.h
parent238459c935536526bbada41e4f95bf783a33bab1 (diff)
downloadsequelpro-d80515ceb26102a1fe06ed0e55e86dcb1778aa0e.tar.gz
sequelpro-d80515ceb26102a1fe06ed0e55e86dcb1778aa0e.tar.bz2
sequelpro-d80515ceb26102a1fe06ed0e55e86dcb1778aa0e.zip
• make - (unsigned)lineNumberForCharacterIndex:(unsigned)index inText:(NSString *)text; public to avoid double-coding
Diffstat (limited to 'Source/NoodleLineNumberView.h')
-rw-r--r--Source/NoodleLineNumberView.h2
1 files changed, 2 insertions, 0 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