Ticket #17671: fixstcsample.patch

File fixstcsample.patch, 505 bytes (added by NewPagodi, 4 years ago)
  • samples/stc/edit.cpp

    diff --git a/samples/stc/edit.cpp b/samples/stc/edit.cpp
    index 05aeba9..46b4154 100644
    a b Edit::Edit (wxWindow *parent, wxWindowID id, 
    133133    // initialize language
    134134    m_language = NULL;
    135135
    136     // Use all the bits in the style byte as styles, not indicators.
    137     SetStyleBits(8);
    138    
    139136    // default font for all styles
    140137    SetViewEOL (g_CommonPrefs.displayEOLEnable);
    141138    SetIndentationGuides (g_CommonPrefs.indentGuideEnable);