From 2a92a28fc51c654890e0d44c19f923a43f2aaba0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 12 Jan 2003 04:47:00 +0000 Subject: Changes to make DBCS work on GTK+ and handle DBCS sequences longer than 2 bytes. --- include/Platform.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/Platform.h') 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); -- cgit v1.2.3