change text_editor for reducing binary size

This commit is contained in:
Jinhao
2016-11-19 04:24:03 +08:00
parent ea8a912045
commit db2cb5e8d7
5 changed files with 55 additions and 78 deletions

View File

@@ -392,7 +392,7 @@ namespace drawerbase {
bool textbox::line_wrapped() const
{
internal_scope_guard lock;
return get_drawer_trigger().editor()->line_wrapped();
return get_drawer_trigger().editor()->attr().line_wrapped;
}
textbox& textbox::line_wrapped(bool autl)