Permalink
Browse files

Fix a spelling mistake (code)

  • Loading branch information...
dmoagx committed Jul 9, 2016
1 parent c1a6244 commit e155d94a911e4acf45d36d931299b1cb34cac41d
@@ -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>
@@ -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"/>
@@ -60,7 +60,7 @@
IBOutlet id resultingClauseLabel;
IBOutlet id resultingClauseContentLabel;
IBOutlet id insertPlaceholderButton;
IBOutlet NSButton *suppressLeadingFiledPlaceholderCheckbox;
IBOutlet NSButton *suppressLeadingFieldPlaceholderCheckbox;
IBOutlet id contentFilterArrayController;
@@ -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
@@ -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:@""];
}
@@ -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];
}

0 comments on commit e155d94

Please sign in to comment.