diff options
author | Neil <nyamatongwe@gmail.com> | 2016-11-16 09:41:55 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-11-16 09:41:55 +1100 |
commit | 89ad0b00f23ea3bfa5da86fbab994dab075370da (patch) | |
tree | b795fc44a69bcfacc659ade2b49bcabaa2e1f16b | |
parent | e603bf45ce1d29f17a0d4233484b4ce1806f235a (diff) | |
download | scintilla-mirror-89ad0b00f23ea3bfa5da86fbab994dab075370da.tar.gz |
Removed elements that have been deprecated for more than 5 years.
-rw-r--r-- | doc/ScintillaDoc.html | 25 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 4 | ||||
-rw-r--r-- | include/Scintilla.h | 3 | ||||
-rw-r--r-- | include/Scintilla.iface | 13 | ||||
-rw-r--r-- | src/Editor.cxx | 9 |
5 files changed, 18 insertions, 36 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 5783ffe2c..aeace7767 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -7853,8 +7853,7 @@ EM_FORMATRANGE <code>INCLUDE_DEPRECATED_FEATURES</code> in <code>Scintilla.h</code>. To ensure future compatibility you should change them as indicated.</p> - <code><a class="message" href="#SCI_SETUSEPALETTE">SCI_SETUSEPALETTE(bool usePalette)</a><br /> - <a class="message" href="#SCI_GETUSEPALETTE">SCI_GETUSEPALETTE → bool</a><br /> + <code> <a class="message" href="#SCI_SETKEYSUNICODE">SCI_SETKEYSUNICODE(bool keysUnicode)</a><br /> <a class="message" href="#SCI_GETKEYSUNICODE">SCI_GETKEYSUNICODE → bool</a><br /> <a class="message" href="#SCI_SETSTYLEBITS">SCI_SETSTYLEBITS(int bits)</a><br /> @@ -7862,15 +7861,6 @@ EM_FORMATRANGE <a class="message" href="#SCI_GETSTYLEBITSNEEDED">SCI_GETSTYLEBITSNEEDED → int</a><br /> </code> - <p><b id="SC_CP_DBCS">SC_CP_DBCS</b> Deprecated<br /> - This was used to set a DBCS (Double Byte Character Set) mode on GTK+. - An explicit DBCS code page should be used when calling <a class="seealso" href="#SCI_SETCODEPAGE">SCI_SETCODEPAGE</a></p> - - <p><b id="SCI_SETUSEPALETTE">SCI_SETUSEPALETTE(bool usePalette)</b> Deprecated<br /> - <b id="SCI_GETUSEPALETTE">SCI_GETUSEPALETTE → bool</b> Deprecated<br /> - Scintilla no longer supports palette mode. The last version to support palettes was 2.29. - Any calls to these methods should be removed.</p> - <p><b id="SCI_SETKEYSUNICODE">SCI_SETKEYSUNICODE(bool keysUnicode)</b> Deprecated<br /> <b id="SCI_GETKEYSUNICODE">SCI_GETKEYSUNICODE → bool</b> Deprecated<br /> On Windows, Scintilla no longer supports narrow character windows so input is always treated as Unicode.</p> @@ -7886,6 +7876,19 @@ EM_FORMATRANGE Any use of these symbols should be removed and replaced with <a href="#Indicators">standard indicators</a>. <code>SCI_GETSTYLEBITS</code> and <code>SCI_GETSTYLEBITSNEEDED</code> always return 8, indicating that 8 bits are used for styling and there are 256 styles.</p> + + <h3 id="RemovedMessages">Features that have been removed</h2> + + <p>These features have now been removed completely.</p> + + <p><b id="SC_CP_DBCS">SC_CP_DBCS</b> Removed<br /> + This was used to set a DBCS (Double Byte Character Set) mode on GTK+. + An explicit DBCS code page should be used when calling <a class="seealso" href="#SCI_SETCODEPAGE">SCI_SETCODEPAGE</a></p> + + <p><b id="SCI_SETUSEPALETTE">SCI_SETUSEPALETTE(bool usePalette)</b> Removed<br /> + <b id="SCI_GETUSEPALETTE">SCI_GETUSEPALETTE → bool</b> Removed<br /> + Scintilla no longer supports palette mode. The last version to support palettes was 2.29. + Any calls to these methods must be removed.</p> <h2 id="EditMessagesNeverSupportedByScintilla">Edit messages never supported by Scintilla</h2> <pre> 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 </li> <li> + Previously deprecated features SC_CP_DBCS, SCI_SETUSEPALETTE. and SCI_GETUSEPALETTE + have been removed and can no longer be used in client code. + </li> + <li> Accessibility support allowing screen readers to work added on GTK+ and Cocoa. </li> <li> 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) { |