有谁知道如何在 C++ 中使用 wxStyledTextCtrl 获得智能缩进?
我一直在尝试以下各种变化,但没有明显成功:
_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");
注意:ScintillaNET 中的缩进和智能缩进涵盖了 .NET 的这个问题。