mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
+3
-2
@@ -698,10 +698,11 @@ static const NSRange kEmptyRange = { NSNotFound, 0 };
|
||||
selectedRange:(NSRange)selectedRange
|
||||
replacementRange:(NSRange)replacementRange
|
||||
{
|
||||
[markedText release];
|
||||
if ([string isKindOfClass:[NSAttributedString class]])
|
||||
[markedText initWithAttributedString:string];
|
||||
markedText = [[NSMutableAttributedString alloc] initWithAttributedString:string];
|
||||
else
|
||||
[markedText initWithString:string];
|
||||
markedText = [[NSMutableAttributedString alloc] initWithString:string];
|
||||
}
|
||||
|
||||
- (void)unmarkText
|
||||
|
||||
Reference in New Issue
Block a user