Skip to content

Commit

Permalink
Re-introduce method to avoid crash reports from Emmet plug-in
Browse files Browse the repository at this point in the history
  • Loading branch information
sorbits committed Dec 16, 2014
1 parent 23386c1 commit 9afa98b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Frameworks/OakTextView/src/OakTextView.mm
Expand Up @@ -3110,6 +3110,12 @@ - (BOOL)filterDocumentThroughCommand:(NSString*)commandString input:(input::type
return res;
}

- (NSString*)string
{
// This is used by the Emmet plug-in (with no “respondsToSelector:” check)
return [NSString stringWithCxxString:editor->as_string()];
}

// ===================
// = Macro Recording =
// ===================
Expand Down

0 comments on commit 9afa98b

Please sign in to comment.