#ifdef BIDI_SUPPORT
evas_bidi_paragraph_props_unref(to->bidi_props);
to->bidi_props = evas_bidi_paragraph_props_get(
- eina_ustrbuf_string_get(to->unicode));
+ eina_ustrbuf_string_get(to->unicode),
+ eina_ustrbuf_length_get(to->unicode));
#endif
_evas_textblock_cursors_set_node(o, from, to);
#ifdef BIDI_SUPPORT
evas_bidi_paragraph_props_unref(n->bidi_props);
n->bidi_props = evas_bidi_paragraph_props_get(
- eina_ustrbuf_string_get(n->unicode));
+ eina_ustrbuf_string_get(n->unicode),
+ eina_ustrbuf_length_get(n->unicode));
evas_bidi_paragraph_props_unref(cur->node->bidi_props);
cur->node->bidi_props = evas_bidi_paragraph_props_get(
- eina_ustrbuf_string_get(cur->node->unicode));
+ eina_ustrbuf_string_get(cur->node->unicode),
+ eina_ustrbuf_length_get(cur->node->unicode));
#endif
}
else
fnode->offset += len;
#ifdef BIDI_SUPPORT
evas_bidi_paragraph_props_unref(n->bidi_props);
- n->bidi_props = evas_bidi_paragraph_props_get(eina_ustrbuf_string_get(n->unicode));
+ n->bidi_props = evas_bidi_paragraph_props_get(
+ eina_ustrbuf_string_get(n->unicode),
+ eina_ustrbuf_length_get(n->unicode));
#endif
_evas_textblock_changed(o, cur->obj);
n->dirty = EINA_TRUE;
#ifdef BIDI_SUPPORT
evas_bidi_paragraph_props_unref(cur->node->bidi_props);
cur->node->bidi_props = evas_bidi_paragraph_props_get(
- eina_ustrbuf_string_get(cur->node->unicode));
+ eina_ustrbuf_string_get(cur->node->unicode),
+ eina_ustrbuf_length_get(cur->node->unicode));
#endif
}
}
}
#ifdef BIDI_SUPPORT
evas_bidi_paragraph_props_unref(n->bidi_props);
- n->bidi_props = evas_bidi_paragraph_props_get(eina_ustrbuf_string_get(n->unicode));
+ n->bidi_props = evas_bidi_paragraph_props_get(
+ eina_ustrbuf_string_get(n->unicode),
+ eina_ustrbuf_length_get(n->unicode));
#endif
if (cur->pos == eina_ustrbuf_length_get(n->unicode))
#ifdef BIDI_SUPPORT
evas_bidi_paragraph_props_unref(n1->bidi_props);
n1->bidi_props = evas_bidi_paragraph_props_get(
- eina_ustrbuf_string_get(n1->unicode));
+ eina_ustrbuf_string_get(n1->unicode),
+ eina_ustrbuf_length_get(n1->unicode));
#endif
evas_textblock_cursor_copy(cur1, cur2);
evas_bidi_props_reorder_line(Eina_Unicode *eina_ustr, size_t start, size_t len, const Evas_BiDi_Paragraph_Props *props, EvasBiDiStrIndex **_v_to_l);
Evas_BiDi_Paragraph_Props *
-evas_bidi_paragraph_props_get(const Eina_Unicode *eina_ustr) EINA_ARG_NONNULL(1) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
+evas_bidi_paragraph_props_get(const Eina_Unicode *eina_ustr, size_t len) EINA_ARG_NONNULL(1) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
void
evas_bidi_props_copy_and_ref(const Evas_BiDi_Props *src, Evas_BiDi_Props *dst);