Data Fields
_Efl_Ui_Text_Interactive_Change_Info Struct Reference

This structure includes all the information about content changes. More...

Data Fields

const char * content
 The content added/removed.
 
size_t position
 The position where it was added/removed.
 
size_t length
 The length of content in characters (not bytes, actual unicode characters)
 
Eina_Bool insert
 true if the content was inserted, false if removei
 
Eina_Bool merge
 true if can be merged with the previous one. More...
 

Detailed Description

This structure includes all the information about content changes.

It's meant to be used to implement undo/redo.

Field Documentation

◆ merge

Eina_Bool _Efl_Ui_Text_Interactive_Change_Info::merge

true if can be merged with the previous one.

Used for example with insertion when something is already selected