Commit Graph

6329 Commits

Author SHA1 Message Date
Tig
d507426c6d Changed semantics of TabIndexes, TabIndex, and CanFocus relative to TabStop.
CanFocus is not coupled with the tab index or tab stop other than to automatically set TabStop when set to True.
A TabIndex of -1 is only used to indicate TabStop_set has not been called.
Once nullable is enabled, we'll change _tabIndex to be nullable.
Changing CanFocus does not impact TabIndex (except in that it sets TabStop if it's None).
2024-07-27 11:55:41 -04:00
Tig
fa4b9dc60f Added BUGBUGs and TODOs re TabIndex 2024-07-27 11:07:21 -04:00
Tig
4ede0648f4 TabStop -> now of type TabStop.
Updated unit tests.
2024-07-27 10:58:52 -04:00
Tig
5d1467dc2a Converted TabStop to auto property 2024-07-27 10:39:31 -04:00
Tig
e41b24fd40 Removed coupling between TabStop and CanFocus 2024-07-27 10:38:50 -04:00
Tig
207266b68f Fixed unit test 2024-07-27 10:30:30 -04:00
Tig
ee3c48ae50 Progress 2024-07-27 09:29:50 -04:00
Tig
5e28ba1ef9 Added low-level Focus tests 2024-07-26 08:02:18 -04:00
Tig
3f19a6f04a Added low-level Focus tests 2024-07-26 08:00:45 -04:00
Tig
aa9d42fc01 Renamed FocusNearestView to be understandable 2024-07-26 06:41:51 -04:00
Tig
911f2c66de Rewrote FocusNearestView to be understandable 2024-07-26 06:32:24 -04:00
Tig
66f83ad2e6 Reduced duplicated code by leverating Navigationdirection enum 2024-07-25 16:37:22 -06:00
Tig
4b785c8f7c Prepping to reduce duplicated code in FocusNext/Prev 2024-07-25 15:41:30 -06:00
Tig
5b1ac0eefd Merge branch 'v2_2491-Toplevel-Redesign' into v2_2491-Arrangement-Overlapped 2024-07-25 14:59:15 -06:00
Tig
78f527e4a1 Fixed post merge errors. 2024-07-25 14:54:58 -06:00
Tig
a935ef83df Merge remote-tracking branch 'refs/remotes/origin/v2_2491-Toplevel-Redesign' into v2_2491-Toplevel-Redesign 2024-07-25 14:50:19 -06:00
Tig
15e6b4eff2 Documenting focus code 2024-07-25 14:40:11 -06:00
Tig
0583d4526d Merge pull request #3615 from tig/v2_3499-Finish-DimAuto
Fixes #3499. Finishes `Dim.Auto` implementation
2024-07-25 13:50:05 -06:00
Tig
2d2954d12f Merge branch 'v2_develop' into v2_3499-Finish-DimAuto 2024-07-25 13:36:24 -06:00
Tig
ccec0eec11 Documenting focus code 2024-07-25 12:16:10 -06:00
Tig
9b89fe6466 Code cleanup and API docs - getting better understanding of navigation code. 2024-07-25 11:21:49 -06:00
Tig
d874f56282 Reorganized View source files to get my head straight 2024-07-25 10:40:28 -06:00
Tig
3a40851848 WIP: More - Modify Focus logic to properly deal with ViewArrangement.Overlapped. 2024-07-24 19:45:25 -06:00
Tig
ca4d10b509 WIP: Modify Focus logic to properly deal with ViewArrangement.Overlapped. 2024-07-24 19:22:59 -06:00
Tig
331d9726d7 nullable enable TopLevel 2024-07-24 16:18:20 -06:00
Tig
cbecae5d47 Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings. 2024-07-24 15:48:41 -06:00
Tig
cb3e80666f Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings. 2024-07-24 15:43:35 -06:00
Tig
f37ec5e04f Moved Overlapped stuff to ApplicationOverlap static class. Fixed nullable warnings. 2024-07-24 15:42:04 -06:00
Tig
022050db73 Fixed nullable warnings 7 2024-07-24 15:09:48 -06:00
Tig
ff47aa29b9 Fixed nullable warnings 6 2024-07-24 14:39:34 -06:00
Tig
689c0cd93f Fixed nullable warnings 5 2024-07-24 14:37:23 -06:00
Tig
3b35189106 Fixed nullable warnings 4 2024-07-24 14:36:20 -06:00
Tig
04dbe68dbf Fixed nullable warnings 3 2024-07-24 14:20:08 -06:00
Tig
73a9dc37c4 Fixed nullable warnings 2 2024-07-24 14:15:32 -06:00
Tig
0c56dfeb5a Moved view navigation out of Toplevel and into Application (via ViewNavigation static class). 2024-07-24 12:56:55 -06:00
Tig
4a56b84324 removed unneeded AlternateBack/FormardKey code from Toplevel 2024-07-24 12:41:28 -06:00
Tig
c088f2e98c removed unneeded key handling code from Toplevel 2024-07-24 12:38:59 -06:00
Tig
22dcbc1a78 removed un needed key handling code from TextView 2024-07-24 12:36:45 -06:00
Tig
c03dd32031 Moved Toplevel keybindings out of Toplevel to Application.
Still need to move navigation code out of Toplevel
2024-07-24 12:28:30 -06:00
Tig
feaf5c0f6c WIP (Very Broken) try to move keybindings out of Toplevel to app 2024-07-23 18:12:43 -06:00
Tig
f8e8aff29f More Toplevel.cs organization & docs 2024-07-23 15:36:36 -06:00
Tig
fe5cbe4df3 More Toplevel.cs organization & docs 2024-07-23 14:42:50 -06:00
Tig
d813b1f137 Fixed dumb enum cast in KeyBinding code 2024-07-23 14:19:57 -06:00
Tig
d44e8d3b81 More Toplevel.cs organization & docs 2024-07-23 09:59:30 -06:00
Tig
47010805cd Toplevel.cs organization 2024-07-23 09:41:21 -06:00
Tig
250050c8a2 Toplevel cleanup 2024-07-22 17:50:45 -06:00
Tig
2939108bfe Added Toplevel to spelling dict 2024-07-22 17:06:21 -06:00
Tig
0b8e4342d4 Applicaation Toplevel handling moved to separate file 2024-07-22 17:05:06 -06:00
Tig
2e0a9a7c68 Fixed nullable warnings 2024-07-22 16:59:10 -06:00
Tig
44ce74a5c0 Refactored Application into smaller files.
Made Application #nullable enable
2024-07-22 16:52:02 -06:00