Evas textblock: Made 'br' and 'tab' default tags.

SVN revision: 66191
This commit is contained in:
Tom Hacohen 2011-12-14 13:27:15 +00:00
parent b794e7ff8e
commit c856f86a1f
1 changed files with 2 additions and 2 deletions

View File

@ -3030,14 +3030,14 @@ _format_finalize(Evas_Object *obj, Evas_Object_Textblock_Format *fmt)
* @def _IS_TAB(item) * @def _IS_TAB(item)
*/ */
#define _IS_TAB(item) \ #define _IS_TAB(item) \
(!strcmp(item, "\t") || !strcmp(item, "\\t")) (!strcmp(item, "tab") || !strcmp(item, "\t") || !strcmp(item, "\\t"))
/** /**
* @internal * @internal
* Returns true if the item is a line spearator, false otherwise * Returns true if the item is a line spearator, false otherwise
* @def _IS_LINE_SEPARATOR(item) * @def _IS_LINE_SEPARATOR(item)
*/ */
#define _IS_LINE_SEPARATOR(item) \ #define _IS_LINE_SEPARATOR(item) \
(!strcmp(item, "\n") || !strcmp(item, "\\n")) (!strcmp(item, "br") || !strcmp(item, "\n") || !strcmp(item, "\\n"))
/** /**
* @internal * @internal
* Returns true if the item is a paragraph separator, false otherwise * Returns true if the item is a paragraph separator, false otherwise