diff options
author | nyamatongwe <devnull@localhost> | 2003-01-12 04:47:00 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-01-12 04:47:00 +0000 |
commit | 2a92a28fc51c654890e0d44c19f923a43f2aaba0 (patch) | |
tree | 7b9a98aafa75f52c0192a036524cd14e1c92656b /include/Platform.h | |
parent | 0f6182cbd4caa4e4c308e2afd3cd4fd4dfadf0af (diff) | |
download | scintilla-mirror-2a92a28fc51c654890e0d44c19f923a43f2aaba0.tar.gz |
Changes to make DBCS work on GTK+ and handle DBCS sequences longer than 2 bytes.
Diffstat (limited to 'include/Platform.h')
-rw-r--r-- | include/Platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h index 9061449e2..4096cb140 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -446,6 +446,8 @@ public: static long SendScintillaPointer( WindowID w, unsigned int msg, unsigned long wParam=0, void *lParam=0); static bool IsDBCSLeadByte(int codePage, char ch); + static int DBCSCharLength(int codePage, const char *s); + static int DBCSCharMaxLength(); // These are utility functions not really tied to a platform static int Minimum(int a, int b); |