summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorabdulleh Ghujeh <a.ghujeh@samsung.com>2020-02-03 09:57:57 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-04 09:54:58 +0100
commit7c058d5e61b3dba29bd36e21f6a9245dce9edde5 (patch)
treeac02aa33e2177cc9ee3db33113cab8aa6e74a516 /src/lib/efl
parentdd4bad3037f052b5b3cc56c7715d7b89bfe3636d (diff)
efl_text_change_info: change text change type property( bool -> enum)
changed the insertion property to be an enum instead of a boolean property. this will be clearer for usage and provide the ability to add more types in the future. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11272
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_text_types.eot8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_text_types.eot b/src/lib/efl/interfaces/efl_text_types.eot
index 956a8085c1..9f3e0d2690 100644
--- a/src/lib/efl/interfaces/efl_text_types.eot
+++ b/src/lib/efl/interfaces/efl_text_types.eot
@@ -10,6 +10,12 @@ enum Efl.Text_Bidirectional_Type {
10 inherit [[Inherit text type]] 10 inherit [[Inherit text type]]
11} 11}
12 12
13enum @beta Efl.Text_Change_Type {
14 [[Text change type.]]
15 insert = 0, [[the content was inserted.]]
16 remove [[the content was removed.]]
17}
18
13struct @beta Efl.Text_Change_Info { 19struct @beta Efl.Text_Change_Info {
14 [[This structure includes all the information about content changes. 20 [[This structure includes all the information about content changes.
15 21
@@ -18,6 +24,6 @@ struct @beta Efl.Text_Change_Info {
18 content: string; [[The content added/removed]] 24 content: string; [[The content added/removed]]
19 position: size; [[The position where it was added/removed]] 25 position: size; [[The position where it was added/removed]]
20 length: size; [[The length of content in characters (not bytes, actual unicode characters)]] 26 length: size; [[The length of content in characters (not bytes, actual unicode characters)]]
21 insertion: bool; [[$true if the content was inserted, $false if removed]] 27 type: Efl.Text_Change_Type; [[Text change type]]
22 mergeable: bool; [[$true if can be merged with the previous one. Used for example with insertion when something is already selected]] 28 mergeable: bool; [[$true if can be merged with the previous one. Used for example with insertion when something is already selected]]
23} 29}