Skip to content

Commit

Permalink
spelling: strikethrough
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Dec 30, 2020
1 parent 236cc1d commit 1853129
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions MacDown/Code/Document/MPDocument.m
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ - (int)extensionFlags
flags |= HOEDOWN_EXT_NO_INTRA_EMPHASIS;
if (self.extensionQuote)
flags |= HOEDOWN_EXT_QUOTE;
if (self.extensionStrikethough)
if (self.extensionStrikethrough)
flags |= HOEDOWN_EXT_STRIKETHROUGH;
if (self.extensionSuperscript)
flags |= HOEDOWN_EXT_SUPERSCRIPT;
Expand Down Expand Up @@ -723,7 +723,7 @@ - (BOOL)textView:(NSTextView *)textView shouldChangeTextInRange:(NSRange)range

if (self.preferences.editorCompleteMatchingCharacters)
{
BOOL strikethrough = self.preferences.extensionStrikethough;
BOOL strikethrough = self.preferences.extensionStrikethrough;
if ([textView completeMatchingCharactersForTextInRange:range
withString:str
strikethroughEnabled:strikethrough])
Expand Down
2 changes: 1 addition & 1 deletion MacDown/Code/Preferences/MPPreferences.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern NSString * const MPDidDetectFreshInstallationNotification;
@property (assign) BOOL extensionTables;
@property (assign) BOOL extensionFencedCode;
@property (assign) BOOL extensionAutolink;
@property (assign) BOOL extensionStrikethough;
@property (assign) BOOL extensionStrikethrough;
@property (assign) BOOL extensionUnderline;
@property (assign) BOOL extensionSuperscript;
@property (assign) BOOL extensionHighlight;
Expand Down
2 changes: 1 addition & 1 deletion MacDown/Code/Preferences/MPPreferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ - (instancetype)init
@dynamic extensionTables;
@dynamic extensionFencedCode;
@dynamic extensionAutolink;
@dynamic extensionStrikethough;
@dynamic extensionStrikethrough;
@dynamic extensionUnderline;
@dynamic extensionSuperscript;
@dynamic extensionHighlight;
Expand Down

0 comments on commit 1853129

Please sign in to comment.