From 584fbeb2e154ffe894ef4df3cb050241328a93a0 Mon Sep 17 00:00:00 2001 From: Myungjae Lee Date: Sat, 30 Oct 2010 18:43:30 +0900 Subject: [PATCH] [entry] check paragraph separator while selecting words --- src/lib/edje_entry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index 6b2b9fe..1238f9f 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -54,7 +54,7 @@ typedef enum _Entry_Char_Type _ENTRY_CHAR_ALPHABET, _ENTRY_CHAR_NUMBER, _ENTRY_CHAR_MARK, - _ENTRY_CHAR_SEPERATOR, + _ENTRY_CHAR_SEPARATOR, _ENTRY_CHAR_NONE } Entry_Char_Type; @@ -1771,8 +1771,8 @@ _edje_key_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, voi static int _get_char_type(const char* str) { - if( *str == '\n' || *str == 0x20 ) - return _ENTRY_CHAR_SEPERATOR; + if( *str == '\n' || *str == 0x20 || *str == 0x70 ) /* 0x70 : paragraph separator */ + return _ENTRY_CHAR_SEPARATOR; else return _ENTRY_CHAR_NONE; /* -- 2.7.4