From d80515ceb26102a1fe06ed0e55e86dcb1778aa0e Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 21 Apr 2009 07:00:12 +0000 Subject: =?UTF-8?q?=E2=80=A2=20make=20-=20(unsigned)lineNumberForCharacter?= =?UTF-8?q?Index:(unsigned)index=20inText:(NSString=20*)text;=20public=20t?= =?UTF-8?q?o=20avoid=20double-coding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/NoodleLineNumberView.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/NoodleLineNumberView.h') 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 -- cgit v1.2.3