1.1 --- a/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m Sun Aug 30 10:46:57 2009 -0400
1.2 +++ b/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m Sun Oct 25 21:21:42 2009 -0400
1.3 @@ -1504,6 +1504,18 @@
1.4 group:PREF_GROUP_DUAL_WINDOW_INTERFACE];
1.5 }
1.6
1.7 +#pragma mark Autocompleting
1.8 +- (NSRange)rangeForUserCompletion
1.9 +{
1.10 + NSRange completionRange = [super rangeForUserCompletion];
1.11 +
1.12 + if ([self.delegate respondsToSelector:@selector(textView:rangeForCompletion:)]) {
1.13 + completionRange = [self.delegate textView:self rangeForCompletion:completionRange];
1.14 + }
1.15 +
1.16 + return completionRange;
1.17 +}
1.18 +
1.19 #pragma mark Writing Direction
1.20 - (void)toggleBaseWritingDirection:(id)sender
1.21 {