2018-05-23 02:48:56 -07:00
|
|
|
enum Efl.Text_Bidirectional_Type {
|
2019-09-30 10:45:45 -07:00
|
|
|
[[Bidirectionaltext type
|
|
|
|
|
|
|
|
@since 1.23
|
|
|
|
]]
|
2016-10-25 06:08:33 -07:00
|
|
|
natural = 0, [[Natural text type, same as neutral]]
|
|
|
|
neutral = 0, [[Neutral text type, same as natural]]
|
|
|
|
ltr, [[Left to right text type]]
|
|
|
|
rtl, [[Right to left text type]]
|
|
|
|
inherit [[Inherit text type]]
|
2016-06-16 04:44:45 -07:00
|
|
|
}
|
2017-05-16 01:46:36 -07:00
|
|
|
|
2020-01-31 07:11:57 -08:00
|
|
|
enum Efl.Text_Change_Type {
|
|
|
|
[[Text change type.
|
|
|
|
@since 1.24
|
|
|
|
]]
|
2020-02-03 01:57:57 -08:00
|
|
|
insert = 0, [[the content was inserted.]]
|
|
|
|
remove [[the content was removed.]]
|
|
|
|
}
|
|
|
|
|
2020-01-31 07:11:57 -08:00
|
|
|
struct Efl.Text_Change_Info {
|
2017-12-12 22:12:13 -08:00
|
|
|
[[This structure includes all the information about content changes.
|
|
|
|
|
|
|
|
It's meant to be used to implement undo/redo.
|
2020-01-31 07:11:57 -08:00
|
|
|
@since 1.24
|
2017-12-12 22:12:13 -08:00
|
|
|
]]
|
|
|
|
content: string; [[The content added/removed]]
|
|
|
|
position: size; [[The position where it was added/removed]]
|
|
|
|
length: size; [[The length of content in characters (not bytes, actual unicode characters)]]
|
2020-02-03 01:57:57 -08:00
|
|
|
type: Efl.Text_Change_Type; [[Text change type]]
|
2020-01-06 21:35:10 -08:00
|
|
|
mergeable: bool; [[$true if can be merged with the previous one. Used for example with insertion when something is already selected]]
|
2017-12-12 22:12:13 -08:00
|
|
|
}
|