Evas textblock: Fix some indentation and formatting.

Summary: Fix some indentation and formatting.

Reviewers: herdsman, cedric, tasn

Reviewed By: cedric

Subscribers: jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D3174
This commit is contained in:
Subodh Kumar 2015-12-18 15:14:05 +00:00 committed by Tom Hacohen
parent 337939ef14
commit 105960b24f
1 changed files with 92 additions and 93 deletions

View File

@ -6292,13 +6292,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)))
@ -7994,14 +7998,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;
}
}
@ -9751,7 +9753,6 @@ evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_C
reset_cursor = EINA_TRUE;
}
if (n1 == n2)
{
if ((cur1->pos == 0) &&
@ -9996,7 +9997,6 @@ _evas_textblock_cursor_range_text_plain_get(const Evas_Textblock_Cursor *cur1, c
cur2->obj = _cur2->obj;
evas_textblock_cursor_copy(_cur2, cur2);
if (n1 == n2)
{
const Eina_Unicode *tmp;
@ -11530,7 +11530,6 @@ _evas_textblock_clear(Eo *eo_obj, Evas_Textblock_Data *o)
{
cur->node = NULL;
cur->pos = 0;
}
_evas_textblock_changed(o, eo_obj);