aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-12-19 07:18:45 +0000
committernyamatongwe <unknown>2001-12-19 07:18:45 +0000
commit4bbf5d16b5bc787e78b8a03499d719ac173f5f0b (patch)
tree0c4fd3a097ec839964f6842b1a93c7aac4057eb7 /src/Editor.h
parent0b3663846c53925091d7666a0c31fdc7ae09eb52 (diff)
downloadscintilla-mirror-4bbf5d16b5bc787e78b8a03499d719ac173f5f0b.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;
};