summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_text_cursor.eo
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-07-17 12:45:36 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-07-17 16:51:45 +0300
commitd5f781da2b93085d51fd09803e27579fb7f8c2da (patch)
tree44d34b8114b413ad30fc9742e728fb2474997c8c /src/lib/efl/interfaces/efl_text_cursor.eo
parentc4ea25cbdbfb027d5119880ddcf0bf5ba6a5720b (diff)
Efl text: replace all usages of cursor handle to same type
Changes cursor handle name from 'Efl.Text.Cursor.Cursor_Data' to 'Efl.Text.Cursor.Cursor'. Also, replace all usages of Efl_Canvas_Text_Cursor with Efl_Text_Cursor_Cursor as the handle for the cursor.
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_text_cursor.eo56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/lib/efl/interfaces/efl_text_cursor.eo b/src/lib/efl/interfaces/efl_text_cursor.eo
index ad9db0d100..c138769a68 100644
--- a/src/lib/efl/interfaces/efl_text_cursor.eo
+++ b/src/lib/efl/interfaces/efl_text_cursor.eo
@@ -36,7 +36,7 @@ interface Efl.Text.Cursor {
36 ]] 36 ]]
37 get { 37 get {
38 legacy: null; 38 legacy: null;
39 return: ptr(Efl.Text.Cursor.Cursor_Data); [[Text cursor object]] 39 return: ptr(Efl.Text.Cursor.Cursor); [[Text cursor object]]
40 } 40 }
41 keys { 41 keys {
42 get_type: Efl.Text.Cursor.Cursor_Get_Type; 42 get_type: Efl.Text.Cursor.Cursor_Get_Type;
@@ -49,7 +49,7 @@ interface Efl.Text.Cursor {
49 position: int; 49 position: int;
50 } 50 }
51 keys { 51 keys {
52 cur: ptr(Efl.Text.Cursor.Cursor_Data); 52 cur: ptr(Efl.Text.Cursor.Cursor);
53 } 53 }
54 } 54 }
55 @property cursor_content { 55 @property cursor_content {
@@ -61,7 +61,7 @@ interface Efl.Text.Cursor {
61 content: Eina.Unicode; [[The unicode codepoint of the character]] 61 content: Eina.Unicode; [[The unicode codepoint of the character]]
62 } 62 }
63 keys { 63 keys {
64 cur: ptr(const(Efl.Text.Cursor.Cursor_Data)); 64 cur: ptr(const(Efl.Text.Cursor.Cursor));
65 } 65 }
66 } 66 }
67 @property cursor_geometry { 67 @property cursor_geometry {
@@ -78,7 +78,7 @@ interface Efl.Text.Cursor {
78 return: bool; [[ $true if split cursor, $false otherwise.]] 78 return: bool; [[ $true if split cursor, $false otherwise.]]
79 } 79 }
80 keys { 80 keys {
81 cur: ptr(const(Efl.Text.Cursor.Cursor_Data)); 81 cur: ptr(const(Efl.Text.Cursor.Cursor));
82 ctype: Efl.Text.Cursor.Cursor_Type; [[The type of the cursor.]] 82 ctype: Efl.Text.Cursor.Cursor_Type; [[The type of the cursor.]]
83 } 83 }
84 values { 84 values {
@@ -94,122 +94,122 @@ interface Efl.Text.Cursor {
94 } 94 }
95 cursor_new { 95 cursor_new {
96 legacy: null; 96 legacy: null;
97 return: ptr(Efl.Text.Cursor.Cursor_Data); 97 return: ptr(Efl.Text.Cursor.Cursor);
98 } 98 }
99 cursor_free { 99 cursor_free {
100 legacy: null; 100 legacy: null;
101 params { 101 params {
102 cur: ptr(Efl.Text.Cursor.Cursor_Data); 102 cur: ptr(Efl.Text.Cursor.Cursor);
103 } 103 }
104 } 104 }
105 cursor_equal { 105 cursor_equal {
106 legacy: null; 106 legacy: null;
107 params { 107 params {
108 cur1: ptr(const(Efl.Text.Cursor.Cursor_Data)); 108 cur1: ptr(const(Efl.Text.Cursor.Cursor));
109 cur2: ptr(const(Efl.Text.Cursor.Cursor_Data)); 109 cur2: ptr(const(Efl.Text.Cursor.Cursor));
110 } 110 }
111 return: bool; 111 return: bool;
112 } 112 }
113 cursor_compare { 113 cursor_compare {
114 legacy: null; 114 legacy: null;
115 params { 115 params {
116 cur1: ptr(const(Efl.Text.Cursor.Cursor_Data)); 116 cur1: ptr(const(Efl.Text.Cursor.Cursor));
117 cur2: ptr(const(Efl.Text.Cursor.Cursor_Data)); 117 cur2: ptr(const(Efl.Text.Cursor.Cursor));
118 } 118 }
119 return: int; 119 return: int;
120 } 120 }
121 cursor_copy { 121 cursor_copy {
122 legacy: null; 122 legacy: null;
123 params { 123 params {
124 dst: ptr(Efl.Text.Cursor.Cursor_Data); 124 dst: ptr(Efl.Text.Cursor.Cursor);
125 src: ptr(const(Efl.Text.Cursor.Cursor_Data)); 125 src: ptr(const(Efl.Text.Cursor.Cursor));
126 } 126 }
127 } 127 }
128 cursor_char_next { 128 cursor_char_next {
129 legacy: null; 129 legacy: null;
130 params { 130 params {
131 cur: ptr(Efl.Text.Cursor.Cursor_Data); 131 cur: ptr(Efl.Text.Cursor.Cursor);
132 } 132 }
133 } 133 }
134 cursor_char_prev { 134 cursor_char_prev {
135 legacy: null; 135 legacy: null;
136 params { 136 params {
137 cur: ptr(Efl.Text.Cursor.Cursor_Data); 137 cur: ptr(Efl.Text.Cursor.Cursor);
138 } 138 }
139 } 139 }
140 cursor_paragraph_char_first { 140 cursor_paragraph_char_first {
141 legacy: null; 141 legacy: null;
142 params { 142 params {
143 cur: ptr(Efl.Text.Cursor.Cursor_Data); 143 cur: ptr(Efl.Text.Cursor.Cursor);
144 } 144 }
145 } 145 }
146 cursor_paragraph_char_last { 146 cursor_paragraph_char_last {
147 legacy: null; 147 legacy: null;
148 params { 148 params {
149 cur: ptr(Efl.Text.Cursor.Cursor_Data); 149 cur: ptr(Efl.Text.Cursor.Cursor);
150 } 150 }
151 } 151 }
152 cursor_word_start { 152 cursor_word_start {
153 legacy: null; 153 legacy: null;
154 params { 154 params {
155 cur: ptr(Efl.Text.Cursor.Cursor_Data); 155 cur: ptr(Efl.Text.Cursor.Cursor);
156 } 156 }
157 } 157 }
158 cursor_word_end { 158 cursor_word_end {
159 legacy: null; 159 legacy: null;
160 params { 160 params {
161 cur: ptr(Efl.Text.Cursor.Cursor_Data); 161 cur: ptr(Efl.Text.Cursor.Cursor);
162 } 162 }
163 } 163 }
164 cursor_line_char_first { 164 cursor_line_char_first {
165 legacy: null; 165 legacy: null;
166 params { 166 params {
167 cur: ptr(Efl.Text.Cursor.Cursor_Data); 167 cur: ptr(Efl.Text.Cursor.Cursor);
168 } 168 }
169 } 169 }
170 cursor_line_char_last { 170 cursor_line_char_last {
171 legacy: null; 171 legacy: null;
172 params { 172 params {
173 cur: ptr(Efl.Text.Cursor.Cursor_Data); 173 cur: ptr(Efl.Text.Cursor.Cursor);
174 } 174 }
175 } 175 }
176 cursor_paragraph_first { 176 cursor_paragraph_first {
177 legacy: null; 177 legacy: null;
178 params { 178 params {
179 cur: ptr(Efl.Text.Cursor.Cursor_Data); 179 cur: ptr(Efl.Text.Cursor.Cursor);
180 } 180 }
181 } 181 }
182 cursor_paragraph_last { 182 cursor_paragraph_last {
183 legacy: null; 183 legacy: null;
184 params { 184 params {
185 cur: ptr(Efl.Text.Cursor.Cursor_Data); 185 cur: ptr(Efl.Text.Cursor.Cursor);
186 } 186 }
187 } 187 }
188 cursor_paragraph_next { 188 cursor_paragraph_next {
189 [[Advances to the start of the next text node]] 189 [[Advances to the start of the next text node]]
190 legacy: null; 190 legacy: null;
191 params { 191 params {
192 cur: ptr(Efl.Text.Cursor.Cursor_Data); 192 cur: ptr(Efl.Text.Cursor.Cursor);
193 } 193 }
194 } 194 }
195 cursor_paragraph_prev { 195 cursor_paragraph_prev {
196 [[Advances to the end of the previous text node]] 196 [[Advances to the end of the previous text node]]
197 legacy: null; 197 legacy: null;
198 params { 198 params {
199 cur: ptr(Efl.Text.Cursor.Cursor_Data); 199 cur: ptr(Efl.Text.Cursor.Cursor);
200 } 200 }
201 } 201 }
202 cursor_line_jump_by { 202 cursor_line_jump_by {
203 legacy: null; 203 legacy: null;
204 params { 204 params {
205 cur: ptr(Efl.Text.Cursor.Cursor_Data); 205 cur: ptr(Efl.Text.Cursor.Cursor);
206 by: int; 206 by: int;
207 } 207 }
208 } 208 }
209 cursor_coord_set { 209 cursor_coord_set {
210 legacy: null; 210 legacy: null;
211 params { 211 params {
212 cur: ptr(Efl.Text.Cursor.Cursor_Data); 212 cur: ptr(Efl.Text.Cursor.Cursor);
213 @in x: int; [[X coord to set by.]] 213 @in x: int; [[X coord to set by.]]
214 @in y: int; [[Y coord to set by.]] 214 @in y: int; [[Y coord to set by.]]
215 } 215 }
@@ -220,7 +220,7 @@ interface Efl.Text.Cursor {
220 ]] 220 ]]
221 legacy: null; 221 legacy: null;
222 params { 222 params {
223 cur: ptr(Efl.Text.Cursor.Cursor_Data); 223 cur: ptr(Efl.Text.Cursor.Cursor);
224 @in text: string; [[Text to append (UTF-8 format).]] 224 @in text: string; [[Text to append (UTF-8 format).]]
225 } 225 }
226 return: int; [[Length of the appended text.]] 226 return: int; [[Length of the appended text.]]
@@ -229,7 +229,7 @@ interface Efl.Text.Cursor {
229 [[Deletes a single character from position pointed by given cursor.]] 229 [[Deletes a single character from position pointed by given cursor.]]
230 legacy: null; 230 legacy: null;
231 params { 231 params {
232 cur: ptr(Efl.Text.Cursor.Cursor_Data); 232 cur: ptr(Efl.Text.Cursor.Cursor);
233 } 233 }
234 } 234 }
235 } 235 }