1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
8 /// <summary>Cursor API
10 [TextCursorNativeInherit]
11 public interface TextCursor :
12 Efl.Eo.IWrapper, IDisposable
14 /// <summary>The object's main cursor.
16 /// <param name="get_type">Cursor type
18 /// <returns>Text cursor object
20 Efl.TextCursorCursor GetTextCursor( Efl.TextCursorGetType get_type);
21 /// <summary>Cursor position
23 /// <param name="cur">Cursor object
25 /// <returns>Cursor position
27 int GetCursorPosition( Efl.TextCursorCursor cur);
28 /// <summary>Cursor position
30 /// <param name="cur">Cursor object
32 /// <param name="position">Cursor position
34 /// <returns></returns>
35 void SetCursorPosition( Efl.TextCursorCursor cur, int position);
36 /// <summary>The content of the cursor (the character under the cursor)
38 /// <param name="cur">Cursor object
40 /// <returns>The unicode codepoint of the character
42 Eina.Unicode GetCursorContent( Efl.TextCursorCursor cur);
43 /// <summary>Returns the geometry of two cursors ("split cursor"), if logical cursor is between LTR/RTL text, also considering paragraph direction. Upper cursor is shown for the text of the same direction as paragraph, lower cursor - for opposite.
44 /// Split cursor geometry is valid only in '|' cursor mode. In this case <c>true</c> is returned and <c>cx2</c>, <c>cy2</c>, <c>cw2</c>, <c>ch2</c> are set.
46 /// <param name="cur">Cursor object
48 /// <param name="ctype">The type of the cursor.
50 /// <param name="cx">The x of the cursor (or upper cursor)
52 /// <param name="cy">The y of the cursor (or upper cursor)
54 /// <param name="cw">The width of the cursor (or upper cursor)
56 /// <param name="ch">The height of the cursor (or upper cursor)
58 /// <param name="cx2">The x of the lower cursor
60 /// <param name="cy2">The y of the lower cursor
62 /// <param name="cw2">The width of the lower cursor
64 /// <param name="ch2">The height of the lower cursor
66 /// <returns><c>true</c> if split cursor, <c>false</c> otherwise.
68 bool GetCursorGeometry( Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2);
69 /// <summary>Create new cursor
71 /// <returns>Cursor object
73 Efl.TextCursorCursor NewCursor();
74 /// <summary>Free existing cursor
76 /// <param name="cur">Cursor object
78 /// <returns></returns>
79 void CursorFree( Efl.TextCursorCursor cur);
80 /// <summary>Check if two cursors are equal
82 /// <param name="cur1">Cursor 1 object
84 /// <param name="cur2">Cursor 2 object
86 /// <returns><c>true</c> if cursors are equal, <c>false</c> otherwise
88 bool CursorEqual( Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2);
89 /// <summary>Compare two cursors
91 /// <param name="cur1">Cursor 1 object
93 /// <param name="cur2">Cursor 2 object
95 /// <returns>Difference between cursors
97 int CursorCompare( Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2);
98 /// <summary>Copy existing cursor
100 /// <param name="dst">Destination cursor
102 /// <param name="src">Source cursor
104 /// <returns></returns>
105 void CursorCopy( Efl.TextCursorCursor dst, Efl.TextCursorCursor src);
106 /// <summary>Advances to the next character
108 /// <param name="cur">Cursor object
110 /// <returns></returns>
111 void CursorCharNext( Efl.TextCursorCursor cur);
112 /// <summary>Advances to the previous character
114 /// <param name="cur">Cursor object
116 /// <returns></returns>
117 void CursorCharPrev( Efl.TextCursorCursor cur);
118 /// <summary>Advances to the next grapheme cluster
120 /// <param name="cur">Cursor object
122 /// <returns></returns>
123 void CursorClusterNext( Efl.TextCursorCursor cur);
124 /// <summary>Advances to the previous grapheme cluster
126 /// <param name="cur">Cursor object
128 /// <returns></returns>
129 void CursorClusterPrev( Efl.TextCursorCursor cur);
130 /// <summary>Advances to the first character in this paragraph
132 /// <param name="cur">Cursor object
134 /// <returns></returns>
135 void CursorParagraphCharFirst( Efl.TextCursorCursor cur);
136 /// <summary>Advances to the last character in this paragraph
138 /// <param name="cur">Cursor object
140 /// <returns></returns>
141 void CursorParagraphCharLast( Efl.TextCursorCursor cur);
142 /// <summary>Advance to current word start
144 /// <param name="cur">Cursor object
146 /// <returns></returns>
147 void CursorWordStart( Efl.TextCursorCursor cur);
148 /// <summary>Advance to current word end
150 /// <param name="cur">Cursor object
152 /// <returns></returns>
153 void CursorWordEnd( Efl.TextCursorCursor cur);
154 /// <summary>Advance to current line first character
156 /// <param name="cur">Cursor object
158 /// <returns></returns>
159 void CursorLineCharFirst( Efl.TextCursorCursor cur);
160 /// <summary>Advance to current line last character
162 /// <param name="cur">Cursor object
164 /// <returns></returns>
165 void CursorLineCharLast( Efl.TextCursorCursor cur);
166 /// <summary>Advance to current paragraph first character
168 /// <param name="cur">Cursor object
170 /// <returns></returns>
171 void CursorParagraphFirst( Efl.TextCursorCursor cur);
172 /// <summary>Advance to current paragraph last character
174 /// <param name="cur">Cursor object
176 /// <returns></returns>
177 void CursorParagraphLast( Efl.TextCursorCursor cur);
178 /// <summary>Advances to the start of the next text node
180 /// <param name="cur">Cursor object
182 /// <returns></returns>
183 void CursorParagraphNext( Efl.TextCursorCursor cur);
184 /// <summary>Advances to the end of the previous text node
186 /// <param name="cur">Cursor object
188 /// <returns></returns>
189 void CursorParagraphPrev( Efl.TextCursorCursor cur);
190 /// <summary>Jump the cursor by the given number of lines
192 /// <param name="cur">Cursor object
194 /// <param name="by">Number of lines
196 /// <returns></returns>
197 void CursorLineJumpBy( Efl.TextCursorCursor cur, int by);
198 /// <summary>Set cursor coordinates
200 /// <param name="cur">Cursor object
202 /// <param name="x">X coord to set by.
204 /// <param name="y">Y coord to set by.
206 /// <returns></returns>
207 void SetCursorCoord( Efl.TextCursorCursor cur, int x, int y);
208 /// <summary>Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster.
210 /// <param name="cur">Cursor object
212 /// <param name="x">X coord to set by.
214 /// <param name="y">Y coord to set by.
216 /// <returns></returns>
217 void SetCursorClusterCoord( Efl.TextCursorCursor cur, int x, int y);
218 /// <summary>Adds text to the current cursor position and set the cursor to *after* the start of the text just added.
220 /// <param name="cur">Cursor object
222 /// <param name="text">Text to append (UTF-8 format).
224 /// <returns>Length of the appended text.
226 int CursorTextInsert( Efl.TextCursorCursor cur, System.String text);
227 /// <summary>Deletes a single character from position pointed by given cursor.
229 /// <param name="cur">Cursor object
231 /// <returns></returns>
232 void CursorCharDelete( Efl.TextCursorCursor cur);
234 /// <summary>Cursor API
236 sealed public class TextCursorConcrete :
241 ///<summary>Pointer to the native class description.</summary>
242 public System.IntPtr NativeClass {
244 if (((object)this).GetType() == typeof (TextCursorConcrete))
245 return Efl.TextCursorNativeInherit.GetEflClassStatic();
247 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
250 private System.IntPtr handle;
251 ///<summary>Pointer to the native instance.</summary>
252 public System.IntPtr NativeHandle {
253 get { return handle; }
255 [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr
256 efl_text_cursor_interface_get();
257 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
258 public TextCursorConcrete(System.IntPtr raw)
261 register_event_proxies();
263 ///<summary>Destructor.</summary>
264 ~TextCursorConcrete()
268 ///<summary>Releases the underlying native instance.</summary>
269 void Dispose(bool disposing)
271 if (handle != System.IntPtr.Zero) {
272 Efl.Eo.Globals.efl_unref(handle);
273 handle = System.IntPtr.Zero;
276 ///<summary>Releases the underlying native instance.</summary>
277 public void Dispose()
280 GC.SuppressFinalize(this);
282 ///<summary>Casts obj into an instance of this type.</summary>
283 public static TextCursorConcrete static_cast(Efl.Object obj)
286 throw new System.ArgumentNullException("obj");
287 return new TextCursorConcrete(obj.NativeHandle);
289 ///<summary>Verifies if the given object is equal to this one.</summary>
290 public override bool Equals(object obj)
292 var other = obj as Efl.Object;
295 return this.NativeHandle == other.NativeHandle;
297 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
298 public override int GetHashCode()
300 return this.NativeHandle.ToInt32();
302 ///<summary>Turns the native pointer into a string representation.</summary>
303 public override String ToString()
305 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
307 void register_event_proxies()
310 /// <summary>The object's main cursor.
312 /// <param name="get_type">Cursor type
314 /// <returns>Text cursor object
316 public Efl.TextCursorCursor GetTextCursor( Efl.TextCursorGetType get_type) {
317 var _ret_var = Efl.TextCursorNativeInherit.efl_text_cursor_get_ptr.Value.Delegate(this.NativeHandle, get_type);
318 Eina.Error.RaiseIfUnhandledException();
321 /// <summary>Cursor position
323 /// <param name="cur">Cursor object
325 /// <returns>Cursor position
327 public int GetCursorPosition( Efl.TextCursorCursor cur) {
328 var _ret_var = Efl.TextCursorNativeInherit.efl_text_cursor_position_get_ptr.Value.Delegate(this.NativeHandle, cur);
329 Eina.Error.RaiseIfUnhandledException();
332 /// <summary>Cursor position
334 /// <param name="cur">Cursor object
336 /// <param name="position">Cursor position
338 /// <returns></returns>
339 public void SetCursorPosition( Efl.TextCursorCursor cur, int position) {
340 Efl.TextCursorNativeInherit.efl_text_cursor_position_set_ptr.Value.Delegate(this.NativeHandle, cur, position);
341 Eina.Error.RaiseIfUnhandledException();
343 /// <summary>The content of the cursor (the character under the cursor)
345 /// <param name="cur">Cursor object
347 /// <returns>The unicode codepoint of the character
349 public Eina.Unicode GetCursorContent( Efl.TextCursorCursor cur) {
350 var _ret_var = Efl.TextCursorNativeInherit.efl_text_cursor_content_get_ptr.Value.Delegate(this.NativeHandle, cur);
351 Eina.Error.RaiseIfUnhandledException();
354 /// <summary>Returns the geometry of two cursors ("split cursor"), if logical cursor is between LTR/RTL text, also considering paragraph direction. Upper cursor is shown for the text of the same direction as paragraph, lower cursor - for opposite.
355 /// Split cursor geometry is valid only in '|' cursor mode. In this case <c>true</c> is returned and <c>cx2</c>, <c>cy2</c>, <c>cw2</c>, <c>ch2</c> are set.
357 /// <param name="cur">Cursor object
359 /// <param name="ctype">The type of the cursor.
361 /// <param name="cx">The x of the cursor (or upper cursor)
363 /// <param name="cy">The y of the cursor (or upper cursor)
365 /// <param name="cw">The width of the cursor (or upper cursor)
367 /// <param name="ch">The height of the cursor (or upper cursor)
369 /// <param name="cx2">The x of the lower cursor
371 /// <param name="cy2">The y of the lower cursor
373 /// <param name="cw2">The width of the lower cursor
375 /// <param name="ch2">The height of the lower cursor
377 /// <returns><c>true</c> if split cursor, <c>false</c> otherwise.
379 public bool GetCursorGeometry( Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2) {
380 var _ret_var = Efl.TextCursorNativeInherit.efl_text_cursor_geometry_get_ptr.Value.Delegate(this.NativeHandle, cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
381 Eina.Error.RaiseIfUnhandledException();
384 /// <summary>Create new cursor
386 /// <returns>Cursor object
388 public Efl.TextCursorCursor NewCursor() {
389 var _ret_var = Efl.TextCursorNativeInherit.efl_text_cursor_new_ptr.Value.Delegate(this.NativeHandle);
390 Eina.Error.RaiseIfUnhandledException();
393 /// <summary>Free existing cursor
395 /// <param name="cur">Cursor object
397 /// <returns></returns>
398 public void CursorFree( Efl.TextCursorCursor cur) {
399 Efl.TextCursorNativeInherit.efl_text_cursor_free_ptr.Value.Delegate(this.NativeHandle, cur);
400 Eina.Error.RaiseIfUnhandledException();
402 /// <summary>Check if two cursors are equal
404 /// <param name="cur1">Cursor 1 object
406 /// <param name="cur2">Cursor 2 object
408 /// <returns><c>true</c> if cursors are equal, <c>false</c> otherwise
410 public bool CursorEqual( Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
411 var _ret_var = Efl.TextCursorNativeInherit.efl_text_cursor_equal_ptr.Value.Delegate(this.NativeHandle, cur1, cur2);
412 Eina.Error.RaiseIfUnhandledException();
415 /// <summary>Compare two cursors
417 /// <param name="cur1">Cursor 1 object
419 /// <param name="cur2">Cursor 2 object
421 /// <returns>Difference between cursors
423 public int CursorCompare( Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) {
424 var _ret_var = Efl.TextCursorNativeInherit.efl_text_cursor_compare_ptr.Value.Delegate(this.NativeHandle, cur1, cur2);
425 Eina.Error.RaiseIfUnhandledException();
428 /// <summary>Copy existing cursor
430 /// <param name="dst">Destination cursor
432 /// <param name="src">Source cursor
434 /// <returns></returns>
435 public void CursorCopy( Efl.TextCursorCursor dst, Efl.TextCursorCursor src) {
436 Efl.TextCursorNativeInherit.efl_text_cursor_copy_ptr.Value.Delegate(this.NativeHandle, dst, src);
437 Eina.Error.RaiseIfUnhandledException();
439 /// <summary>Advances to the next character
441 /// <param name="cur">Cursor object
443 /// <returns></returns>
444 public void CursorCharNext( Efl.TextCursorCursor cur) {
445 Efl.TextCursorNativeInherit.efl_text_cursor_char_next_ptr.Value.Delegate(this.NativeHandle, cur);
446 Eina.Error.RaiseIfUnhandledException();
448 /// <summary>Advances to the previous character
450 /// <param name="cur">Cursor object
452 /// <returns></returns>
453 public void CursorCharPrev( Efl.TextCursorCursor cur) {
454 Efl.TextCursorNativeInherit.efl_text_cursor_char_prev_ptr.Value.Delegate(this.NativeHandle, cur);
455 Eina.Error.RaiseIfUnhandledException();
457 /// <summary>Advances to the next grapheme cluster
459 /// <param name="cur">Cursor object
461 /// <returns></returns>
462 public void CursorClusterNext( Efl.TextCursorCursor cur) {
463 Efl.TextCursorNativeInherit.efl_text_cursor_cluster_next_ptr.Value.Delegate(this.NativeHandle, cur);
464 Eina.Error.RaiseIfUnhandledException();
466 /// <summary>Advances to the previous grapheme cluster
468 /// <param name="cur">Cursor object
470 /// <returns></returns>
471 public void CursorClusterPrev( Efl.TextCursorCursor cur) {
472 Efl.TextCursorNativeInherit.efl_text_cursor_cluster_prev_ptr.Value.Delegate(this.NativeHandle, cur);
473 Eina.Error.RaiseIfUnhandledException();
475 /// <summary>Advances to the first character in this paragraph
477 /// <param name="cur">Cursor object
479 /// <returns></returns>
480 public void CursorParagraphCharFirst( Efl.TextCursorCursor cur) {
481 Efl.TextCursorNativeInherit.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate(this.NativeHandle, cur);
482 Eina.Error.RaiseIfUnhandledException();
484 /// <summary>Advances to the last character in this paragraph
486 /// <param name="cur">Cursor object
488 /// <returns></returns>
489 public void CursorParagraphCharLast( Efl.TextCursorCursor cur) {
490 Efl.TextCursorNativeInherit.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate(this.NativeHandle, cur);
491 Eina.Error.RaiseIfUnhandledException();
493 /// <summary>Advance to current word start
495 /// <param name="cur">Cursor object
497 /// <returns></returns>
498 public void CursorWordStart( Efl.TextCursorCursor cur) {
499 Efl.TextCursorNativeInherit.efl_text_cursor_word_start_ptr.Value.Delegate(this.NativeHandle, cur);
500 Eina.Error.RaiseIfUnhandledException();
502 /// <summary>Advance to current word end
504 /// <param name="cur">Cursor object
506 /// <returns></returns>
507 public void CursorWordEnd( Efl.TextCursorCursor cur) {
508 Efl.TextCursorNativeInherit.efl_text_cursor_word_end_ptr.Value.Delegate(this.NativeHandle, cur);
509 Eina.Error.RaiseIfUnhandledException();
511 /// <summary>Advance to current line first character
513 /// <param name="cur">Cursor object
515 /// <returns></returns>
516 public void CursorLineCharFirst( Efl.TextCursorCursor cur) {
517 Efl.TextCursorNativeInherit.efl_text_cursor_line_char_first_ptr.Value.Delegate(this.NativeHandle, cur);
518 Eina.Error.RaiseIfUnhandledException();
520 /// <summary>Advance to current line last character
522 /// <param name="cur">Cursor object
524 /// <returns></returns>
525 public void CursorLineCharLast( Efl.TextCursorCursor cur) {
526 Efl.TextCursorNativeInherit.efl_text_cursor_line_char_last_ptr.Value.Delegate(this.NativeHandle, cur);
527 Eina.Error.RaiseIfUnhandledException();
529 /// <summary>Advance to current paragraph first character
531 /// <param name="cur">Cursor object
533 /// <returns></returns>
534 public void CursorParagraphFirst( Efl.TextCursorCursor cur) {
535 Efl.TextCursorNativeInherit.efl_text_cursor_paragraph_first_ptr.Value.Delegate(this.NativeHandle, cur);
536 Eina.Error.RaiseIfUnhandledException();
538 /// <summary>Advance to current paragraph last character
540 /// <param name="cur">Cursor object
542 /// <returns></returns>
543 public void CursorParagraphLast( Efl.TextCursorCursor cur) {
544 Efl.TextCursorNativeInherit.efl_text_cursor_paragraph_last_ptr.Value.Delegate(this.NativeHandle, cur);
545 Eina.Error.RaiseIfUnhandledException();
547 /// <summary>Advances to the start of the next text node
549 /// <param name="cur">Cursor object
551 /// <returns></returns>
552 public void CursorParagraphNext( Efl.TextCursorCursor cur) {
553 Efl.TextCursorNativeInherit.efl_text_cursor_paragraph_next_ptr.Value.Delegate(this.NativeHandle, cur);
554 Eina.Error.RaiseIfUnhandledException();
556 /// <summary>Advances to the end of the previous text node
558 /// <param name="cur">Cursor object
560 /// <returns></returns>
561 public void CursorParagraphPrev( Efl.TextCursorCursor cur) {
562 Efl.TextCursorNativeInherit.efl_text_cursor_paragraph_prev_ptr.Value.Delegate(this.NativeHandle, cur);
563 Eina.Error.RaiseIfUnhandledException();
565 /// <summary>Jump the cursor by the given number of lines
567 /// <param name="cur">Cursor object
569 /// <param name="by">Number of lines
571 /// <returns></returns>
572 public void CursorLineJumpBy( Efl.TextCursorCursor cur, int by) {
573 Efl.TextCursorNativeInherit.efl_text_cursor_line_jump_by_ptr.Value.Delegate(this.NativeHandle, cur, by);
574 Eina.Error.RaiseIfUnhandledException();
576 /// <summary>Set cursor coordinates
578 /// <param name="cur">Cursor object
580 /// <param name="x">X coord to set by.
582 /// <param name="y">Y coord to set by.
584 /// <returns></returns>
585 public void SetCursorCoord( Efl.TextCursorCursor cur, int x, int y) {
586 Efl.TextCursorNativeInherit.efl_text_cursor_coord_set_ptr.Value.Delegate(this.NativeHandle, cur, x, y);
587 Eina.Error.RaiseIfUnhandledException();
589 /// <summary>Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster.
591 /// <param name="cur">Cursor object
593 /// <param name="x">X coord to set by.
595 /// <param name="y">Y coord to set by.
597 /// <returns></returns>
598 public void SetCursorClusterCoord( Efl.TextCursorCursor cur, int x, int y) {
599 Efl.TextCursorNativeInherit.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate(this.NativeHandle, cur, x, y);
600 Eina.Error.RaiseIfUnhandledException();
602 /// <summary>Adds text to the current cursor position and set the cursor to *after* the start of the text just added.
604 /// <param name="cur">Cursor object
606 /// <param name="text">Text to append (UTF-8 format).
608 /// <returns>Length of the appended text.
610 public int CursorTextInsert( Efl.TextCursorCursor cur, System.String text) {
611 var _ret_var = Efl.TextCursorNativeInherit.efl_text_cursor_text_insert_ptr.Value.Delegate(this.NativeHandle, cur, text);
612 Eina.Error.RaiseIfUnhandledException();
615 /// <summary>Deletes a single character from position pointed by given cursor.
617 /// <param name="cur">Cursor object
619 /// <returns></returns>
620 public void CursorCharDelete( Efl.TextCursorCursor cur) {
621 Efl.TextCursorNativeInherit.efl_text_cursor_char_delete_ptr.Value.Delegate(this.NativeHandle, cur);
622 Eina.Error.RaiseIfUnhandledException();
625 public class TextCursorNativeInherit : Efl.Eo.NativeClass{
626 public static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Efl);
627 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
629 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
630 if (efl_text_cursor_get_static_delegate == null)
631 efl_text_cursor_get_static_delegate = new efl_text_cursor_get_delegate(text_cursor_get);
632 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_get_static_delegate)});
633 if (efl_text_cursor_position_get_static_delegate == null)
634 efl_text_cursor_position_get_static_delegate = new efl_text_cursor_position_get_delegate(cursor_position_get);
635 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_position_get_static_delegate)});
636 if (efl_text_cursor_position_set_static_delegate == null)
637 efl_text_cursor_position_set_static_delegate = new efl_text_cursor_position_set_delegate(cursor_position_set);
638 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_position_set_static_delegate)});
639 if (efl_text_cursor_content_get_static_delegate == null)
640 efl_text_cursor_content_get_static_delegate = new efl_text_cursor_content_get_delegate(cursor_content_get);
641 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_content_get_static_delegate)});
642 if (efl_text_cursor_geometry_get_static_delegate == null)
643 efl_text_cursor_geometry_get_static_delegate = new efl_text_cursor_geometry_get_delegate(cursor_geometry_get);
644 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_geometry_get_static_delegate)});
645 if (efl_text_cursor_new_static_delegate == null)
646 efl_text_cursor_new_static_delegate = new efl_text_cursor_new_delegate(cursor_new);
647 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_new"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_new_static_delegate)});
648 if (efl_text_cursor_free_static_delegate == null)
649 efl_text_cursor_free_static_delegate = new efl_text_cursor_free_delegate(cursor_free);
650 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_free"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_free_static_delegate)});
651 if (efl_text_cursor_equal_static_delegate == null)
652 efl_text_cursor_equal_static_delegate = new efl_text_cursor_equal_delegate(cursor_equal);
653 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_equal"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_equal_static_delegate)});
654 if (efl_text_cursor_compare_static_delegate == null)
655 efl_text_cursor_compare_static_delegate = new efl_text_cursor_compare_delegate(cursor_compare);
656 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_compare"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_compare_static_delegate)});
657 if (efl_text_cursor_copy_static_delegate == null)
658 efl_text_cursor_copy_static_delegate = new efl_text_cursor_copy_delegate(cursor_copy);
659 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_copy"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_copy_static_delegate)});
660 if (efl_text_cursor_char_next_static_delegate == null)
661 efl_text_cursor_char_next_static_delegate = new efl_text_cursor_char_next_delegate(cursor_char_next);
662 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_char_next"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_char_next_static_delegate)});
663 if (efl_text_cursor_char_prev_static_delegate == null)
664 efl_text_cursor_char_prev_static_delegate = new efl_text_cursor_char_prev_delegate(cursor_char_prev);
665 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_char_prev"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_char_prev_static_delegate)});
666 if (efl_text_cursor_cluster_next_static_delegate == null)
667 efl_text_cursor_cluster_next_static_delegate = new efl_text_cursor_cluster_next_delegate(cursor_cluster_next);
668 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_cluster_next"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_cluster_next_static_delegate)});
669 if (efl_text_cursor_cluster_prev_static_delegate == null)
670 efl_text_cursor_cluster_prev_static_delegate = new efl_text_cursor_cluster_prev_delegate(cursor_cluster_prev);
671 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_cluster_prev"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_cluster_prev_static_delegate)});
672 if (efl_text_cursor_paragraph_char_first_static_delegate == null)
673 efl_text_cursor_paragraph_char_first_static_delegate = new efl_text_cursor_paragraph_char_first_delegate(cursor_paragraph_char_first);
674 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_paragraph_char_first"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_char_first_static_delegate)});
675 if (efl_text_cursor_paragraph_char_last_static_delegate == null)
676 efl_text_cursor_paragraph_char_last_static_delegate = new efl_text_cursor_paragraph_char_last_delegate(cursor_paragraph_char_last);
677 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_paragraph_char_last"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_char_last_static_delegate)});
678 if (efl_text_cursor_word_start_static_delegate == null)
679 efl_text_cursor_word_start_static_delegate = new efl_text_cursor_word_start_delegate(cursor_word_start);
680 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_word_start"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_word_start_static_delegate)});
681 if (efl_text_cursor_word_end_static_delegate == null)
682 efl_text_cursor_word_end_static_delegate = new efl_text_cursor_word_end_delegate(cursor_word_end);
683 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_word_end"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_word_end_static_delegate)});
684 if (efl_text_cursor_line_char_first_static_delegate == null)
685 efl_text_cursor_line_char_first_static_delegate = new efl_text_cursor_line_char_first_delegate(cursor_line_char_first);
686 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_line_char_first"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_line_char_first_static_delegate)});
687 if (efl_text_cursor_line_char_last_static_delegate == null)
688 efl_text_cursor_line_char_last_static_delegate = new efl_text_cursor_line_char_last_delegate(cursor_line_char_last);
689 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_line_char_last"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_line_char_last_static_delegate)});
690 if (efl_text_cursor_paragraph_first_static_delegate == null)
691 efl_text_cursor_paragraph_first_static_delegate = new efl_text_cursor_paragraph_first_delegate(cursor_paragraph_first);
692 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_paragraph_first"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_first_static_delegate)});
693 if (efl_text_cursor_paragraph_last_static_delegate == null)
694 efl_text_cursor_paragraph_last_static_delegate = new efl_text_cursor_paragraph_last_delegate(cursor_paragraph_last);
695 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_paragraph_last"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_last_static_delegate)});
696 if (efl_text_cursor_paragraph_next_static_delegate == null)
697 efl_text_cursor_paragraph_next_static_delegate = new efl_text_cursor_paragraph_next_delegate(cursor_paragraph_next);
698 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_paragraph_next"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_next_static_delegate)});
699 if (efl_text_cursor_paragraph_prev_static_delegate == null)
700 efl_text_cursor_paragraph_prev_static_delegate = new efl_text_cursor_paragraph_prev_delegate(cursor_paragraph_prev);
701 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_paragraph_prev"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_prev_static_delegate)});
702 if (efl_text_cursor_line_jump_by_static_delegate == null)
703 efl_text_cursor_line_jump_by_static_delegate = new efl_text_cursor_line_jump_by_delegate(cursor_line_jump_by);
704 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_line_jump_by"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_line_jump_by_static_delegate)});
705 if (efl_text_cursor_coord_set_static_delegate == null)
706 efl_text_cursor_coord_set_static_delegate = new efl_text_cursor_coord_set_delegate(cursor_coord_set);
707 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_coord_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_coord_set_static_delegate)});
708 if (efl_text_cursor_cluster_coord_set_static_delegate == null)
709 efl_text_cursor_cluster_coord_set_static_delegate = new efl_text_cursor_cluster_coord_set_delegate(cursor_cluster_coord_set);
710 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_cluster_coord_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_cluster_coord_set_static_delegate)});
711 if (efl_text_cursor_text_insert_static_delegate == null)
712 efl_text_cursor_text_insert_static_delegate = new efl_text_cursor_text_insert_delegate(cursor_text_insert);
713 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_text_insert"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_text_insert_static_delegate)});
714 if (efl_text_cursor_char_delete_static_delegate == null)
715 efl_text_cursor_char_delete_static_delegate = new efl_text_cursor_char_delete_delegate(cursor_char_delete);
716 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_text_cursor_char_delete"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_char_delete_static_delegate)});
719 public override IntPtr GetEflClass()
721 return Efl.TextCursorConcrete.efl_text_cursor_interface_get();
723 public static IntPtr GetEflClassStatic()
725 return Efl.TextCursorConcrete.efl_text_cursor_interface_get();
729 private delegate Efl.TextCursorCursor efl_text_cursor_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorGetType get_type);
732 public delegate Efl.TextCursorCursor efl_text_cursor_get_api_delegate(System.IntPtr obj, Efl.TextCursorGetType get_type);
733 public static Efl.Eo.FunctionWrapper<efl_text_cursor_get_api_delegate> efl_text_cursor_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_get_api_delegate>(_Module, "efl_text_cursor_get");
734 private static Efl.TextCursorCursor text_cursor_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorGetType get_type)
736 Eina.Log.Debug("function efl_text_cursor_get was called");
737 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
738 if(wrapper != null) {
739 Efl.TextCursorCursor _ret_var = default(Efl.TextCursorCursor);
741 _ret_var = ((TextCursor)wrapper).GetTextCursor( get_type);
742 } catch (Exception e) {
743 Eina.Log.Warning($"Callback error: {e.ToString()}");
744 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
748 return efl_text_cursor_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), get_type);
751 private static efl_text_cursor_get_delegate efl_text_cursor_get_static_delegate;
754 private delegate int efl_text_cursor_position_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
757 public delegate int efl_text_cursor_position_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
758 public static Efl.Eo.FunctionWrapper<efl_text_cursor_position_get_api_delegate> efl_text_cursor_position_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_position_get_api_delegate>(_Module, "efl_text_cursor_position_get");
759 private static int cursor_position_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
761 Eina.Log.Debug("function efl_text_cursor_position_get was called");
762 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
763 if(wrapper != null) {
764 int _ret_var = default( int);
766 _ret_var = ((TextCursor)wrapper).GetCursorPosition( cur);
767 } catch (Exception e) {
768 Eina.Log.Warning($"Callback error: {e.ToString()}");
769 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
773 return efl_text_cursor_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
776 private static efl_text_cursor_position_get_delegate efl_text_cursor_position_get_static_delegate;
779 private delegate void efl_text_cursor_position_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int position);
782 public delegate void efl_text_cursor_position_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int position);
783 public static Efl.Eo.FunctionWrapper<efl_text_cursor_position_set_api_delegate> efl_text_cursor_position_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_position_set_api_delegate>(_Module, "efl_text_cursor_position_set");
784 private static void cursor_position_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int position)
786 Eina.Log.Debug("function efl_text_cursor_position_set was called");
787 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
788 if(wrapper != null) {
791 ((TextCursor)wrapper).SetCursorPosition( cur, position);
792 } catch (Exception e) {
793 Eina.Log.Warning($"Callback error: {e.ToString()}");
794 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
797 efl_text_cursor_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, position);
800 private static efl_text_cursor_position_set_delegate efl_text_cursor_position_set_static_delegate;
803 private delegate Eina.Unicode efl_text_cursor_content_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
806 public delegate Eina.Unicode efl_text_cursor_content_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
807 public static Efl.Eo.FunctionWrapper<efl_text_cursor_content_get_api_delegate> efl_text_cursor_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_content_get_api_delegate>(_Module, "efl_text_cursor_content_get");
808 private static Eina.Unicode cursor_content_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
810 Eina.Log.Debug("function efl_text_cursor_content_get was called");
811 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
812 if(wrapper != null) {
813 Eina.Unicode _ret_var = default(Eina.Unicode);
815 _ret_var = ((TextCursor)wrapper).GetCursorContent( cur);
816 } catch (Exception e) {
817 Eina.Log.Warning($"Callback error: {e.ToString()}");
818 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
822 return efl_text_cursor_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
825 private static efl_text_cursor_content_get_delegate efl_text_cursor_content_get_static_delegate;
828 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_text_cursor_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2);
831 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_text_cursor_geometry_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2);
832 public static Efl.Eo.FunctionWrapper<efl_text_cursor_geometry_get_api_delegate> efl_text_cursor_geometry_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_geometry_get_api_delegate>(_Module, "efl_text_cursor_geometry_get");
833 private static bool cursor_geometry_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2)
835 Eina.Log.Debug("function efl_text_cursor_geometry_get was called");
836 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
837 if(wrapper != null) {
838 cx = default( int); cy = default( int); cw = default( int); ch = default( int); cx2 = default( int); cy2 = default( int); cw2 = default( int); ch2 = default( int); bool _ret_var = default(bool);
840 _ret_var = ((TextCursor)wrapper).GetCursorGeometry( cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
841 } catch (Exception e) {
842 Eina.Log.Warning($"Callback error: {e.ToString()}");
843 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
847 return efl_text_cursor_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2);
850 private static efl_text_cursor_geometry_get_delegate efl_text_cursor_geometry_get_static_delegate;
853 private delegate Efl.TextCursorCursor efl_text_cursor_new_delegate(System.IntPtr obj, System.IntPtr pd);
856 public delegate Efl.TextCursorCursor efl_text_cursor_new_api_delegate(System.IntPtr obj);
857 public static Efl.Eo.FunctionWrapper<efl_text_cursor_new_api_delegate> efl_text_cursor_new_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_new_api_delegate>(_Module, "efl_text_cursor_new");
858 private static Efl.TextCursorCursor cursor_new(System.IntPtr obj, System.IntPtr pd)
860 Eina.Log.Debug("function efl_text_cursor_new was called");
861 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
862 if(wrapper != null) {
863 Efl.TextCursorCursor _ret_var = default(Efl.TextCursorCursor);
865 _ret_var = ((TextCursor)wrapper).NewCursor();
866 } catch (Exception e) {
867 Eina.Log.Warning($"Callback error: {e.ToString()}");
868 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
872 return efl_text_cursor_new_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
875 private static efl_text_cursor_new_delegate efl_text_cursor_new_static_delegate;
878 private delegate void efl_text_cursor_free_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
881 public delegate void efl_text_cursor_free_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
882 public static Efl.Eo.FunctionWrapper<efl_text_cursor_free_api_delegate> efl_text_cursor_free_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_free_api_delegate>(_Module, "efl_text_cursor_free");
883 private static void cursor_free(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
885 Eina.Log.Debug("function efl_text_cursor_free was called");
886 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
887 if(wrapper != null) {
890 ((TextCursor)wrapper).CursorFree( cur);
891 } catch (Exception e) {
892 Eina.Log.Warning($"Callback error: {e.ToString()}");
893 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
896 efl_text_cursor_free_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
899 private static efl_text_cursor_free_delegate efl_text_cursor_free_static_delegate;
902 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_text_cursor_equal_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2);
905 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_text_cursor_equal_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2);
906 public static Efl.Eo.FunctionWrapper<efl_text_cursor_equal_api_delegate> efl_text_cursor_equal_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_equal_api_delegate>(_Module, "efl_text_cursor_equal");
907 private static bool cursor_equal(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2)
909 Eina.Log.Debug("function efl_text_cursor_equal was called");
910 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
911 if(wrapper != null) {
912 bool _ret_var = default(bool);
914 _ret_var = ((TextCursor)wrapper).CursorEqual( cur1, cur2);
915 } catch (Exception e) {
916 Eina.Log.Warning($"Callback error: {e.ToString()}");
917 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
921 return efl_text_cursor_equal_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur1, cur2);
924 private static efl_text_cursor_equal_delegate efl_text_cursor_equal_static_delegate;
927 private delegate int efl_text_cursor_compare_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2);
930 public delegate int efl_text_cursor_compare_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2);
931 public static Efl.Eo.FunctionWrapper<efl_text_cursor_compare_api_delegate> efl_text_cursor_compare_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_compare_api_delegate>(_Module, "efl_text_cursor_compare");
932 private static int cursor_compare(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2)
934 Eina.Log.Debug("function efl_text_cursor_compare was called");
935 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
936 if(wrapper != null) {
937 int _ret_var = default( int);
939 _ret_var = ((TextCursor)wrapper).CursorCompare( cur1, cur2);
940 } catch (Exception e) {
941 Eina.Log.Warning($"Callback error: {e.ToString()}");
942 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
946 return efl_text_cursor_compare_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur1, cur2);
949 private static efl_text_cursor_compare_delegate efl_text_cursor_compare_static_delegate;
952 private delegate void efl_text_cursor_copy_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor dst, Efl.TextCursorCursor src);
955 public delegate void efl_text_cursor_copy_api_delegate(System.IntPtr obj, Efl.TextCursorCursor dst, Efl.TextCursorCursor src);
956 public static Efl.Eo.FunctionWrapper<efl_text_cursor_copy_api_delegate> efl_text_cursor_copy_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_copy_api_delegate>(_Module, "efl_text_cursor_copy");
957 private static void cursor_copy(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor dst, Efl.TextCursorCursor src)
959 Eina.Log.Debug("function efl_text_cursor_copy was called");
960 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
961 if(wrapper != null) {
964 ((TextCursor)wrapper).CursorCopy( dst, src);
965 } catch (Exception e) {
966 Eina.Log.Warning($"Callback error: {e.ToString()}");
967 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
970 efl_text_cursor_copy_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dst, src);
973 private static efl_text_cursor_copy_delegate efl_text_cursor_copy_static_delegate;
976 private delegate void efl_text_cursor_char_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
979 public delegate void efl_text_cursor_char_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
980 public static Efl.Eo.FunctionWrapper<efl_text_cursor_char_next_api_delegate> efl_text_cursor_char_next_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_char_next_api_delegate>(_Module, "efl_text_cursor_char_next");
981 private static void cursor_char_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
983 Eina.Log.Debug("function efl_text_cursor_char_next was called");
984 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
985 if(wrapper != null) {
988 ((TextCursor)wrapper).CursorCharNext( cur);
989 } catch (Exception e) {
990 Eina.Log.Warning($"Callback error: {e.ToString()}");
991 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
994 efl_text_cursor_char_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
997 private static efl_text_cursor_char_next_delegate efl_text_cursor_char_next_static_delegate;
1000 private delegate void efl_text_cursor_char_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1003 public delegate void efl_text_cursor_char_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1004 public static Efl.Eo.FunctionWrapper<efl_text_cursor_char_prev_api_delegate> efl_text_cursor_char_prev_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_char_prev_api_delegate>(_Module, "efl_text_cursor_char_prev");
1005 private static void cursor_char_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1007 Eina.Log.Debug("function efl_text_cursor_char_prev was called");
1008 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1009 if(wrapper != null) {
1012 ((TextCursor)wrapper).CursorCharPrev( cur);
1013 } catch (Exception e) {
1014 Eina.Log.Warning($"Callback error: {e.ToString()}");
1015 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1018 efl_text_cursor_char_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1021 private static efl_text_cursor_char_prev_delegate efl_text_cursor_char_prev_static_delegate;
1024 private delegate void efl_text_cursor_cluster_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1027 public delegate void efl_text_cursor_cluster_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1028 public static Efl.Eo.FunctionWrapper<efl_text_cursor_cluster_next_api_delegate> efl_text_cursor_cluster_next_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_cluster_next_api_delegate>(_Module, "efl_text_cursor_cluster_next");
1029 private static void cursor_cluster_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1031 Eina.Log.Debug("function efl_text_cursor_cluster_next was called");
1032 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1033 if(wrapper != null) {
1036 ((TextCursor)wrapper).CursorClusterNext( cur);
1037 } catch (Exception e) {
1038 Eina.Log.Warning($"Callback error: {e.ToString()}");
1039 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1042 efl_text_cursor_cluster_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1045 private static efl_text_cursor_cluster_next_delegate efl_text_cursor_cluster_next_static_delegate;
1048 private delegate void efl_text_cursor_cluster_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1051 public delegate void efl_text_cursor_cluster_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1052 public static Efl.Eo.FunctionWrapper<efl_text_cursor_cluster_prev_api_delegate> efl_text_cursor_cluster_prev_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_cluster_prev_api_delegate>(_Module, "efl_text_cursor_cluster_prev");
1053 private static void cursor_cluster_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1055 Eina.Log.Debug("function efl_text_cursor_cluster_prev was called");
1056 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1057 if(wrapper != null) {
1060 ((TextCursor)wrapper).CursorClusterPrev( cur);
1061 } catch (Exception e) {
1062 Eina.Log.Warning($"Callback error: {e.ToString()}");
1063 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1066 efl_text_cursor_cluster_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1069 private static efl_text_cursor_cluster_prev_delegate efl_text_cursor_cluster_prev_static_delegate;
1072 private delegate void efl_text_cursor_paragraph_char_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1075 public delegate void efl_text_cursor_paragraph_char_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1076 public static Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_char_first_api_delegate> efl_text_cursor_paragraph_char_first_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_char_first_api_delegate>(_Module, "efl_text_cursor_paragraph_char_first");
1077 private static void cursor_paragraph_char_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1079 Eina.Log.Debug("function efl_text_cursor_paragraph_char_first was called");
1080 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1081 if(wrapper != null) {
1084 ((TextCursor)wrapper).CursorParagraphCharFirst( cur);
1085 } catch (Exception e) {
1086 Eina.Log.Warning($"Callback error: {e.ToString()}");
1087 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1090 efl_text_cursor_paragraph_char_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1093 private static efl_text_cursor_paragraph_char_first_delegate efl_text_cursor_paragraph_char_first_static_delegate;
1096 private delegate void efl_text_cursor_paragraph_char_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1099 public delegate void efl_text_cursor_paragraph_char_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1100 public static Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_char_last_api_delegate> efl_text_cursor_paragraph_char_last_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_char_last_api_delegate>(_Module, "efl_text_cursor_paragraph_char_last");
1101 private static void cursor_paragraph_char_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1103 Eina.Log.Debug("function efl_text_cursor_paragraph_char_last was called");
1104 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1105 if(wrapper != null) {
1108 ((TextCursor)wrapper).CursorParagraphCharLast( cur);
1109 } catch (Exception e) {
1110 Eina.Log.Warning($"Callback error: {e.ToString()}");
1111 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1114 efl_text_cursor_paragraph_char_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1117 private static efl_text_cursor_paragraph_char_last_delegate efl_text_cursor_paragraph_char_last_static_delegate;
1120 private delegate void efl_text_cursor_word_start_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1123 public delegate void efl_text_cursor_word_start_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1124 public static Efl.Eo.FunctionWrapper<efl_text_cursor_word_start_api_delegate> efl_text_cursor_word_start_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_word_start_api_delegate>(_Module, "efl_text_cursor_word_start");
1125 private static void cursor_word_start(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1127 Eina.Log.Debug("function efl_text_cursor_word_start was called");
1128 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1129 if(wrapper != null) {
1132 ((TextCursor)wrapper).CursorWordStart( cur);
1133 } catch (Exception e) {
1134 Eina.Log.Warning($"Callback error: {e.ToString()}");
1135 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1138 efl_text_cursor_word_start_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1141 private static efl_text_cursor_word_start_delegate efl_text_cursor_word_start_static_delegate;
1144 private delegate void efl_text_cursor_word_end_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1147 public delegate void efl_text_cursor_word_end_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1148 public static Efl.Eo.FunctionWrapper<efl_text_cursor_word_end_api_delegate> efl_text_cursor_word_end_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_word_end_api_delegate>(_Module, "efl_text_cursor_word_end");
1149 private static void cursor_word_end(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1151 Eina.Log.Debug("function efl_text_cursor_word_end was called");
1152 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1153 if(wrapper != null) {
1156 ((TextCursor)wrapper).CursorWordEnd( cur);
1157 } catch (Exception e) {
1158 Eina.Log.Warning($"Callback error: {e.ToString()}");
1159 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1162 efl_text_cursor_word_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1165 private static efl_text_cursor_word_end_delegate efl_text_cursor_word_end_static_delegate;
1168 private delegate void efl_text_cursor_line_char_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1171 public delegate void efl_text_cursor_line_char_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1172 public static Efl.Eo.FunctionWrapper<efl_text_cursor_line_char_first_api_delegate> efl_text_cursor_line_char_first_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_line_char_first_api_delegate>(_Module, "efl_text_cursor_line_char_first");
1173 private static void cursor_line_char_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1175 Eina.Log.Debug("function efl_text_cursor_line_char_first was called");
1176 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1177 if(wrapper != null) {
1180 ((TextCursor)wrapper).CursorLineCharFirst( cur);
1181 } catch (Exception e) {
1182 Eina.Log.Warning($"Callback error: {e.ToString()}");
1183 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1186 efl_text_cursor_line_char_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1189 private static efl_text_cursor_line_char_first_delegate efl_text_cursor_line_char_first_static_delegate;
1192 private delegate void efl_text_cursor_line_char_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1195 public delegate void efl_text_cursor_line_char_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1196 public static Efl.Eo.FunctionWrapper<efl_text_cursor_line_char_last_api_delegate> efl_text_cursor_line_char_last_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_line_char_last_api_delegate>(_Module, "efl_text_cursor_line_char_last");
1197 private static void cursor_line_char_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1199 Eina.Log.Debug("function efl_text_cursor_line_char_last was called");
1200 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1201 if(wrapper != null) {
1204 ((TextCursor)wrapper).CursorLineCharLast( cur);
1205 } catch (Exception e) {
1206 Eina.Log.Warning($"Callback error: {e.ToString()}");
1207 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1210 efl_text_cursor_line_char_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1213 private static efl_text_cursor_line_char_last_delegate efl_text_cursor_line_char_last_static_delegate;
1216 private delegate void efl_text_cursor_paragraph_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1219 public delegate void efl_text_cursor_paragraph_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1220 public static Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_first_api_delegate> efl_text_cursor_paragraph_first_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_first_api_delegate>(_Module, "efl_text_cursor_paragraph_first");
1221 private static void cursor_paragraph_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1223 Eina.Log.Debug("function efl_text_cursor_paragraph_first was called");
1224 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1225 if(wrapper != null) {
1228 ((TextCursor)wrapper).CursorParagraphFirst( cur);
1229 } catch (Exception e) {
1230 Eina.Log.Warning($"Callback error: {e.ToString()}");
1231 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1234 efl_text_cursor_paragraph_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1237 private static efl_text_cursor_paragraph_first_delegate efl_text_cursor_paragraph_first_static_delegate;
1240 private delegate void efl_text_cursor_paragraph_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1243 public delegate void efl_text_cursor_paragraph_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1244 public static Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_last_api_delegate> efl_text_cursor_paragraph_last_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_last_api_delegate>(_Module, "efl_text_cursor_paragraph_last");
1245 private static void cursor_paragraph_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1247 Eina.Log.Debug("function efl_text_cursor_paragraph_last was called");
1248 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1249 if(wrapper != null) {
1252 ((TextCursor)wrapper).CursorParagraphLast( cur);
1253 } catch (Exception e) {
1254 Eina.Log.Warning($"Callback error: {e.ToString()}");
1255 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1258 efl_text_cursor_paragraph_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1261 private static efl_text_cursor_paragraph_last_delegate efl_text_cursor_paragraph_last_static_delegate;
1264 private delegate void efl_text_cursor_paragraph_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1267 public delegate void efl_text_cursor_paragraph_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1268 public static Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_next_api_delegate> efl_text_cursor_paragraph_next_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_next_api_delegate>(_Module, "efl_text_cursor_paragraph_next");
1269 private static void cursor_paragraph_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1271 Eina.Log.Debug("function efl_text_cursor_paragraph_next was called");
1272 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1273 if(wrapper != null) {
1276 ((TextCursor)wrapper).CursorParagraphNext( cur);
1277 } catch (Exception e) {
1278 Eina.Log.Warning($"Callback error: {e.ToString()}");
1279 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1282 efl_text_cursor_paragraph_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1285 private static efl_text_cursor_paragraph_next_delegate efl_text_cursor_paragraph_next_static_delegate;
1288 private delegate void efl_text_cursor_paragraph_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1291 public delegate void efl_text_cursor_paragraph_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1292 public static Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_prev_api_delegate> efl_text_cursor_paragraph_prev_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_paragraph_prev_api_delegate>(_Module, "efl_text_cursor_paragraph_prev");
1293 private static void cursor_paragraph_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1295 Eina.Log.Debug("function efl_text_cursor_paragraph_prev was called");
1296 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1297 if(wrapper != null) {
1300 ((TextCursor)wrapper).CursorParagraphPrev( cur);
1301 } catch (Exception e) {
1302 Eina.Log.Warning($"Callback error: {e.ToString()}");
1303 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1306 efl_text_cursor_paragraph_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1309 private static efl_text_cursor_paragraph_prev_delegate efl_text_cursor_paragraph_prev_static_delegate;
1312 private delegate void efl_text_cursor_line_jump_by_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int by);
1315 public delegate void efl_text_cursor_line_jump_by_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int by);
1316 public static Efl.Eo.FunctionWrapper<efl_text_cursor_line_jump_by_api_delegate> efl_text_cursor_line_jump_by_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_line_jump_by_api_delegate>(_Module, "efl_text_cursor_line_jump_by");
1317 private static void cursor_line_jump_by(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int by)
1319 Eina.Log.Debug("function efl_text_cursor_line_jump_by was called");
1320 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1321 if(wrapper != null) {
1324 ((TextCursor)wrapper).CursorLineJumpBy( cur, by);
1325 } catch (Exception e) {
1326 Eina.Log.Warning($"Callback error: {e.ToString()}");
1327 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1330 efl_text_cursor_line_jump_by_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, by);
1333 private static efl_text_cursor_line_jump_by_delegate efl_text_cursor_line_jump_by_static_delegate;
1336 private delegate void efl_text_cursor_coord_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y);
1339 public delegate void efl_text_cursor_coord_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int x, int y);
1340 public static Efl.Eo.FunctionWrapper<efl_text_cursor_coord_set_api_delegate> efl_text_cursor_coord_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_coord_set_api_delegate>(_Module, "efl_text_cursor_coord_set");
1341 private static void cursor_coord_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y)
1343 Eina.Log.Debug("function efl_text_cursor_coord_set was called");
1344 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1345 if(wrapper != null) {
1348 ((TextCursor)wrapper).SetCursorCoord( cur, x, y);
1349 } catch (Exception e) {
1350 Eina.Log.Warning($"Callback error: {e.ToString()}");
1351 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1354 efl_text_cursor_coord_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, x, y);
1357 private static efl_text_cursor_coord_set_delegate efl_text_cursor_coord_set_static_delegate;
1360 private delegate void efl_text_cursor_cluster_coord_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y);
1363 public delegate void efl_text_cursor_cluster_coord_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int x, int y);
1364 public static Efl.Eo.FunctionWrapper<efl_text_cursor_cluster_coord_set_api_delegate> efl_text_cursor_cluster_coord_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_cluster_coord_set_api_delegate>(_Module, "efl_text_cursor_cluster_coord_set");
1365 private static void cursor_cluster_coord_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y)
1367 Eina.Log.Debug("function efl_text_cursor_cluster_coord_set was called");
1368 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1369 if(wrapper != null) {
1372 ((TextCursor)wrapper).SetCursorClusterCoord( cur, x, y);
1373 } catch (Exception e) {
1374 Eina.Log.Warning($"Callback error: {e.ToString()}");
1375 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1378 efl_text_cursor_cluster_coord_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, x, y);
1381 private static efl_text_cursor_cluster_coord_set_delegate efl_text_cursor_cluster_coord_set_static_delegate;
1384 private delegate int efl_text_cursor_text_insert_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
1387 public delegate int efl_text_cursor_text_insert_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text);
1388 public static Efl.Eo.FunctionWrapper<efl_text_cursor_text_insert_api_delegate> efl_text_cursor_text_insert_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_text_insert_api_delegate>(_Module, "efl_text_cursor_text_insert");
1389 private static int cursor_text_insert(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, System.String text)
1391 Eina.Log.Debug("function efl_text_cursor_text_insert was called");
1392 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1393 if(wrapper != null) {
1394 int _ret_var = default( int);
1396 _ret_var = ((TextCursor)wrapper).CursorTextInsert( cur, text);
1397 } catch (Exception e) {
1398 Eina.Log.Warning($"Callback error: {e.ToString()}");
1399 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1403 return efl_text_cursor_text_insert_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, text);
1406 private static efl_text_cursor_text_insert_delegate efl_text_cursor_text_insert_static_delegate;
1409 private delegate void efl_text_cursor_char_delete_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur);
1412 public delegate void efl_text_cursor_char_delete_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur);
1413 public static Efl.Eo.FunctionWrapper<efl_text_cursor_char_delete_api_delegate> efl_text_cursor_char_delete_ptr = new Efl.Eo.FunctionWrapper<efl_text_cursor_char_delete_api_delegate>(_Module, "efl_text_cursor_char_delete");
1414 private static void cursor_char_delete(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur)
1416 Eina.Log.Debug("function efl_text_cursor_char_delete was called");
1417 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.data_get(pd);
1418 if(wrapper != null) {
1421 ((TextCursor)wrapper).CursorCharDelete( cur);
1422 } catch (Exception e) {
1423 Eina.Log.Warning($"Callback error: {e.ToString()}");
1424 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1427 efl_text_cursor_char_delete_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur);
1430 private static efl_text_cursor_char_delete_delegate efl_text_cursor_char_delete_static_delegate;
1434 /// <summary>All available cursor states</summary>
1435 public enum TextCursorGetType
1437 /// <summary>Main cursor state (alias to "main")</summary>
1439 /// <summary>Main cursor state</summary>
1441 /// <summary>Selection begin cursor state</summary>
1443 /// <summary>Selection end cursor state</summary>
1445 /// <summary>Pre-edit start cursor state</summary>
1447 /// <summary>Pre-edit end cursor state</summary>
1449 /// <summary>User cursor state</summary>
1451 /// <summary>User extra cursor state</summary>
1456 /// <summary>Text cursor types</summary>
1457 public enum TextCursorType
1459 /// <summary>Cursor type before</summary>
1461 /// <summary>Cursor type under</summary>