diff options
author | Howard P. Logsdon <howard@hplogsdon.com> | 2014-09-17 10:41:51 -0600 |
---|---|---|
committer | Howard P. Logsdon <howard@hplogsdon.com> | 2014-09-17 11:13:50 -0600 |
commit | 6802d5d02a687342edc4af4e90f8d75bdf65b64e (patch) | |
tree | 9c4a59e8d4791850a0d2a1fee6da2608e4c02346 /Source | |
parent | 09092bf22df5095fa42c07b33a2c673cd3502a35 (diff) | |
download | sequelpro-6802d5d02a687342edc4af4e90f8d75bdf65b64e.tar.gz sequelpro-6802d5d02a687342edc4af4e90f8d75bdf65b64e.tar.bz2 sequelpro-6802d5d02a687342edc4af4e90f8d75bdf65b64e.zip |
Fix spelling errors on method comment
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPQueryController.m | 2 | ||||
-rw-r--r-- | Source/SPTextView.m | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPQueryController.m b/Source/SPQueryController.m index 01cb50e1..718a5ff3 100644 --- a/Source/SPQueryController.m +++ b/Source/SPQueryController.m @@ -338,7 +338,7 @@ static SPQueryController *sharedQueryController = nil; #pragma mark Other /** - * Called whenver the test within the search field changes. + * Called whenever the text within the search field changes. */ - (void)controlTextDidChange:(NSNotification *)notification { diff --git a/Source/SPTextView.m b/Source/SPTextView.m index d0a5198f..abe89c5b 100644 --- a/Source/SPTextView.m +++ b/Source/SPTextView.m @@ -202,8 +202,8 @@ static inline NSPoint SPPointOnLine(NSPoint a, NSPoint b, CGFloat t) { return NS [self _setTextSelectionColor:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:SPCustomQueryEditorSelectionColor]] onBackgroundColor:backgroundColor]; - [self setAutomaticDashSubstitutionEnabled:NO]; // prevents ' and " from becoming ‘, ’ and “, ” respectively. - [self setAutomaticQuoteSubstitutionEnabled:NO]; // prevents -- from becoming —, the em dash. + [self setAutomaticDashSubstitutionEnabled:NO]; // prevents -- from becoming —, the em dash. + [self setAutomaticQuoteSubstitutionEnabled:NO]; // prevents ' and " from becoming ‘, ’ and “, ” respectively. // Register observers for the when editor background colors preference changes [prefs addObserver:self forKeyPath:SPCustomQueryEditorSelectionColor options:NSKeyValueObservingOptionNew context:NULL]; |