Skip to main content

EraseKeys class

Namespace: Arlecchino.Editing · Assembly: Arlecchino

The keys that rub text out of a line: a symbol, a word, or everything back to the start. Any of them takes the selection instead while there is one.

public static class EraseKeys

Methods

MemberSummary
Erased(ITextEntry, ArlecchinoKeymap, KeyPress)Rubs out what the key says.

Methods in detail

Erased(ITextEntry, ArlecchinoKeymap, KeyPress)

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

Rubs out what the key says.

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.