--- codelite-13.0/codelite_terminal/TextView.cpp.orig 2019-09-02 10:52:51.468000000 +0200 +++ codelite-13.0/codelite_terminal/TextView.cpp 2019-09-02 10:56:21.916000000 +0200 @@ -12,7 +12,7 @@ m_ctrl->SetCaretStyle(wxSTC_CARETSTYLE_BLOCK); m_ctrl->SetYCaretPolicy(wxSTC_CARET_STRICT | wxSTC_CARET_SLOP, 4); m_ctrl->SetLexer(wxSTC_LEX_CONTAINER); - m_ctrl->StartStyling(0); + m_ctrl->StartStyling(0, 0); m_ctrl->SetWrapMode(wxSTC_WRAP_CHAR); #else m_ctrl = new TextCtrl_t(this, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, @@ -61,7 +61,7 @@ { #if USE_STC m_defaultAttr = attr; - m_ctrl->StartStyling(m_ctrl->GetLastPosition()); + m_ctrl->StartStyling(m_ctrl->GetLastPosition(), 0); #else m_ctrl->SetDefaultStyle(attr); #endif @@ -210,6 +210,6 @@ #if USE_STC m_ctrl->ClearAll(); m_ctrl->ClearDocumentStyle(); - m_ctrl->StartStyling(0); + m_ctrl->StartStyling(0, 0); #endif }