From 21825700a2a645ad1cb5ddcc0cc31edd72600748 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Thu, 10 Jul 2014 14:46:05 +1000 Subject: Fix the insertText: method on ScintillaView to accept NSAttributedString as well as NSString, since insertText: is from the NSResponder superclass where it is defined to accept both. --- cocoa/ScintillaView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/ScintillaView.h') diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h index f3a76e322..419c2f28f 100644 --- a/cocoa/ScintillaView.h +++ b/cocoa/ScintillaView.h @@ -135,7 +135,7 @@ extern NSString *const SCIUpdateUINotification; // NSTextView compatibility layer. - (NSString*) string; - (void) setString: (NSString*) aString; -- (void) insertText: (NSString*) aString; +- (void) insertText: (id) aString; - (void) setEditable: (BOOL) editable; - (BOOL) isEditable; - (NSRange) selectedRange; -- cgit v1.2.3