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
| Member | Summary |
|---|---|
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
| Name | Type | Description |
|---|---|---|
entry | ITextEntry | The line being edited. |
keymap | ArlecchinoKeymap | The keys the application obeys. |
key | KeyPress | The key that arrived. |
Returns bool — true when the key was one of these and has been dealt with.