aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTextView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m
index 7876cbd1..a36caed7 100644
--- a/Source/SPTextView.m
+++ b/Source/SPTextView.m
@@ -863,7 +863,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
*/
- (NSUInteger) getLineNumberForCharacterIndex:(NSUInteger)anIndex
{
- return [lineNumberView lineNumberForCharacterIndex:anIndex inText:[self string]]+1;
+ return [lineNumberView lineNumberForCharacterIndex:anIndex]+1;
}
/**