aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-06-11 07:29:25 +0000
committernyamatongwe <unknown>2000-06-11 07:29:25 +0000
commit2df02befc7f3cea2ba9571f4f9589b2d0c21f013 (patch)
tree392ad982a7046357e6fe7b5344808691c48ae723
parent54a6b61c3813e2468388d33f65800f57c9712ebf (diff)
downloadscintilla-mirror-2df02befc7f3cea2ba9571f4f9589b2d0c21f013.tar.gz
Added character set codes.
-rw-r--r--include/Scintilla.h16
-rw-r--r--include/Scintilla.iface22
2 files changed, 38 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 2ae3b03c8..a74ad08d7 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -162,7 +162,23 @@ extern "C" {
#define SC_CHARSET_ANSI 0
#define SC_CHARSET_DEFAULT 1
+#define SC_CHARSET_BALTIC 186
+#define SC_CHARSET_CHINESEBIG5 136
+#define SC_CHARSET_EASTEUROPE 238
+#define SC_CHARSET_GB2312 134
+#define SC_CHARSET_GREEK 161
+#define SC_CHARSET_HANGUL 129
+#define SC_CHARSET_MAC 77
+#define SC_CHARSET_OEM 255
#define SC_CHARSET_RUSSIAN 204
+#define SC_CHARSET_SHIFTJIS 128
+#define SC_CHARSET_SYMBOL 2
+#define SC_CHARSET_TURKISH 162
+#define SC_CHARSET_JOHAB 130
+#define SC_CHARSET_HEBREW 177
+#define SC_CHARSET_ARABIC 178
+#define SC_CHARSET_VIETNAMESE 163
+#define SC_CHARSET_THAI 222
#define SCI_STYLECLEARALL SCI_START + 50
#define SCI_STYLESETFORE SCI_START + 51
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 4ddbfe054..7bb5c32e0 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -250,6 +250,28 @@ val STYLE_BRACEBAD=35
val STYLE_CONTROLCHAR=36
val STYLE_MAX=127
+# Character set identifiers are used in StyleSetCharacterSet.
+# The values are the same as the Windows *_CHARSET values.
+val SC_CHARSET_ANSI=0
+val SC_CHARSET_DEFAULT=1
+val SC_CHARSET_BALTIC=186
+val SC_CHARSET_CHINESEBIG5=136
+val SC_CHARSET_EASTEUROPE=238
+val SC_CHARSET_GB2312=134
+val SC_CHARSET_GREEK=161
+val SC_CHARSET_HANGUL=129
+val SC_CHARSET_MAC=77
+val SC_CHARSET_OEM=255
+val SC_CHARSET_RUSSIAN=204
+val SC_CHARSET_SHIFTJIS=128
+val SC_CHARSET_SYMBOL=2
+val SC_CHARSET_TURKISH=162
+val SC_CHARSET_JOHAB=130
+val SC_CHARSET_HEBREW=177
+val SC_CHARSET_ARABIC=178
+val SC_CHARSET_VIETNAMESE=163
+val SC_CHARSET_THAI=222
+
# Clear all the styles and make equivalent to the global default style.
set void StyleClearAll=2050(,)