diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-03-05 17:00:37 -0500 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2019-03-06 13:02:36 -0800 |
commit | ef5853b6d5196e44ae43a9a6561e5cc7b1daa7a0 (patch) | |
tree | 9befd1eec66d81fad528739938c3a6a3d1409761 /src/lib/efl/interfaces/efl_text_cursor.eo | |
parent | 971e4dd2a60b0dea8e6fa7e23aaa902e5363443c (diff) |
efl_text_cursor: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas and adds it to the tree, then removes legacy references from the
corresponding eo files. in the case where the entire eo file was for
a legacy object, that eo file has been removed from the tree
ref T7724
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8119
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl/interfaces/efl_text_cursor.eo | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/src/lib/efl/interfaces/efl_text_cursor.eo b/src/lib/efl/interfaces/efl_text_cursor.eo index 855c49f207..1f8b4ed59b 100644 --- a/src/lib/efl/interfaces/efl_text_cursor.eo +++ b/src/lib/efl/interfaces/efl_text_cursor.eo | |||
@@ -3,7 +3,6 @@ import efl_text_types; | |||
3 | 3 | ||
4 | enum Efl.Text_Cursor_Get_Type { | 4 | enum Efl.Text_Cursor_Get_Type { |
5 | [[All available cursor states]] | 5 | [[All available cursor states]] |
6 | legacy: efl_text_cursor_get; | ||
7 | default = 0, [[Main cursor state (alias to "main")]] | 6 | default = 0, [[Main cursor state (alias to "main")]] |
8 | main, [[Main cursor state]] | 7 | main, [[Main cursor state]] |
9 | selection_begin, [[Selection begin cursor state]] | 8 | selection_begin, [[Selection begin cursor state]] |
@@ -17,7 +16,6 @@ enum Efl.Text_Cursor_Get_Type { | |||
17 | enum Efl.Text_Cursor_Type | 16 | enum Efl.Text_Cursor_Type |
18 | { | 17 | { |
19 | [[Text cursor types]] | 18 | [[Text cursor types]] |
20 | legacy: efl_text_cursor_type; | ||
21 | before, [[Cursor type before]] | 19 | before, [[Cursor type before]] |
22 | under [[Cursor type under]] | 20 | under [[Cursor type under]] |
23 | } | 21 | } |
@@ -35,7 +33,6 @@ interface @beta Efl.Text_Cursor { | |||
35 | @since 1.18 | 33 | @since 1.18 |
36 | ]] | 34 | ]] |
37 | get { | 35 | get { |
38 | legacy: null; | ||
39 | return: ptr(Efl.Text_Cursor_Cursor); [[Text cursor object]] | 36 | return: ptr(Efl.Text_Cursor_Cursor); [[Text cursor object]] |
40 | } | 37 | } |
41 | keys { | 38 | keys { |
@@ -44,8 +41,8 @@ interface @beta Efl.Text_Cursor { | |||
44 | } | 41 | } |
45 | @property cursor_position { | 42 | @property cursor_position { |
46 | [[Cursor position]] | 43 | [[Cursor position]] |
47 | set { legacy: null; } | 44 | set { } |
48 | get { legacy: null; } | 45 | get { } |
49 | values { | 46 | values { |
50 | position: int; [[Cursor position]] | 47 | position: int; [[Cursor position]] |
51 | } | 48 | } |
@@ -56,7 +53,6 @@ interface @beta Efl.Text_Cursor { | |||
56 | @property cursor_content { | 53 | @property cursor_content { |
57 | [[The content of the cursor (the character under the cursor)]] | 54 | [[The content of the cursor (the character under the cursor)]] |
58 | get { | 55 | get { |
59 | legacy: null; | ||
60 | } | 56 | } |
61 | values { | 57 | values { |
62 | content: Eina.Unicode; [[The unicode codepoint of the character]] | 58 | content: Eina.Unicode; [[The unicode codepoint of the character]] |
@@ -75,7 +71,6 @@ interface @beta Efl.Text_Cursor { | |||
75 | In this case $true is returned and $cx2, $cy2, $cw2, $ch2 are set. | 71 | In this case $true is returned and $cx2, $cy2, $cw2, $ch2 are set. |
76 | ]] | 72 | ]] |
77 | get { | 73 | get { |
78 | legacy: null; | ||
79 | return: bool; [[ $true if split cursor, $false otherwise.]] | 74 | return: bool; [[ $true if split cursor, $false otherwise.]] |
80 | } | 75 | } |
81 | keys { | 76 | keys { |
@@ -95,19 +90,16 @@ interface @beta Efl.Text_Cursor { | |||
95 | } | 90 | } |
96 | cursor_new { | 91 | cursor_new { |
97 | [[Create new cursor]] | 92 | [[Create new cursor]] |
98 | legacy: null; | ||
99 | return: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 93 | return: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
100 | } | 94 | } |
101 | cursor_free { | 95 | cursor_free { |
102 | [[Free existing cursor]] | 96 | [[Free existing cursor]] |
103 | legacy: null; | ||
104 | params { | 97 | params { |
105 | cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 98 | cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
106 | } | 99 | } |
107 | } | 100 | } |
108 | cursor_equal { | 101 | cursor_equal { |
109 | [[Check if two cursors are equal]] | 102 | [[Check if two cursors are equal]] |
110 | legacy: null; | ||
111 | params { | 103 | params { |
112 | @cref cur1: Efl.Text_Cursor_Cursor; [[Cursor 1 object]] | 104 | @cref cur1: Efl.Text_Cursor_Cursor; [[Cursor 1 object]] |
113 | @cref cur2: Efl.Text_Cursor_Cursor; [[Cursor 2 object]] | 105 | @cref cur2: Efl.Text_Cursor_Cursor; [[Cursor 2 object]] |
@@ -116,7 +108,6 @@ interface @beta Efl.Text_Cursor { | |||
116 | } | 108 | } |
117 | cursor_compare { | 109 | cursor_compare { |
118 | [[Compare two cursors]] | 110 | [[Compare two cursors]] |
119 | legacy: null; | ||
120 | params { | 111 | params { |
121 | @cref cur1: Efl.Text_Cursor_Cursor; [[Cursor 1 object]] | 112 | @cref cur1: Efl.Text_Cursor_Cursor; [[Cursor 1 object]] |
122 | @cref cur2: Efl.Text_Cursor_Cursor; [[Cursor 2 object]] | 113 | @cref cur2: Efl.Text_Cursor_Cursor; [[Cursor 2 object]] |
@@ -125,7 +116,6 @@ interface @beta Efl.Text_Cursor { | |||
125 | } | 116 | } |
126 | cursor_copy { | 117 | cursor_copy { |
127 | [[Copy existing cursor]] | 118 | [[Copy existing cursor]] |
128 | legacy: null; | ||
129 | params { | 119 | params { |
130 | /* @out */ dst: ptr(Efl.Text_Cursor_Cursor); [[Destination cursor]] | 120 | /* @out */ dst: ptr(Efl.Text_Cursor_Cursor); [[Destination cursor]] |
131 | @cref src: Efl.Text_Cursor_Cursor; [[Source cursor]] | 121 | @cref src: Efl.Text_Cursor_Cursor; [[Source cursor]] |
@@ -133,105 +123,90 @@ interface @beta Efl.Text_Cursor { | |||
133 | } | 123 | } |
134 | cursor_char_next { | 124 | cursor_char_next { |
135 | [[Advances to the next character]] | 125 | [[Advances to the next character]] |
136 | legacy: null; | ||
137 | params { | 126 | params { |
138 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 127 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
139 | } | 128 | } |
140 | } | 129 | } |
141 | cursor_char_prev { | 130 | cursor_char_prev { |
142 | [[Advances to the previous character]] | 131 | [[Advances to the previous character]] |
143 | legacy: null; | ||
144 | params { | 132 | params { |
145 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 133 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
146 | } | 134 | } |
147 | } | 135 | } |
148 | cursor_cluster_next { | 136 | cursor_cluster_next { |
149 | [[Advances to the next grapheme cluster]] | 137 | [[Advances to the next grapheme cluster]] |
150 | legacy: null; | ||
151 | params { | 138 | params { |
152 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 139 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
153 | } | 140 | } |
154 | } | 141 | } |
155 | cursor_cluster_prev { | 142 | cursor_cluster_prev { |
156 | [[Advances to the previous grapheme cluster]] | 143 | [[Advances to the previous grapheme cluster]] |
157 | legacy: null; | ||
158 | params { | 144 | params { |
159 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 145 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
160 | } | 146 | } |
161 | } | 147 | } |
162 | cursor_paragraph_char_first { | 148 | cursor_paragraph_char_first { |
163 | [[Advances to the first character in this paragraph]] | 149 | [[Advances to the first character in this paragraph]] |
164 | legacy: null; | ||
165 | params { | 150 | params { |
166 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 151 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
167 | } | 152 | } |
168 | } | 153 | } |
169 | cursor_paragraph_char_last { | 154 | cursor_paragraph_char_last { |
170 | [[Advances to the last character in this paragraph]] | 155 | [[Advances to the last character in this paragraph]] |
171 | legacy: null; | ||
172 | params { | 156 | params { |
173 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 157 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
174 | } | 158 | } |
175 | } | 159 | } |
176 | cursor_word_start { | 160 | cursor_word_start { |
177 | [[Advance to current word start]] | 161 | [[Advance to current word start]] |
178 | legacy: null; | ||
179 | params { | 162 | params { |
180 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 163 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
181 | } | 164 | } |
182 | } | 165 | } |
183 | cursor_word_end { | 166 | cursor_word_end { |
184 | [[Advance to current word end]] | 167 | [[Advance to current word end]] |
185 | legacy: null; | ||
186 | params { | 168 | params { |
187 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 169 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
188 | } | 170 | } |
189 | } | 171 | } |
190 | cursor_line_char_first { | 172 | cursor_line_char_first { |
191 | [[Advance to current line first character]] | 173 | [[Advance to current line first character]] |
192 | legacy: null; | ||
193 | params { | 174 | params { |
194 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 175 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
195 | } | 176 | } |
196 | } | 177 | } |
197 | cursor_line_char_last { | 178 | cursor_line_char_last { |
198 | [[Advance to current line last character]] | 179 | [[Advance to current line last character]] |
199 | legacy: null; | ||
200 | params { | 180 | params { |
201 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 181 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
202 | } | 182 | } |
203 | } | 183 | } |
204 | cursor_paragraph_first { | 184 | cursor_paragraph_first { |
205 | [[Advance to current paragraph first character]] | 185 | [[Advance to current paragraph first character]] |
206 | legacy: null; | ||
207 | params { | 186 | params { |
208 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 187 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
209 | } | 188 | } |
210 | } | 189 | } |
211 | cursor_paragraph_last { | 190 | cursor_paragraph_last { |
212 | [[Advance to current paragraph last character]] | 191 | [[Advance to current paragraph last character]] |
213 | legacy: null; | ||
214 | params { | 192 | params { |
215 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 193 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
216 | } | 194 | } |
217 | } | 195 | } |
218 | cursor_paragraph_next { | 196 | cursor_paragraph_next { |
219 | [[Advances to the start of the next text node]] | 197 | [[Advances to the start of the next text node]] |
220 | legacy: null; | ||
221 | params { | 198 | params { |
222 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 199 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
223 | } | 200 | } |
224 | } | 201 | } |
225 | cursor_paragraph_prev { | 202 | cursor_paragraph_prev { |
226 | [[Advances to the end of the previous text node]] | 203 | [[Advances to the end of the previous text node]] |
227 | legacy: null; | ||
228 | params { | 204 | params { |
229 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 205 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
230 | } | 206 | } |
231 | } | 207 | } |
232 | cursor_line_jump_by { | 208 | cursor_line_jump_by { |
233 | [[Jump the cursor by the given number of lines]] | 209 | [[Jump the cursor by the given number of lines]] |
234 | legacy: null; | ||
235 | params { | 210 | params { |
236 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 211 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
237 | by: int; [[Number of lines]] | 212 | by: int; [[Number of lines]] |
@@ -239,7 +214,6 @@ interface @beta Efl.Text_Cursor { | |||
239 | } | 214 | } |
240 | cursor_coord_set { | 215 | cursor_coord_set { |
241 | [[Set cursor coordinates]] | 216 | [[Set cursor coordinates]] |
242 | legacy: null; | ||
243 | params { | 217 | params { |
244 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 218 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
245 | @in x: int; [[X coord to set by.]] | 219 | @in x: int; [[X coord to set by.]] |
@@ -250,7 +224,6 @@ interface @beta Efl.Text_Cursor { | |||
250 | [[Set cursor coordinates according to grapheme clusters. | 224 | [[Set cursor coordinates according to grapheme clusters. |
251 | It does not allow to put a cursor to the middle of a grapheme cluster. | 225 | It does not allow to put a cursor to the middle of a grapheme cluster. |
252 | ]] | 226 | ]] |
253 | legacy: null; | ||
254 | params { | 227 | params { |
255 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 228 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
256 | @in x: int; [[X coord to set by.]] | 229 | @in x: int; [[X coord to set by.]] |
@@ -261,7 +234,6 @@ interface @beta Efl.Text_Cursor { | |||
261 | [[Adds text to the current cursor position and set the cursor to | 234 | [[Adds text to the current cursor position and set the cursor to |
262 | *after* the start of the text just added. | 235 | *after* the start of the text just added. |
263 | ]] | 236 | ]] |
264 | legacy: null; | ||
265 | params { | 237 | params { |
266 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 238 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
267 | @in text: string; [[Text to append (UTF-8 format).]] | 239 | @in text: string; [[Text to append (UTF-8 format).]] |
@@ -270,7 +242,6 @@ interface @beta Efl.Text_Cursor { | |||
270 | } | 242 | } |
271 | cursor_char_delete { | 243 | cursor_char_delete { |
272 | [[Deletes a single character from position pointed by given cursor.]] | 244 | [[Deletes a single character from position pointed by given cursor.]] |
273 | legacy: null; | ||
274 | params { | 245 | params { |
275 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] | 246 | /* @inout */ cur: ptr(Efl.Text_Cursor_Cursor); [[Cursor object]] |
276 | } | 247 | } |