UI module

paste_clipboard

procedure · 1 overloadsince 0.31.0Source

Replace the selection with the clipboard's text.

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

Replace the selection with the clipboard's text.

Parameters

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

See also