#define EFL_BETA
#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 {
/// Cursor API
/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development.
[Efl.ITextCursorConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextCursor :
Efl.Eo.IWrapper, IDisposable
{
/// The object's main cursor.
/// Cursor type
/// Text cursor object
Efl.TextCursorCursor GetTextCursor(Efl.TextCursorGetType get_type);
/// Cursor position
/// Cursor object
/// Cursor position
int GetCursorPosition(Efl.TextCursorCursor cur);
/// Cursor position
/// Cursor object
/// Cursor position
void SetCursorPosition(Efl.TextCursorCursor cur, int position);
/// The content of the cursor (the character under the cursor)
/// Cursor object
/// The unicode codepoint of the character
Eina.Unicode GetCursorContent(Efl.TextCursorCursor cur);
/// 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.
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);
/// Create new cursor
/// Cursor object
Efl.TextCursorCursor NewCursor();
/// Free existing cursor
/// Cursor object
void CursorFree(Efl.TextCursorCursor cur);
/// Check if two cursors are equal
/// Cursor 1 object
/// Cursor 2 object
/// true if cursors are equal, false otherwise
bool CursorEqual(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2);
/// Compare two cursors
/// Cursor 1 object
/// Cursor 2 object
/// Difference between cursors
int CursorCompare(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2);
/// Copy existing cursor
/// Destination cursor
/// Source cursor
void CursorCopy(Efl.TextCursorCursor dst, Efl.TextCursorCursor src);
/// Advances to the next character
/// Cursor object
void CursorCharNext(Efl.TextCursorCursor cur);
/// Advances to the previous character
/// Cursor object
void CursorCharPrev(Efl.TextCursorCursor cur);
/// Advances to the next grapheme cluster
/// Cursor object
void CursorClusterNext(Efl.TextCursorCursor cur);
/// Advances to the previous grapheme cluster
/// Cursor object
void CursorClusterPrev(Efl.TextCursorCursor cur);
/// Advances to the first character in this paragraph
/// Cursor object
void CursorParagraphCharFirst(Efl.TextCursorCursor cur);
/// Advances to the last character in this paragraph
/// Cursor object
void CursorParagraphCharLast(Efl.TextCursorCursor cur);
/// Advance to current word start
/// Cursor object
void CursorWordStart(Efl.TextCursorCursor cur);
/// Advance to current word end
/// Cursor object
void CursorWordEnd(Efl.TextCursorCursor cur);
/// Advance to current line first character
/// Cursor object
void CursorLineCharFirst(Efl.TextCursorCursor cur);
/// Advance to current line last character
/// Cursor object
void CursorLineCharLast(Efl.TextCursorCursor cur);
/// Advance to current paragraph first character
/// Cursor object
void CursorParagraphFirst(Efl.TextCursorCursor cur);
/// Advance to current paragraph last character
/// Cursor object
void CursorParagraphLast(Efl.TextCursorCursor cur);
/// Advances to the start of the next text node
/// Cursor object
void CursorParagraphNext(Efl.TextCursorCursor cur);
/// Advances to the end of the previous text node
/// Cursor object
void CursorParagraphPrev(Efl.TextCursorCursor cur);
/// Jump the cursor by the given number of lines
/// Cursor object
/// Number of lines
void CursorLineJumpBy(Efl.TextCursorCursor cur, int by);
/// Set cursor coordinates
/// Cursor object
/// X coord to set by.
/// Y coord to set by.
void SetCursorCoord(Efl.TextCursorCursor cur, int x, int y);
/// 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.
void SetCursorClusterCoord(Efl.TextCursorCursor cur, int x, int y);
/// 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.
int CursorTextInsert(Efl.TextCursorCursor cur, System.String text);
/// Deletes a single character from position pointed by given cursor.
/// Cursor object
void CursorCharDelete(Efl.TextCursorCursor cur);
}
/// Cursor API
/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development.
sealed public class ITextCursorConcrete :
Efl.Eo.EoWrapper
, ITextCursor
{
/// Pointer to the native class description.
public override System.IntPtr NativeClass
{
get
{
if (((object)this).GetType() == typeof(ITextCursorConcrete))
{
return GetEflClassStatic();
}
else
{
return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
}
}
}
/// Subclasses should override this constructor if they are expected to be instantiated from native code.
/// Do not call this constructor directly.
/// Tag struct storing the native handle of the object being constructed.
private ITextCursorConcrete(ConstructingHandle ch) : base(ch)
{
}
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_cursor_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 ITextCursorConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// 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.ITextCursorConcrete.efl_text_cursor_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_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.ITextCursorConcrete.efl_text_cursor_interface_get();
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
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 = ((ITextCursor)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 = ((ITextCursor)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
{
((ITextCursor)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 = ((ITextCursor)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 = ((ITextCursor)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 = ((ITextCursor)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
{
((ITextCursor)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 = ((ITextCursor)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 = ((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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
{
((ITextCursor)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 = ((ITextCursor)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
{
((ITextCursor)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
}
}
}
#if EFL_BETA
#pragma warning disable CS1591
public static class EflITextCursorConcrete_ExtensionMethods {
}
#pragma warning restore CS1591
#endif
namespace Efl {
/// All available cursor states
[Efl.Eo.BindingEntity]
public enum TextCursorGetType
{
/// Main cursor state (alias to "main")
Default = 0,
/// Main cursor state
Main = 1,
/// Selection begin cursor state
SelectionBegin = 2,
/// Selection end cursor state
SelectionEnd = 3,
/// Pre-edit start cursor state
PreeditStart = 4,
/// Pre-edit end cursor state
PreeditEnd = 5,
/// User cursor state
User = 6,
/// User extra cursor state
UserExtra = 7,
}
}
namespace Efl {
/// Text cursor types
[Efl.Eo.BindingEntity]
public enum TextCursorType
{
/// Cursor type before
Before = 0,
/// Cursor type under
Under = 1,
}
}