diff options
author | nyamatongwe <unknown> | 2003-01-12 04:47:00 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-01-12 04:47:00 +0000 |
commit | 84af7c9bf2bb053710de2326351bf985dc883d00 (patch) | |
tree | 7b9a98aafa75f52c0192a036524cd14e1c92656b /include/Platform.h | |
parent | d9a4d7a7fb0446e59488be6bf1d529538ccdd143 (diff) | |
download | scintilla-mirror-84af7c9bf2bb053710de2326351bf985dc883d00.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); |