diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2015-02-22 10:12:28 +1100 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2015-02-22 10:12:28 +1100 |
commit | c1fbe6996a29bc05a5f8889c138f2bf3895de253 (patch) | |
tree | 9a7881f04ea1bd2cb0ea7e5eb5da7ab3040273ca /cocoa/ScintillaView.h | |
parent | 1fc21cb6664d3633602636cfc43ecbdb39b591a7 (diff) | |
download | scintilla-mirror-c1fbe6996a29bc05a5f8889c138f2bf3895de253.tar.gz |
Implement additional methods from the NSTextInputClient protocol so that more
features of the IME work. attributedSubstringForProposedRange:actualRange: and
characterIndexForPoint: now have full implementations.
This required using UTF-16 document indexes in many places as that is what
Cocoa wants. Tentative undo is used for the composition text instead of turning
off undo as that is safer and similar to IME code on other platforms.
Diffstat (limited to 'cocoa/ScintillaView.h')
-rw-r--r-- | cocoa/ScintillaView.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h index 102bf3b60..e328646a5 100644 --- a/cocoa/ScintillaView.h +++ b/cocoa/ScintillaView.h @@ -79,12 +79,10 @@ extern NSString *const SCIUpdateUINotification; // Set when we are in composition mode and partial input is displayed. NSRange mMarkedTextRange; - BOOL undoCollectionWasActive; } @property (nonatomic, assign) ScintillaView* owner; -- (void) removeMarkedText; - (void) setCursor: (int) cursor; - (BOOL) canUndo; |