Skip to content
Snippets Groups Projects
Commit 401fdfbd authored by George Nachman's avatar George Nachman
Browse files

Disable automatic spelling correction, dash substitution, quote substitution,...

Disable automatic spelling correction, dash substitution, quote substitution, data detection, and link detection in the notes tool
parent 5f615f2c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -42,6 +42,12 @@ static NSString *kToolNotesSetTextNotification = @"kToolNotesSetTextNotification
[[textView_ textContainer] setWidthTracksTextView:YES];
[textView_ setDelegate:self];
[textView_ readRTFDFromFile:[self filename]];
textView_.automaticSpellingCorrectionEnabled = NO;
textView_.automaticDashSubstitutionEnabled = NO;
textView_.automaticQuoteSubstitutionEnabled = NO;
textView_.automaticDataDetectionEnabled = NO;
textView_.automaticLinkDetectionEnabled = NO;
[scrollview setDocumentView:textView_];
[self addSubview:scrollview];
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment