Revert "ecrire: wrap mode."

This reverts commit 5e4777204e.

It is handled properly. Look at every other entry out there in every
toolkit and not to mention word, libreoffice, every browser and if
they implement complex document views like google docs...
This commit is contained in:
Carsten Haitzler 2021-04-09 09:41:12 +01:00
parent 5e4777204e
commit 5072846a26
1 changed files with 1 additions and 1 deletions

View File

@ -756,7 +756,7 @@ ecrire_editor_add(const char *filename, const char *font_name, int font_size)
inst->entry = entry = elm_entry_add(win);
elm_entry_scrollable_set(entry, EINA_TRUE);
elm_entry_line_wrap_set(entry, ELM_WRAP_NONE); //_ent_cfg->wrap_type);
elm_entry_line_wrap_set(entry, _ent_cfg->wrap_type);
elm_entry_cnp_mode_set(entry, ELM_CNP_MODE_PLAINTEXT);
evas_object_size_hint_align_set(entry, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(entry, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);