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 のこの問題をカバーしています。