From 89ad0b00f23ea3bfa5da86fbab994dab075370da Mon Sep 17 00:00:00 2001
From: Neil INCLUDE_DEPRECATED_FEATURES in Scintilla.h. To ensure future
compatibility you should change them as indicated.
SCI_SETUSEPALETTE(bool usePalette)
- SCI_GETUSEPALETTE → bool
+
SCI_SETKEYSUNICODE(bool keysUnicode)
SCI_GETKEYSUNICODE → bool
SCI_SETSTYLEBITS(int bits)
@@ -7862,15 +7861,6 @@ EM_FORMATRANGE
SCI_GETSTYLEBITSNEEDED → int
- SC_CP_DBCS Deprecated
- This was used to set a DBCS (Double Byte Character Set) mode on GTK+.
- An explicit DBCS code page should be used when calling SCI_SETCODEPAGE
-
- SCI_SETUSEPALETTE(bool usePalette) Deprecated
- SCI_GETUSEPALETTE → bool Deprecated
- Scintilla no longer supports palette mode. The last version to support palettes was 2.29.
- Any calls to these methods should be removed.
-
SCI_SETKEYSUNICODE(bool keysUnicode) Deprecated
SCI_GETKEYSUNICODE → bool Deprecated
On Windows, Scintilla no longer supports narrow character windows so input is always treated as Unicode.
@@ -7886,6 +7876,19 @@ EM_FORMATRANGE
Any use of these symbols should be removed and replaced with standard indicators.
SCI_GETSTYLEBITS and SCI_GETSTYLEBITSNEEDED always return 8,
indicating that 8 bits are used for styling and there are 256 styles.
+
+ Features that have been removed
+
+
These features have now been removed completely.
+
+ SC_CP_DBCS Removed
+ This was used to set a DBCS (Double Byte Character Set) mode on GTK+.
+ An explicit DBCS code page should be used when calling SCI_SETCODEPAGE
+
+ SCI_SETUSEPALETTE(bool usePalette) Removed
+ SCI_GETUSEPALETTE → bool Removed
+ Scintilla no longer supports palette mode. The last version to support palettes was 2.29.
+ Any calls to these methods must be removed.
Edit messages never supported by Scintilla
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 758acc9fc..931a81a26 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -534,6 +534,10 @@
NotifyHeader → Sci_NotifyHeader
+ Previously deprecated features SC_CP_DBCS, SCI_SETUSEPALETTE. and SCI_GETUSEPALETTE
+ have been removed and can no longer be used in client code.
+
+
Accessibility support allowing screen readers to work added on GTK+ and Cocoa.
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 8c8e592f1..c0f810cc1 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -1193,9 +1193,6 @@ struct SCNotification {
#ifdef INCLUDE_DEPRECATED_FEATURES
-#define SC_CP_DBCS 1
-#define SCI_SETUSEPALETTE 2039
-#define SCI_GETUSEPALETTE 2139
#define SCI_SETKEYSUNICODE 2521
#define SCI_GETKEYSUNICODE 2522
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 9f8a7db1c..bc7cb01ff 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -4803,19 +4803,6 @@ cat Provisional
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
-
-# Deprecated in 2.30
-
-# In palette mode?
-get bool GetUsePalette=2139(,)
-
-# In palette mode, Scintilla uses the environment's palette calls to display
-# more colours. This may lead to ugly displays.
-set void SetUsePalette=2039(bool usePalette,)
-
# Deprecated in 3.5.5
# Always interpret keyboard input as Unicode
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f219a5669..558b642b0 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -6716,15 +6716,6 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_GETIMEINTERACTION:
return imeInteraction;
-#ifdef INCLUDE_DEPRECATED_FEATURES
- case SCI_SETUSEPALETTE:
- InvalidateStyleRedraw();
- break;
-
- case SCI_GETUSEPALETTE:
- return 0;
-#endif
-
// Marker definition and setting
case SCI_MARKERDEFINE:
if (wParam <= MARKER_MAX) {
--
cgit v1.2.3