Skip to main content

SelectKeys class

Namespace: Arlecchino.Editing · Assembly: Arlecchino

The keys that take the selection about rather than the caret, which are the moving keys with Shift held. They are read before the moving keys.

public static class SelectKeys

Methods

MemberSummary
Handled(ITextEntry, ArlecchinoKeymap, KeyPress)Takes the selection where the key says, leaving the text as it is.

Methods in detail

Handled(ITextEntry, ArlecchinoKeymap, KeyPress)

public static bool Handled(ITextEntry entry, ArlecchinoKeymap keymap, KeyPress key);

Takes the selection where the key says, leaving the text as it is.

Parameters

NameTypeDescription
entryITextEntryThe line being edited.
keymapArlecchinoKeymapThe keys the application obeys.
keyKeyPressThe key that arrived.

Returns booltrue when the key was one of these and has been dealt with.