We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb8d98 commit 6e6348bCopy full SHA for 6e6348b
Source/Additions/SLKTextView+SLKAdditions.m
@@ -20,7 +20,8 @@ @implementation SLKTextView (SLKAdditions)
20
21
- (void)slk_clearText:(BOOL)clearUndo
22
{
23
- [super setText:nil];
+ // Important to call self implementation, as SLKTextView overrides setText: to add additional features.
24
+ [self setText:nil];
25
26
if (self.undoManagerEnabled && clearUndo) {
27
[self.undoManager removeAllActions];
0 commit comments