forked from enlightenment/efl
Evas textblock: Removed useless function.
SVN revision: 61238
This commit is contained in:
parent
30ed908c18
commit
5c0443cf79
|
@ -896,28 +896,6 @@ _is_white(Eina_Unicode c)
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @internal
|
|
||||||
* Appends the text between s and p to the main cursor of the object.
|
|
||||||
*
|
|
||||||
* @param cur the cursor to append to.
|
|
||||||
* @param[in] s start of the string
|
|
||||||
* @param[in] p end of the string
|
|
||||||
*/
|
|
||||||
static void __UNUSED__
|
|
||||||
_append_text_run(Evas_Textblock_Cursor *cur, const char *s, const char *p)
|
|
||||||
{
|
|
||||||
if ((s) && (p > s))
|
|
||||||
{
|
|
||||||
char *ts;
|
|
||||||
|
|
||||||
ts = alloca(p - s + 1);
|
|
||||||
strncpy(ts, s, p - s);
|
|
||||||
ts[p - s] = 0;
|
|
||||||
evas_textblock_cursor_text_append(cur, ts);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
* Prepends the text between s and p to the main cursor of the object.
|
* Prepends the text between s and p to the main cursor of the object.
|
||||||
|
|
Loading…
Reference in New Issue