forked from enlightenment/efl
Evas textblock: Renamed *markup_to_plain to *text_markup_to_utf8.
This should conform better to evas and what the function does. SVN revision: 66182
This commit is contained in:
parent
185ae85db4
commit
ba3094581d
|
@ -536,7 +536,7 @@
|
||||||
* Textblock markup: Support self closing format tags, i.e <br/>.
|
* Textblock markup: Support self closing format tags, i.e <br/>.
|
||||||
You should use <br/> and not <br>. The latter still works but it's use
|
You should use <br/> and not <br>. The latter still works but it's use
|
||||||
is discouraged.
|
is discouraged.
|
||||||
* Textblock: Added evas_textblock_markup_to_plain.
|
* Textblock: Added evas_textblock_text_markup_to_utf8.
|
||||||
This lets you convert textblock markup to plain text.
|
This lets you convert textblock markup to plain text.
|
||||||
This converts formats and everything correctly.
|
This converts formats and everything correctly.
|
||||||
|
|
||||||
|
|
|
@ -8124,7 +8124,7 @@ EAPI const char *evas_textblock_escape_string_range_get(const c
|
||||||
* @return an allocated plain text version of the markup
|
* @return an allocated plain text version of the markup
|
||||||
* @since 1.2.0
|
* @since 1.2.0
|
||||||
*/
|
*/
|
||||||
EAPI char *evas_textblock_markup_to_plain(const Evas_Object *obj, const char *text) EINA_WARN_UNUSED_RESULT EINA_MALLOC EINA_ARG_NONNULL(1, 2);
|
EAPI char *evas_textblock_text_markup_to_utf8(const Evas_Object *obj, const char *text) EINA_WARN_UNUSED_RESULT EINA_MALLOC EINA_ARG_NONNULL(1, 2);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new textblock style.
|
* Creates a new textblock style.
|
||||||
|
|
|
@ -5086,7 +5086,7 @@ evas_object_textblock_text_markup_get(const Evas_Object *obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI char *
|
EAPI char *
|
||||||
evas_textblock_markup_to_plain(const Evas_Object *obj, const char *text)
|
evas_textblock_text_markup_to_utf8(const Evas_Object *obj, const char *text)
|
||||||
{
|
{
|
||||||
/* FIXME: Can be done better, this is the least redundant way of doing it,
|
/* FIXME: Can be done better, this is the least redundant way of doing it,
|
||||||
* but by far the slowest, when the time comes, this should be
|
* but by far the slowest, when the time comes, this should be
|
||||||
|
|
Loading…
Reference in New Issue