editor - don't try parse the selection if the text is started with quatation mark.
there are no case that ctxpopup candidate texts have the quation mark. we can skip unnecessary parsing as possbile.
This commit is contained in:
parent
59a599a3b9
commit
97e66a19fe
|
@ -568,6 +568,11 @@ edit_cursor_double_clicked_cb(void *data, Evas_Object *obj,
|
|||
char *selected = (char *) elm_entry_selection_get(obj);
|
||||
if (!selected) return;
|
||||
selected = elm_entry_markup_to_utf8(selected);
|
||||
if (selected[0] == '\"')
|
||||
{
|
||||
free(selected);
|
||||
return;
|
||||
}
|
||||
|
||||
Evas_Object *textblock = elm_entry_textblock_get(obj);
|
||||
Evas_Textblock_Cursor *cursor = evas_object_textblock_cursor_get(textblock);
|
||||
|
|
Loading…
Reference in New Issue