UI module

cut_selection

procedure · 1 overloadsince 0.31.0Source

Copy the selection to the clipboard and delete it.

cut_selection :: (ui: *UI_State, edit: *Text_Edit)

Copy the selection to the clipboard and delete it.

Parameters

ui: *UI_State
the UI whose clipboard hooks and text measuring to use.
edit: *Text_Edit
the text being edited.

See also