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
| Member | Summary |
|---|---|
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
| 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.