forked from enlightenment/efl
elementary/elm_entry : When limiting the length of text by filter callback, only committed text should be considered. Preediting text can be changed with the shorter one.
SVN revision: 82341
This commit is contained in:
parent
7fdc6b90bb
commit
05b4f1fe58
|
@ -2293,6 +2293,7 @@ _chars_add_till_limit(Evas_Object *obj,
|
|||
|
||||
if (!*text) return;
|
||||
if (unit >= LENGTH_UNIT_LAST) return;
|
||||
if (strstr(*text, "<preedit")) return;
|
||||
|
||||
new_text = *text;
|
||||
current_len = strlen(*text);
|
||||
|
|
Loading…
Reference in New Issue