Table of Contents

Class CodeEditorCommands

Namespace
CodeEdit.Maui
Assembly
CodeEdit.Maui.dll

Provides editor-aware MVVM commands for history, selection, and the native clipboard.

public sealed class CodeEditorCommands
Inheritance
CodeEditorCommands
Inherited Members

Properties

Copy

Gets the copy command.

public ICommand Copy { get; }

Property Value

ICommand

Cut

Gets the cut command.

public ICommand Cut { get; }

Property Value

ICommand

Paste

Gets the plain-text paste command.

public ICommand Paste { get; }

Property Value

ICommand

Redo

Gets the redo command.

public ICommand Redo { get; }

Property Value

ICommand

SelectAll

Gets the select-all command.

public ICommand SelectAll { get; }

Property Value

ICommand

Undo

Gets the undo command.

public ICommand Undo { get; }

Property Value

ICommand

Events

Failed

Reports a native command failure so the application can offer recovery.

public event EventHandler<RichTextCommandFailedEventArgs>? Failed

Event Type

EventHandler<RichTextCommandFailedEventArgs>

Remarks

Direct editing API calls still propagate exceptions.