[self setAutomaticTextReplacementEnabled: NO];
if ([self respondsToSelector: @selector(setAutomaticDataDetectionEnabled:)])
[self setAutomaticDataDetectionEnabled: NO];
+
+ [self setContinuousSpellCheckingEnabled:NO];
return self;
}
[styles release];
[storage release];
}
+//prevent 'word completion' popup when esc key hit with selected text...
+-(NSArray*)textView:
+ (NSTextView*)textView
+ completions:(NSArray*)words
+ forPartialWordRange:(NSRange)charRange
+ indexOfSelectedItem:(NSInteger*)index{
+ return nil;
+}
-(void)setHidden:(BOOL)flag{
[scroll setHidden:flag];
}