Кто-нибудь знает, как получить интеллектуальный отступ, работающий с wxStyledTextCtrl на C++?Отступ и интеллектуальный отступ в wxStyledTextCtrl (Scintilla)
Я пытался различные вариации на следующих без видимого успеха:
_textEd->SetProperty(wxT("indentation.smartindenttype"), wxT("indentation:simple"));
_textEd->SetProperty(wxT("indentation.indentwidth"), wxT("4"));
_textEd->SetProperty(wxT("indentation.tabwidth"), wxT("4"));
_textEd->SetProperty("spell.mistake.indicator", "style:squigglelow");
Примечание: Indentation and smart indent in ScintillaNET охватывает этот вопрос для .NET.
ли образец образца работает для вас? Какая у вас версия wx и OS/toolkit? – Igor