From d0c8c55aca3143aa315c7372eef1327c98c76084 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 25 Sep 2012 23:53:40 +0000 Subject: [PATCH] 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 --- samples/stc/edit.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.50.0