#pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Efl { /// Markup data that populates the text object's style and format [Efl.ITextMarkupInteractiveConcrete.NativeMethods] [Efl.Eo.BindingEntity] public interface ITextMarkupInteractive : Efl.ITextCursor , Efl.Eo.IWrapper, IDisposable { /// Markup of a given range in the text /// Start of the markup region /// End of markup region /// The markup-text representation set to this text of a given range System.String GetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end); /// Markup of a given range in the text /// Start of the markup region /// End of markup region /// The markup-text representation set to this text of a given range void SetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String markup); /// Inserts a markup text to the text object in a given cursor position /// Cursor position to insert markup /// The markup text to insert void CursorMarkupInsert(Efl.TextCursorCursor cur, System.String markup); } /// Markup data that populates the text object's style and format sealed public class ITextMarkupInteractiveConcrete : Efl.Eo.EoWrapper , ITextMarkupInteractive , Efl.ITextCursor { ///Pointer to the native class description. public override System.IntPtr NativeClass { get { if (((object)this).GetType() == typeof(ITextMarkupInteractiveConcrete)) { return GetEflClassStatic(); } else { return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; } } } /// Constructor to be used when objects are expected to be constructed from native code. /// Tag struct storing the native handle of the object being constructed. private ITextMarkupInteractiveConcrete(ConstructingHandle ch) : base(ch) { } [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_markup_interactive_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. /// The native pointer to be wrapped. private ITextMarkupInteractiveConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh) { } /// Markup of a given range in the text /// Start of the markup region /// End of markup region /// The markup-text representation set to this text of a given range public System.String GetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end) { var _ret_var = Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate(this.NativeHandle,start, end); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Markup of a given range in the text /// Start of the markup region /// End of markup region /// The markup-text representation set to this text of a given range public void SetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String markup) { Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate(this.NativeHandle,start, end, markup); Eina.Error.RaiseIfUnhandledException(); } /// Inserts a markup text to the text object in a given cursor position /// Cursor position to insert markup /// The markup text to insert public void CursorMarkupInsert(Efl.TextCursorCursor cur, System.String markup) { Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate(this.NativeHandle,cur, markup); Eina.Error.RaiseIfUnhandledException(); } /// The object's main cursor. /// Cursor type /// Text cursor object public Efl.TextCursorCursor GetTextCursor(Efl.TextCursorGetType get_type) { var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_get_ptr.Value.Delegate(this.NativeHandle,get_type); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Cursor position /// Cursor object /// Cursor position public int GetCursorPosition(Efl.TextCursorCursor cur) { var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_get_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Cursor position /// Cursor object /// Cursor position public void SetCursorPosition(Efl.TextCursorCursor cur, int position) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_set_ptr.Value.Delegate(this.NativeHandle,cur, position); Eina.Error.RaiseIfUnhandledException(); } /// The content of the cursor (the character under the cursor) /// Cursor object /// The unicode codepoint of the character public Eina.Unicode GetCursorContent(Efl.TextCursorCursor cur) { var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_content_get_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// 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. /// Split cursor geometry is valid only in '|' cursor mode. In this case true is returned and cx2, cy2, cw2, ch2 are set. /// Cursor object /// The type of the cursor. /// The x of the cursor (or upper cursor) /// The y of the cursor (or upper cursor) /// The width of the cursor (or upper cursor) /// The height of the cursor (or upper cursor) /// The x of the lower cursor /// The y of the lower cursor /// The width of the lower cursor /// The height of the lower cursor /// true if split cursor, false otherwise. 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) { var _ret_var = Efl.ITextCursorConcrete.NativeMethods.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); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Create new cursor /// Cursor object public Efl.TextCursorCursor NewCursor() { var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_new_ptr.Value.Delegate(this.NativeHandle); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Free existing cursor /// Cursor object public void CursorFree(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_free_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Check if two cursors are equal /// Cursor 1 object /// Cursor 2 object /// true if cursors are equal, false otherwise public bool CursorEqual(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) { var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_equal_ptr.Value.Delegate(this.NativeHandle,cur1, cur2); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Compare two cursors /// Cursor 1 object /// Cursor 2 object /// Difference between cursors public int CursorCompare(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) { var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_compare_ptr.Value.Delegate(this.NativeHandle,cur1, cur2); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Copy existing cursor /// Destination cursor /// Source cursor public void CursorCopy(Efl.TextCursorCursor dst, Efl.TextCursorCursor src) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_copy_ptr.Value.Delegate(this.NativeHandle,dst, src); Eina.Error.RaiseIfUnhandledException(); } /// Advances to the next character /// Cursor object public void CursorCharNext(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_next_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advances to the previous character /// Cursor object public void CursorCharPrev(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_prev_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advances to the next grapheme cluster /// Cursor object public void CursorClusterNext(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_next_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advances to the previous grapheme cluster /// Cursor object public void CursorClusterPrev(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_prev_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advances to the first character in this paragraph /// Cursor object public void CursorParagraphCharFirst(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advances to the last character in this paragraph /// Cursor object public void CursorParagraphCharLast(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advance to current word start /// Cursor object public void CursorWordStart(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_start_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advance to current word end /// Cursor object public void CursorWordEnd(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_end_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advance to current line first character /// Cursor object public void CursorLineCharFirst(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_first_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advance to current line last character /// Cursor object public void CursorLineCharLast(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_last_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advance to current paragraph first character /// Cursor object public void CursorParagraphFirst(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_first_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advance to current paragraph last character /// Cursor object public void CursorParagraphLast(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_last_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advances to the start of the next text node /// Cursor object public void CursorParagraphNext(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_next_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Advances to the end of the previous text node /// Cursor object public void CursorParagraphPrev(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_prev_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } /// Jump the cursor by the given number of lines /// Cursor object /// Number of lines public void CursorLineJumpBy(Efl.TextCursorCursor cur, int by) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_jump_by_ptr.Value.Delegate(this.NativeHandle,cur, by); Eina.Error.RaiseIfUnhandledException(); } /// Set cursor coordinates /// Cursor object /// X coord to set by. /// Y coord to set by. public void SetCursorCoord(Efl.TextCursorCursor cur, int x, int y) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_coord_set_ptr.Value.Delegate(this.NativeHandle,cur, x, y); Eina.Error.RaiseIfUnhandledException(); } /// Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster. /// Cursor object /// X coord to set by. /// Y coord to set by. public void SetCursorClusterCoord(Efl.TextCursorCursor cur, int x, int y) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate(this.NativeHandle,cur, x, y); Eina.Error.RaiseIfUnhandledException(); } /// Adds text to the current cursor position and set the cursor to *after* the start of the text just added. /// Cursor object /// Text to append (UTF-8 format). /// Length of the appended text. public int CursorTextInsert(Efl.TextCursorCursor cur, System.String text) { var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_text_insert_ptr.Value.Delegate(this.NativeHandle,cur, text); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Deletes a single character from position pointed by given cursor. /// Cursor object public void CursorCharDelete(Efl.TextCursorCursor cur) { Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_delete_ptr.Value.Delegate(this.NativeHandle,cur); Eina.Error.RaiseIfUnhandledException(); } private static IntPtr GetEflClassStatic() { return Efl.ITextMarkupInteractiveConcrete.efl_text_markup_interactive_interface_get(); } /// Wrapper for native methods and virtual method delegates. /// For internal use by generated code only. public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods { private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl); /// Gets the list of Eo operations to override. /// The list of Eo operations to be overload. public override System.Collections.Generic.List GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_text_markup_interactive_markup_range_get_static_delegate == null) { efl_text_markup_interactive_markup_range_get_static_delegate = new efl_text_markup_interactive_markup_range_get_delegate(markup_range_get); } if (methods.FirstOrDefault(m => m.Name == "GetMarkupRange") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_interactive_markup_range_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_interactive_markup_range_get_static_delegate) }); } if (efl_text_markup_interactive_markup_range_set_static_delegate == null) { efl_text_markup_interactive_markup_range_set_static_delegate = new efl_text_markup_interactive_markup_range_set_delegate(markup_range_set); } if (methods.FirstOrDefault(m => m.Name == "SetMarkupRange") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_interactive_markup_range_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_interactive_markup_range_set_static_delegate) }); } if (efl_text_markup_interactive_cursor_markup_insert_static_delegate == null) { efl_text_markup_interactive_cursor_markup_insert_static_delegate = new efl_text_markup_interactive_cursor_markup_insert_delegate(cursor_markup_insert); } if (methods.FirstOrDefault(m => m.Name == "CursorMarkupInsert") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_interactive_cursor_markup_insert"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_interactive_cursor_markup_insert_static_delegate) }); } if (efl_text_cursor_get_static_delegate == null) { efl_text_cursor_get_static_delegate = new efl_text_cursor_get_delegate(text_cursor_get); } if (methods.FirstOrDefault(m => m.Name == "GetTextCursor") != null) { 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) }); } if (efl_text_cursor_position_get_static_delegate == null) { efl_text_cursor_position_get_static_delegate = new efl_text_cursor_position_get_delegate(cursor_position_get); } if (methods.FirstOrDefault(m => m.Name == "GetCursorPosition") != null) { 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) }); } if (efl_text_cursor_position_set_static_delegate == null) { efl_text_cursor_position_set_static_delegate = new efl_text_cursor_position_set_delegate(cursor_position_set); } if (methods.FirstOrDefault(m => m.Name == "SetCursorPosition") != null) { 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) }); } if (efl_text_cursor_content_get_static_delegate == null) { efl_text_cursor_content_get_static_delegate = new efl_text_cursor_content_get_delegate(cursor_content_get); } if (methods.FirstOrDefault(m => m.Name == "GetCursorContent") != null) { 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) }); } if (efl_text_cursor_geometry_get_static_delegate == null) { efl_text_cursor_geometry_get_static_delegate = new efl_text_cursor_geometry_get_delegate(cursor_geometry_get); } if (methods.FirstOrDefault(m => m.Name == "GetCursorGeometry") != null) { 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) }); } if (efl_text_cursor_new_static_delegate == null) { efl_text_cursor_new_static_delegate = new efl_text_cursor_new_delegate(cursor_new); } if (methods.FirstOrDefault(m => m.Name == "NewCursor") != null) { 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) }); } if (efl_text_cursor_free_static_delegate == null) { efl_text_cursor_free_static_delegate = new efl_text_cursor_free_delegate(cursor_free); } if (methods.FirstOrDefault(m => m.Name == "CursorFree") != null) { 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) }); } if (efl_text_cursor_equal_static_delegate == null) { efl_text_cursor_equal_static_delegate = new efl_text_cursor_equal_delegate(cursor_equal); } if (methods.FirstOrDefault(m => m.Name == "CursorEqual") != null) { 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) }); } if (efl_text_cursor_compare_static_delegate == null) { efl_text_cursor_compare_static_delegate = new efl_text_cursor_compare_delegate(cursor_compare); } if (methods.FirstOrDefault(m => m.Name == "CursorCompare") != null) { 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) }); } if (efl_text_cursor_copy_static_delegate == null) { efl_text_cursor_copy_static_delegate = new efl_text_cursor_copy_delegate(cursor_copy); } if (methods.FirstOrDefault(m => m.Name == "CursorCopy") != null) { 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) }); } if (efl_text_cursor_char_next_static_delegate == null) { efl_text_cursor_char_next_static_delegate = new efl_text_cursor_char_next_delegate(cursor_char_next); } if (methods.FirstOrDefault(m => m.Name == "CursorCharNext") != null) { 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) }); } if (efl_text_cursor_char_prev_static_delegate == null) { efl_text_cursor_char_prev_static_delegate = new efl_text_cursor_char_prev_delegate(cursor_char_prev); } if (methods.FirstOrDefault(m => m.Name == "CursorCharPrev") != null) { 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) }); } if (efl_text_cursor_cluster_next_static_delegate == null) { efl_text_cursor_cluster_next_static_delegate = new efl_text_cursor_cluster_next_delegate(cursor_cluster_next); } if (methods.FirstOrDefault(m => m.Name == "CursorClusterNext") != null) { 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) }); } if (efl_text_cursor_cluster_prev_static_delegate == null) { efl_text_cursor_cluster_prev_static_delegate = new efl_text_cursor_cluster_prev_delegate(cursor_cluster_prev); } if (methods.FirstOrDefault(m => m.Name == "CursorClusterPrev") != null) { 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) }); } if (efl_text_cursor_paragraph_char_first_static_delegate == null) { efl_text_cursor_paragraph_char_first_static_delegate = new efl_text_cursor_paragraph_char_first_delegate(cursor_paragraph_char_first); } if (methods.FirstOrDefault(m => m.Name == "CursorParagraphCharFirst") != null) { 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) }); } if (efl_text_cursor_paragraph_char_last_static_delegate == null) { efl_text_cursor_paragraph_char_last_static_delegate = new efl_text_cursor_paragraph_char_last_delegate(cursor_paragraph_char_last); } if (methods.FirstOrDefault(m => m.Name == "CursorParagraphCharLast") != null) { 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) }); } if (efl_text_cursor_word_start_static_delegate == null) { efl_text_cursor_word_start_static_delegate = new efl_text_cursor_word_start_delegate(cursor_word_start); } if (methods.FirstOrDefault(m => m.Name == "CursorWordStart") != null) { 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) }); } if (efl_text_cursor_word_end_static_delegate == null) { efl_text_cursor_word_end_static_delegate = new efl_text_cursor_word_end_delegate(cursor_word_end); } if (methods.FirstOrDefault(m => m.Name == "CursorWordEnd") != null) { 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) }); } if (efl_text_cursor_line_char_first_static_delegate == null) { efl_text_cursor_line_char_first_static_delegate = new efl_text_cursor_line_char_first_delegate(cursor_line_char_first); } if (methods.FirstOrDefault(m => m.Name == "CursorLineCharFirst") != null) { 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) }); } if (efl_text_cursor_line_char_last_static_delegate == null) { efl_text_cursor_line_char_last_static_delegate = new efl_text_cursor_line_char_last_delegate(cursor_line_char_last); } if (methods.FirstOrDefault(m => m.Name == "CursorLineCharLast") != null) { 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) }); } if (efl_text_cursor_paragraph_first_static_delegate == null) { efl_text_cursor_paragraph_first_static_delegate = new efl_text_cursor_paragraph_first_delegate(cursor_paragraph_first); } if (methods.FirstOrDefault(m => m.Name == "CursorParagraphFirst") != null) { 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) }); } if (efl_text_cursor_paragraph_last_static_delegate == null) { efl_text_cursor_paragraph_last_static_delegate = new efl_text_cursor_paragraph_last_delegate(cursor_paragraph_last); } if (methods.FirstOrDefault(m => m.Name == "CursorParagraphLast") != null) { 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) }); } if (efl_text_cursor_paragraph_next_static_delegate == null) { efl_text_cursor_paragraph_next_static_delegate = new efl_text_cursor_paragraph_next_delegate(cursor_paragraph_next); } if (methods.FirstOrDefault(m => m.Name == "CursorParagraphNext") != null) { 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) }); } if (efl_text_cursor_paragraph_prev_static_delegate == null) { efl_text_cursor_paragraph_prev_static_delegate = new efl_text_cursor_paragraph_prev_delegate(cursor_paragraph_prev); } if (methods.FirstOrDefault(m => m.Name == "CursorParagraphPrev") != null) { 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) }); } if (efl_text_cursor_line_jump_by_static_delegate == null) { efl_text_cursor_line_jump_by_static_delegate = new efl_text_cursor_line_jump_by_delegate(cursor_line_jump_by); } if (methods.FirstOrDefault(m => m.Name == "CursorLineJumpBy") != null) { 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) }); } if (efl_text_cursor_coord_set_static_delegate == null) { efl_text_cursor_coord_set_static_delegate = new efl_text_cursor_coord_set_delegate(cursor_coord_set); } if (methods.FirstOrDefault(m => m.Name == "SetCursorCoord") != null) { 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) }); } if (efl_text_cursor_cluster_coord_set_static_delegate == null) { efl_text_cursor_cluster_coord_set_static_delegate = new efl_text_cursor_cluster_coord_set_delegate(cursor_cluster_coord_set); } if (methods.FirstOrDefault(m => m.Name == "SetCursorClusterCoord") != null) { 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) }); } if (efl_text_cursor_text_insert_static_delegate == null) { efl_text_cursor_text_insert_static_delegate = new efl_text_cursor_text_insert_delegate(cursor_text_insert); } if (methods.FirstOrDefault(m => m.Name == "CursorTextInsert") != null) { 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) }); } if (efl_text_cursor_char_delete_static_delegate == null) { efl_text_cursor_char_delete_static_delegate = new efl_text_cursor_char_delete_delegate(cursor_char_delete); } if (methods.FirstOrDefault(m => m.Name == "CursorCharDelete") != null) { 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) }); } return descs; } /// Returns the Eo class for the native methods of this class. /// The native class pointer. public override IntPtr GetEflClass() { return Efl.ITextMarkupInteractiveConcrete.efl_text_markup_interactive_interface_get(); } #pragma warning disable CA1707, CS1591, SA1300, SA1600 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringPassOwnershipMarshaler))] private delegate System.String efl_text_markup_interactive_markup_range_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor start, Efl.TextCursorCursor end); [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringPassOwnershipMarshaler))] public delegate System.String efl_text_markup_interactive_markup_range_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor start, Efl.TextCursorCursor end); public static Efl.Eo.FunctionWrapper efl_text_markup_interactive_markup_range_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_interactive_markup_range_get"); private static System.String markup_range_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor start, Efl.TextCursorCursor end) { Eina.Log.Debug("function efl_text_markup_interactive_markup_range_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { System.String _ret_var = default(System.String); try { _ret_var = ((ITextMarkupInteractive)ws.Target).GetMarkupRange(start, end); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start, end); } } private static efl_text_markup_interactive_markup_range_get_delegate efl_text_markup_interactive_markup_range_get_static_delegate; private delegate void efl_text_markup_interactive_markup_range_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor start, Efl.TextCursorCursor end, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringPassOwnershipMarshaler))] System.String markup); public delegate void efl_text_markup_interactive_markup_range_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor start, Efl.TextCursorCursor end, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringPassOwnershipMarshaler))] System.String markup); public static Efl.Eo.FunctionWrapper efl_text_markup_interactive_markup_range_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_interactive_markup_range_set"); private static void markup_range_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String markup) { Eina.Log.Debug("function efl_text_markup_interactive_markup_range_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).SetMarkupRange(start, end, markup); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start, end, markup); } } private static efl_text_markup_interactive_markup_range_set_delegate efl_text_markup_interactive_markup_range_set_static_delegate; private delegate void efl_text_markup_interactive_cursor_markup_insert_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup); public delegate void efl_text_markup_interactive_cursor_markup_insert_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup); public static Efl.Eo.FunctionWrapper efl_text_markup_interactive_cursor_markup_insert_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_interactive_cursor_markup_insert"); private static void cursor_markup_insert(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, System.String markup) { Eina.Log.Debug("function efl_text_markup_interactive_cursor_markup_insert was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorMarkupInsert(cur, markup); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, markup); } } private static efl_text_markup_interactive_cursor_markup_insert_delegate efl_text_markup_interactive_cursor_markup_insert_static_delegate; private delegate Efl.TextCursorCursor efl_text_cursor_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorGetType get_type); public delegate Efl.TextCursorCursor efl_text_cursor_get_api_delegate(System.IntPtr obj, Efl.TextCursorGetType get_type); public static Efl.Eo.FunctionWrapper efl_text_cursor_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_get"); private static Efl.TextCursorCursor text_cursor_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorGetType get_type) { Eina.Log.Debug("function efl_text_cursor_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.TextCursorCursor _ret_var = default(Efl.TextCursorCursor); try { _ret_var = ((ITextMarkupInteractive)ws.Target).GetTextCursor(get_type); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_cursor_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), get_type); } } private static efl_text_cursor_get_delegate efl_text_cursor_get_static_delegate; private delegate int efl_text_cursor_position_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate int efl_text_cursor_position_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_position_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_position_get"); private static int cursor_position_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_position_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((ITextMarkupInteractive)ws.Target).GetCursorPosition(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_cursor_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_position_get_delegate efl_text_cursor_position_get_static_delegate; private delegate void efl_text_cursor_position_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int position); public delegate void efl_text_cursor_position_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int position); public static Efl.Eo.FunctionWrapper efl_text_cursor_position_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_position_set"); private static void cursor_position_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int position) { Eina.Log.Debug("function efl_text_cursor_position_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).SetCursorPosition(cur, position); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, position); } } private static efl_text_cursor_position_set_delegate efl_text_cursor_position_set_static_delegate; private delegate Eina.Unicode efl_text_cursor_content_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate Eina.Unicode efl_text_cursor_content_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_content_get"); private static Eina.Unicode cursor_content_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_content_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Unicode _ret_var = default(Eina.Unicode); try { _ret_var = ((ITextMarkupInteractive)ws.Target).GetCursorContent(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_cursor_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_content_get_delegate efl_text_cursor_content_get_static_delegate; [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); [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); public static Efl.Eo.FunctionWrapper efl_text_cursor_geometry_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_geometry_get"); 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) { Eina.Log.Debug("function efl_text_cursor_geometry_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { 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); try { _ret_var = ((ITextMarkupInteractive)ws.Target).GetCursorGeometry(cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { 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); } } private static efl_text_cursor_geometry_get_delegate efl_text_cursor_geometry_get_static_delegate; private delegate Efl.TextCursorCursor efl_text_cursor_new_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.TextCursorCursor efl_text_cursor_new_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_text_cursor_new_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_new"); private static Efl.TextCursorCursor cursor_new(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_text_cursor_new was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.TextCursorCursor _ret_var = default(Efl.TextCursorCursor); try { _ret_var = ((ITextMarkupInteractive)ws.Target).NewCursor(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_cursor_new_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_text_cursor_new_delegate efl_text_cursor_new_static_delegate; private delegate void efl_text_cursor_free_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_free_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_free_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_free"); private static void cursor_free(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_free was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorFree(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_free_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_free_delegate efl_text_cursor_free_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_text_cursor_equal_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_text_cursor_equal_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2); public static Efl.Eo.FunctionWrapper efl_text_cursor_equal_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_equal"); private static bool cursor_equal(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) { Eina.Log.Debug("function efl_text_cursor_equal was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((ITextMarkupInteractive)ws.Target).CursorEqual(cur1, cur2); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_cursor_equal_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur1, cur2); } } private static efl_text_cursor_equal_delegate efl_text_cursor_equal_static_delegate; private delegate int efl_text_cursor_compare_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2); public delegate int efl_text_cursor_compare_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2); public static Efl.Eo.FunctionWrapper efl_text_cursor_compare_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_compare"); private static int cursor_compare(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) { Eina.Log.Debug("function efl_text_cursor_compare was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((ITextMarkupInteractive)ws.Target).CursorCompare(cur1, cur2); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_cursor_compare_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur1, cur2); } } private static efl_text_cursor_compare_delegate efl_text_cursor_compare_static_delegate; private delegate void efl_text_cursor_copy_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor dst, Efl.TextCursorCursor src); public delegate void efl_text_cursor_copy_api_delegate(System.IntPtr obj, Efl.TextCursorCursor dst, Efl.TextCursorCursor src); public static Efl.Eo.FunctionWrapper efl_text_cursor_copy_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_copy"); private static void cursor_copy(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor dst, Efl.TextCursorCursor src) { Eina.Log.Debug("function efl_text_cursor_copy was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorCopy(dst, src); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_copy_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dst, src); } } private static efl_text_cursor_copy_delegate efl_text_cursor_copy_static_delegate; private delegate void efl_text_cursor_char_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_char_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_char_next_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_char_next"); private static void cursor_char_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_char_next was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorCharNext(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_char_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_char_next_delegate efl_text_cursor_char_next_static_delegate; private delegate void efl_text_cursor_char_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_char_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_char_prev_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_char_prev"); private static void cursor_char_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_char_prev was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorCharPrev(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_char_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_char_prev_delegate efl_text_cursor_char_prev_static_delegate; private delegate void efl_text_cursor_cluster_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_cluster_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_cluster_next_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_cluster_next"); private static void cursor_cluster_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_cluster_next was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorClusterNext(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_cluster_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_cluster_next_delegate efl_text_cursor_cluster_next_static_delegate; private delegate void efl_text_cursor_cluster_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_cluster_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_cluster_prev_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_cluster_prev"); private static void cursor_cluster_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_cluster_prev was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorClusterPrev(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_cluster_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_cluster_prev_delegate efl_text_cursor_cluster_prev_static_delegate; private delegate void efl_text_cursor_paragraph_char_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_paragraph_char_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_char_first_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_char_first"); private static void cursor_paragraph_char_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_paragraph_char_first was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorParagraphCharFirst(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_paragraph_char_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_paragraph_char_first_delegate efl_text_cursor_paragraph_char_first_static_delegate; private delegate void efl_text_cursor_paragraph_char_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_paragraph_char_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_char_last_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_char_last"); private static void cursor_paragraph_char_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_paragraph_char_last was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorParagraphCharLast(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_paragraph_char_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_paragraph_char_last_delegate efl_text_cursor_paragraph_char_last_static_delegate; private delegate void efl_text_cursor_word_start_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_word_start_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_word_start_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_word_start"); private static void cursor_word_start(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_word_start was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorWordStart(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_word_start_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_word_start_delegate efl_text_cursor_word_start_static_delegate; private delegate void efl_text_cursor_word_end_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_word_end_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_word_end_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_word_end"); private static void cursor_word_end(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_word_end was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorWordEnd(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_word_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_word_end_delegate efl_text_cursor_word_end_static_delegate; private delegate void efl_text_cursor_line_char_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_line_char_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_line_char_first_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_line_char_first"); private static void cursor_line_char_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_line_char_first was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorLineCharFirst(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_line_char_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_line_char_first_delegate efl_text_cursor_line_char_first_static_delegate; private delegate void efl_text_cursor_line_char_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_line_char_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_line_char_last_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_line_char_last"); private static void cursor_line_char_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_line_char_last was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorLineCharLast(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_line_char_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_line_char_last_delegate efl_text_cursor_line_char_last_static_delegate; private delegate void efl_text_cursor_paragraph_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_paragraph_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_first_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_first"); private static void cursor_paragraph_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_paragraph_first was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorParagraphFirst(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_paragraph_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_paragraph_first_delegate efl_text_cursor_paragraph_first_static_delegate; private delegate void efl_text_cursor_paragraph_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_paragraph_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_last_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_last"); private static void cursor_paragraph_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_paragraph_last was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorParagraphLast(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_paragraph_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_paragraph_last_delegate efl_text_cursor_paragraph_last_static_delegate; private delegate void efl_text_cursor_paragraph_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_paragraph_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_next_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_next"); private static void cursor_paragraph_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_paragraph_next was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorParagraphNext(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_paragraph_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_paragraph_next_delegate efl_text_cursor_paragraph_next_static_delegate; private delegate void efl_text_cursor_paragraph_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_paragraph_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_prev_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_prev"); private static void cursor_paragraph_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_paragraph_prev was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorParagraphPrev(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_paragraph_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_paragraph_prev_delegate efl_text_cursor_paragraph_prev_static_delegate; private delegate void efl_text_cursor_line_jump_by_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int by); public delegate void efl_text_cursor_line_jump_by_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int by); public static Efl.Eo.FunctionWrapper efl_text_cursor_line_jump_by_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_line_jump_by"); private static void cursor_line_jump_by(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int by) { Eina.Log.Debug("function efl_text_cursor_line_jump_by was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorLineJumpBy(cur, by); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_line_jump_by_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, by); } } private static efl_text_cursor_line_jump_by_delegate efl_text_cursor_line_jump_by_static_delegate; private delegate void efl_text_cursor_coord_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y); public delegate void efl_text_cursor_coord_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int x, int y); public static Efl.Eo.FunctionWrapper efl_text_cursor_coord_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_coord_set"); private static void cursor_coord_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y) { Eina.Log.Debug("function efl_text_cursor_coord_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).SetCursorCoord(cur, x, y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_coord_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, x, y); } } private static efl_text_cursor_coord_set_delegate efl_text_cursor_coord_set_static_delegate; private delegate void efl_text_cursor_cluster_coord_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y); public delegate void efl_text_cursor_cluster_coord_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int x, int y); public static Efl.Eo.FunctionWrapper efl_text_cursor_cluster_coord_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_cluster_coord_set"); private static void cursor_cluster_coord_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y) { Eina.Log.Debug("function efl_text_cursor_cluster_coord_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).SetCursorClusterCoord(cur, x, y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { 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); } } private static efl_text_cursor_cluster_coord_set_delegate efl_text_cursor_cluster_coord_set_static_delegate; 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); 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); public static Efl.Eo.FunctionWrapper efl_text_cursor_text_insert_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_text_insert"); private static int cursor_text_insert(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, System.String text) { Eina.Log.Debug("function efl_text_cursor_text_insert was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((ITextMarkupInteractive)ws.Target).CursorTextInsert(cur, text); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_text_cursor_text_insert_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, text); } } private static efl_text_cursor_text_insert_delegate efl_text_cursor_text_insert_static_delegate; private delegate void efl_text_cursor_char_delete_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); public delegate void efl_text_cursor_char_delete_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); public static Efl.Eo.FunctionWrapper efl_text_cursor_char_delete_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_char_delete"); private static void cursor_char_delete(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) { Eina.Log.Debug("function efl_text_cursor_char_delete was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((ITextMarkupInteractive)ws.Target).CursorCharDelete(cur); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_text_cursor_char_delete_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); } } private static efl_text_cursor_char_delete_delegate efl_text_cursor_char_delete_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 } } }