From: Robin Dunn Date: Tue, 25 Sep 2012 23:53:40 +0000 (+0000) Subject: Reserve the whole style byte for styles. See #14688 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d0c8c55aca3143aa315c7372eef1327c98c76084 Reserve the whole style byte for styles. See #14688 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/stc/edit.cpp b/samples/stc/edit.cpp index 8d33382b67..ed4c804711 100644 --- a/samples/stc/edit.cpp +++ b/samples/stc/edit.cpp @@ -120,6 +120,9 @@ Edit::Edit (wxWindow *parent, wxWindowID id, // initialize language m_language = NULL; + // Use all the bits in the style byte as styles, not indicators. + SetStyleBits(8); + // default font for all styles SetViewEOL (g_CommonPrefs.displayEOLEnable); SetIndentationGuides (g_CommonPrefs.indentGuideEnable);