aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-01-12 04:47:00 +0000
committernyamatongwe <devnull@localhost>2003-01-12 04:47:00 +0000
commit2a92a28fc51c654890e0d44c19f923a43f2aaba0 (patch)
tree7b9a98aafa75f52c0192a036524cd14e1c92656b /include/Platform.h
parent0f6182cbd4caa4e4c308e2afd3cd4fd4dfadf0af (diff)
downloadscintilla-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.h2
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);