Used internally by TextEditor to manage clipboard interactions.

Constructor

new(textEditor:TextEditor)

Creates a new ClipboardManager object.

Methods

copy():Void

Copies the current selection, if there is a selection.

cut():Void

Cuts the current selection, if there is a selection.

paste():Void

Pastes text from the clipboard, if any is available.