Skip to content

Commit

Permalink
Fix a spelling mistake (code)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoagx committed Jul 9, 2016
1 parent c1a6244 commit e155d94
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Interfaces/English.lproj/ContentFilterManager.xib
Expand Up @@ -20,7 +20,7 @@
<outlet property="removeButton" destination="387" id="389"/>
<outlet property="resultingClauseContentLabel" destination="352" id="363"/>
<outlet property="resultingClauseLabel" destination="361" id="364"/>
<outlet property="suppressLeadingFiledPlaceholderCheckbox" destination="369" id="377"/>
<outlet property="suppressLeadingFieldPlaceholderCheckbox" destination="369" id="gfj-J2-MZl"/>
<outlet property="window" destination="1" id="310"/>
</connections>
</customObject>
Expand Down Expand Up @@ -189,7 +189,7 @@ Gw
<font key="font" metaFont="miniSystem"/>
</buttonCell>
<connections>
<action selector="suppressLeadingFiledPlaceholderWasChanged:" target="-2" id="378"/>
<action selector="suppressLeadingFieldPlaceholderWasChanged:" target="-2" id="qgF-WQ-540"/>
<binding destination="284" name="value" keyPath="selection.SuppressLeadingFieldPlaceholder" id="379">
<dictionary key="options">
<integer key="NSNullPlaceholder" value="0"/>
Expand Down
4 changes: 2 additions & 2 deletions Source/SPContentFilterManager.h
Expand Up @@ -60,7 +60,7 @@
IBOutlet id resultingClauseLabel;
IBOutlet id resultingClauseContentLabel;
IBOutlet id insertPlaceholderButton;
IBOutlet NSButton *suppressLeadingFiledPlaceholderCheckbox;
IBOutlet NSButton *suppressLeadingFieldPlaceholderCheckbox;

IBOutlet id contentFilterArrayController;

Expand All @@ -85,6 +85,6 @@
- (IBAction)exportContentFilter:(id)sender;
- (IBAction)importContentFilterByAdding:(id)sender;
- (IBAction)closeContentFilterManagerSheet:(id)sender;
- (IBAction)suppressLeadingFiledPlaceholderWasChanged:(id)sender;
- (IBAction)suppressLeadingFieldPlaceholderWasChanged:(id)sender;

@end
4 changes: 2 additions & 2 deletions Source/SPContentFilterManager.m
Expand Up @@ -418,7 +418,7 @@ - (IBAction)closeContentFilterManagerSheet:(id)sender
* It triggers an update of contentFilterTextView and
* resultingClauseContentLabel by inserting @"" into contentFilterTextView
*/
- (IBAction)suppressLeadingFiledPlaceholderWasChanged:(id)sender
- (IBAction)suppressLeadingFieldPlaceholderWasChanged:(id)sender
{
[contentFilterTextView insertText:@""];
}
Expand Down Expand Up @@ -761,7 +761,7 @@ - (void)textViewDidChangeSelection:(NSNotification *)notification
[c flushCachedRegexData];
[c replaceOccurrencesOfRegex:@"(?<!\\\\)\\$CURRENT_FIELD" withString:@"<field>"];
[c flushCachedRegexData];
[resultingClauseContentLabel setStringValue:[NSString stringWithFormat:@"%@%@", ([suppressLeadingFiledPlaceholderCheckbox state] == NSOnState) ? @"" : @"<field> ", c]];
[resultingClauseContentLabel setStringValue:[NSString stringWithFormat:@"%@%@", ([suppressLeadingFieldPlaceholderCheckbox state] == NSOnState) ? @"" : @"<field> ", c]];
[c release];
}

Expand Down

0 comments on commit e155d94

Please sign in to comment.