diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2014-07-10 14:46:05 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2014-07-10 14:46:05 +1000 |
commit | 21825700a2a645ad1cb5ddcc0cc31edd72600748 (patch) | |
tree | 61a091bac913db57fc2a69c6d3d93c16ec3f9898 /cocoa/ScintillaView.h | |
parent | a5bca4ec529ad0f3a368d8a53f6a40b244dfc00a (diff) | |
download | scintilla-mirror-21825700a2a645ad1cb5ddcc0cc31edd72600748.tar.gz |
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.
Diffstat (limited to 'cocoa/ScintillaView.h')
-rw-r--r-- | cocoa/ScintillaView.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |