aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-12-19 07:18:45 +0000
committernyamatongwe <devnull@localhost>2001-12-19 07:18:45 +0000
commitee5c8a4d1d308df0d28a48a19ad60a9f9ebe4a28 (patch)
tree0c4fd3a097ec839964f6842b1a93c7aac4057eb7 /src/Editor.h
parentd4c8a2940fa1373444e676e0a56731ed7c1898b4 (diff)
downloadscintilla-mirror-ee5c8a4d1d308df0d28a48a19ad60a9f9ebe4a28.tar.gz
Hoisted IsUnicodeMode method from ScintillaWin to Editor as it is useful on
all platforms. Using AutoSurface to simplify allocation of surfaces and ensure they are always deleted.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Editor.h b/src/Editor.h
index c58da4ea5..f43332e90 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -373,9 +373,11 @@ protected: // ScintillaBase subclass needs access to much of Editor
virtual sptr_t DefWndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) = 0;
public:
- // Public so scintilla_send_message can use it
+ // Public so the COM thunks can access it.
+ bool IsUnicodeMode() const;
+ // Public so scintilla_send_message can use it.
virtual sptr_t WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam);
- // Public so scintilla_set_id can use it
+ // Public so scintilla_set_id can use it.
int ctrlID;
};