mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Fixes #3186. HotKeys must be explicitly set (Makes TextFormatter.FindHotKey firstUpperCase default to false) (#3187)
* Removed resharper settings from editorconfig * Fixed FileDialog, Button, and Checkbox * Fixed RadioGroup * code cleanup * Fixed Unicode Scenario * Fixed nonBMP bug in DrawHotString * Fixed nonBMP bug in DrawHotString * Fixed AllViewsTester and Buttons * Fixed Dialogs & MessageBoxes * API docs
This commit is contained in:
@@ -208,13 +208,13 @@ public class HotKeyTests {
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData ("Test", KeyCode.T)]
|
||||
[InlineData ("Test", KeyCode.Null)]
|
||||
[InlineData ("^Test", KeyCode.T)]
|
||||
[InlineData ("T^est", KeyCode.E)]
|
||||
[InlineData ("Te^st", KeyCode.S)]
|
||||
[InlineData ("Tes^t", KeyCode.T)]
|
||||
[InlineData ("other", KeyCode.Null)]
|
||||
[InlineData ("oTher", KeyCode.T)]
|
||||
[InlineData ("oTher", KeyCode.Null)]
|
||||
[InlineData ("^Öther", (KeyCode)'Ö')]
|
||||
[InlineData ("^öther", (KeyCode)'ö')]
|
||||
// BUGBUG: '!' should be supported. Line 968 of TextFormatter filters on char.IsLetterOrDigit
|
||||
|
||||
Reference in New Issue
Block a user