evas: fix some indentation and formatting in textblock.

Summary: Fix some indentation and formatting.

Reviewers: herdsman, tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3174

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Subodh Kumar 2015-11-09 15:39:10 -08:00 committed by Cedric BAIL
parent 3af65dd4e2
commit 3f0d0daf0d
1 changed files with 118 additions and 118 deletions

View File

@ -5997,13 +5997,17 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
if (!key_start)
{
if (!isspace((unsigned char)(*p)))
{
key_start = p;
}
}
else if (!key_stop)
{
if ((*p == '=') || (isspace((unsigned char)(*p))))
{
key_stop = p;
}
}
else if (!val_start)
{
if (((*p) == '\'') && (*(p + 1)))
@ -7658,14 +7662,12 @@ evas_textblock_cursor_paragraph_last(Evas_Textblock_Cursor *cur)
node = _NODE_TEXT(EINA_INLIST_GET(node)->last);
cur->node = node;
cur->pos = 0;
evas_textblock_cursor_paragraph_char_last(cur);
}
else
{
cur->node = NULL;
cur->pos = 0;
}
}
@ -8611,7 +8613,6 @@ evas_textblock_cursor_line_set(Evas_Textblock_Cursor *cur, int line)
else
{
cur->pos = 0;
cur->node = o->text_nodes;
}
return EINA_TRUE;
@ -11139,7 +11140,6 @@ _evas_textblock_clear(Eo *eo_obj, Evas_Textblock_Data *o)
{
cur->node = NULL;
cur->pos = 0;
}
_evas_textblock_changed(o, eo_obj);