forked from enlightenment/efl
Evas textblock: Fixed order of tags inserted with markup_app/prepend.
The order was messed up when inserting a few formats in the markup_append/prepend functions without any characters between them. For example, inserting "<b><i>" would result in "<i><b>" being inserted. Thanks to YoungBok Shin for reporting this.
This commit is contained in:
parent
0e363f54b4
commit
7bba64d7ee
|
@ -1,3 +1,7 @@
|
|||
2013-11-19 Tom Hacohen
|
||||
|
||||
* Evas textblock: Fixed order of tags inserted with markup_app/prepend.
|
||||
|
||||
2013-11-05 Youngbok Shin
|
||||
|
||||
* Edje: Add null checking for name of anchor and item in geometry get functions.
|
||||
|
|
2
NEWS
2
NEWS
|
@ -360,7 +360,7 @@ Fixes:
|
|||
- Fixed the map surface to be updated properly. By tranversing the whole of the map target's tree, it decides to update the map surface to be redrawn if one of the objects is changed except the clipper itself.
|
||||
- Fixed the textblock format to be drawn according to the glyph's horizontal advance width.
|
||||
- Fixed the textblock set to context with the textblock object's render operation.
|
||||
|
||||
- Evas textblock: Fixed order of tags inserted with markup_app/prepend.
|
||||
* Ecore:
|
||||
- Don't leak fd on exec.
|
||||
- Fix fd handler increase issue when ecore_pipe_add/del is called repeatedly.
|
||||
|
|
|
@ -8578,6 +8578,7 @@ evas_textblock_cursor_format_append(Evas_Textblock_Cursor *cur, const char *form
|
|||
}
|
||||
else
|
||||
{
|
||||
fmt = _evas_textblock_node_format_last_at_off(fmt);
|
||||
if (evas_textblock_cursor_format_is_visible_get(cur))
|
||||
{
|
||||
o->format_nodes = _NODE_FORMAT(eina_inlist_prepend_relative(
|
||||
|
@ -8593,7 +8594,6 @@ evas_textblock_cursor_format_append(Evas_Textblock_Cursor *cur, const char *form
|
|||
}
|
||||
else
|
||||
{
|
||||
fmt = _evas_textblock_node_format_last_at_off(fmt);
|
||||
o->format_nodes = _NODE_FORMAT(eina_inlist_append_relative(
|
||||
EINA_INLIST_GET(o->format_nodes),
|
||||
EINA_INLIST_GET(n),
|
||||
|
|
Loading…
Reference in New Issue