Jan-Sandr / Grafer

2 stars 1 forks source link

[App] Implement shortcuts for equation input #129

Closed Jan-Sandr closed 2 years ago

Jan-Sandr commented 2 years ago

Story:

At this time user can input nth root only via button which is not quite intuitive. Implement keyboard shortcuts for quicker equation typing. In EquationInput add new property Dictionary<string><string> Shortcuts key for example will be ShiftN and value: ^ Then add new event PreviewKeyDown() which will be used to detect if user press shortcut. As next create public method InsertShortcut() which will require dictionary value or button's Uid Shortcuts will be loaded from file Shortcuts.csv on application startup. For this add new method in Main.cs LoadShortcuts()

To do: