netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/ecrire.git/commit/?id=5e4777204e69be33f3811d55c55972f062417a3e

commit 5e4777204e69be33f3811d55c55972f062417a3e
Author: Alastair Poole <nets...@gmail.com>
Date:   Fri Apr 9 08:36:36 2021 +0100

    ecrire: wrap mode.
    
    Disable line wrapping until it's handled properly.
---
 src/bin/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 9b38292..6b2fd9c 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -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, _ent_cfg->wrap_type);
+   elm_entry_line_wrap_set(entry, ELM_WRAP_NONE); //_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);

-- 


Reply via email to