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:
Tig
2024-01-16 10:32:51 -07:00
committed by GitHub
parent 56943f17d2
commit 1df8ae15bb
18 changed files with 285 additions and 249 deletions

View File

@@ -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