Class Editor
- Namespace
- Lime
- Assembly
- Lime.dll
Editor behaviour implemented over the given text display widget.
public class Editor
- Inheritance
-
Editor
- Inherited Members
Constructors
Editor(Widget, IEditorParams, Widget, Widget)
public Editor(Widget displayWidget, IEditorParams editorParams, Widget focusableWidget = null, Widget clickableWidget = null)
Parameters
displayWidget
WidgeteditorParams
IEditorParamsfocusableWidget
WidgetclickableWidget
Widget
Fields
ClickableWidget
public readonly Widget ClickableWidget
Field Value
DisplayWidget
public readonly Widget DisplayWidget
Field Value
EditorParams
public readonly IEditorParams EditorParams
Field Value
FocusableWidget
public readonly Widget FocusableWidget
Field Value
History
public UndoHistory<Editor.UndoItem> History
Field Value
Password
public SecureString Password
Field Value
Text
public readonly IText Text
Field Value
Properties
CaretPos
public ICaretPosition CaretPos { get; }
Property Value
Enabled
public bool Enabled { get; }
Property Value
OverwriteMode
public bool OverwriteMode { get; }
Property Value
ProcessInput
public bool ProcessInput { get; set; }
Property Value
SelectionEnd
public ICaretPosition SelectionEnd { get; }
Property Value
SelectionStart
public ICaretPosition SelectionStart { get; }
Property Value
Methods
AdjustSizeAndScrollToCaret()
public void AdjustSizeAndScrollToCaret()
CurrentChar()
public char CurrentChar()
Returns
DeleteChar()
public void DeleteChar()
HasSelection()
public bool HasSelection()
Returns
SelectAll()
public void SelectAll()
Unlink()
public void Unlink()