aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-08-05 22:28:29 +1000
committernyamatongwe <devnull@localhost>2010-08-05 22:28:29 +1000
commitad41ebb7b2cdcada7b6afed29ddee17690bd5c97 (patch)
tree28dcba29cea550094deb50b2db53bedcb1d7eefc /include
parent9c48010126a393435bac7df9a03f5e56410c181e (diff)
downloadscintilla-mirror-ad41ebb7b2cdcada7b6afed29ddee17690bd5c97.tar.gz
Removing SC_CP_DBCS as it does not fit into new DBCS processing code.
Updated documentation to describe the common DBCS support between platforms and removed outdated text.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h7
-rw-r--r--include/Scintilla.iface9
2 files changed, 12 insertions, 4 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 16137ca1d..c20a063f9 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -91,7 +91,6 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETTABWIDTH 2036
#define SCI_GETTABWIDTH 2121
#define SC_CP_UTF8 65001
-#define SC_CP_DBCS 1
#define SCI_SETCODEPAGE 2037
#define SCI_SETUSEPALETTE 2039
#define MARKER_MAX 31
@@ -975,4 +974,10 @@ struct SCNotification {
}
#endif
+#ifdef INCLUDE_DEPRECATED_FEATURES
+
+#define SC_CP_DBCS 1
+
+#endif
+
#endif
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index de24e552a..2516b7134 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -224,9 +224,6 @@ get int GetTabWidth=2121(,)
# This is the same value as CP_UTF8 in Windows
val SC_CP_UTF8=65001
-# The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.
-val SC_CP_DBCS=1
-
# Set the code page used to interpret the bytes of the document as characters.
# The SC_CP_UTF8 value can be used to enter Unicode mode.
set void SetCodePage=2037(int codePage,)
@@ -3844,3 +3841,9 @@ evt void IndicatorClick=2023(int modifiers, int position)
evt void IndicatorRelease=2024(int modifiers, int position)
evt void AutoCCancelled=2025(void)
evt void AutoCCharDeleted=2026(void)
+
+cat Deprecated
+
+# Deprecated in 2.21
+# The SC_CP_DBCS value can be used to indicate a DBCS mode for GTK+.
+val SC_CP_DBCS=1