Skip to content

Commit

Permalink
Fix spelling errors on method comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uxp committed Sep 17, 2014
1 parent 09092bf commit 6802d5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/SPQueryController.m
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ - (NSUInteger)consoleMessageCount
#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
{
Expand Down
4 changes: 2 additions & 2 deletions Source/SPTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ - (void) awakeFromNib

[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];
Expand Down

0 comments on commit 6802d5d

Please sign in to comment.