Commit Graph

932 Commits

Author SHA1 Message Date
Thomas
6b59847f26 Merge branch 'v2_develop' into fs 2023-04-03 18:21:03 +01:00
tznind
c052a30f47 Add AutoSpin test 2023-04-03 07:42:05 -06:00
tznind
b29839a2aa Code formatting 2023-04-03 07:42:05 -06:00
tznind
91b74a462e Add SpinnerView 2023-04-03 07:42:05 -06:00
BDisp
ecba204576 Improving unit test. 2023-04-03 07:06:58 -06:00
BDisp
f0a4212e6d Prevents FocusNext throw exception if tabIndexes collection was modified. 2023-04-03 07:06:58 -06:00
BDisp
df95acc77d View with a null SuperView should be allowed to set focus. 2023-04-03 07:06:58 -06:00
BDisp
1eaa0a9925 Fixes #2457. View without subviews mustn't set CanFocus to false on Remove them. 2023-04-03 07:06:58 -06:00
BDisp
d5c584425c Fixes #2446. Currently is allowed two views on different toplevels having HasFocus as true. 2023-04-03 07:06:58 -06:00
tznind
2b01a4c2b5 Fix failing unit test 2023-04-02 20:15:08 +01:00
Thomas
12372051a3 Add test for case insensitivity 2023-04-01 13:56:15 +01:00
Thomas
544681a6f8 WIP: Refactor to use 3 sub PRs
- SpinnerView
- Suggest Append Autocomplete
- Caption TextField
2023-04-01 13:35:27 +01:00
Thomas
53fc7c24c4 Merge branch 'caption' into fs 2023-04-01 13:17:15 +01:00
Thomas
4d8a261c82 Merge branch 'suggest-append' into fs 2023-04-01 13:16:10 +01:00
Thomas
dda6deeb69 Merge branch 'spinner' into fs 2023-04-01 13:15:59 +01:00
Thomas
1c4b92ca2f Fix layout 2023-04-01 13:03:36 +01:00
Thomas Nind
4bc5a3b23a Merge branch 'v2_develop' into caption 2023-04-01 13:02:12 +01:00
Thomas
0b6856ad88 Added caption tests 2023-04-01 12:57:46 +01:00
Thomas Nind
5cbcfc3e12 Merge branch 'v2_develop' into suggest-append 2023-04-01 08:54:53 +01:00
Thomas
a3b154749a More tests 2023-04-01 08:11:12 +01:00
Thomas
86a2a2a956 Fix suggestion overspill bounds 2023-04-01 07:59:18 +01:00
Thomas
66d89c6f3e More append tests 2023-04-01 07:43:41 +01:00
Thomas
1eb6db9538 Support for CloseKey in autocomplete append 2023-03-31 20:25:46 +01:00
Thomas
dbe78d5556 Add first autocomplete append test 2023-03-31 17:13:45 +01:00
Tig
b202e15acb Merge pull request #2460 from BDisp/v2_listview-selecteditem-fix_2459
Fixes #2459. ListView SelectedItem throw exception if the value is -1.
2023-03-31 07:28:15 -06:00
Tigger Kindel
5ae715010f Hacked unit test to not fail until #2474 can be fixed 2023-03-31 07:11:34 -06:00
Thomas Nind
e14701212a Merge branch 'v2_develop' into spinner 2023-03-30 18:28:54 +01:00
tznind
3d9aac8e4c Add AutocompleteContext 2023-03-30 08:17:44 +01:00
Tigger Kindel
1890677493 Added AbsoluteLayout unit tests 2023-03-29 20:50:33 -06:00
tznind
cfb2058bc0 Fix tests 2023-03-30 02:36:53 +01:00
tznind
b30dd8e065 Added Suggestion class 2023-03-30 02:27:02 +01:00
Thomas
e62e2382de WIP:Start refactoring Autocomplete
- Seperate out suggestion generation from popup/append UI
- Reduce coupling and subclassing
2023-03-29 22:58:09 +01:00
BDisp
a0c0d18a5a Prevents OnEnter throw exception if IsInitialized is false. 2023-03-29 12:08:58 +01:00
BDisp
3e504ca8e8 Run EnsureSelectedItemVisible on OnSelectedChanged. 2023-03-29 12:06:44 +01:00
BDisp
0656662b12 lastSelectedItem must be equal to selected no matter has focus or not. 2023-03-29 01:08:50 +01:00
BDisp
c5ef409819 Fixes #2459. ListView SelectedItem throw exception if the value is -1. 2023-03-28 21:51:32 +01:00
tznind
172036f0a2 Add AutoSpin test 2023-03-27 20:26:36 +01:00
tznind
a0c02c6d1d Code formatting 2023-03-27 20:16:34 +01:00
tznind
e1e3e068e4 Add SpinnerView 2023-03-27 20:13:39 +01:00
Tig
33c9a5fad4 Merge pull request #2454 from BDisp/v2_textfield-onenter-fix_2453
Fixes #2453. TextField OnEnter throws exception if IsInitialized is false.
2023-03-27 09:41:55 -06:00
BDisp
f0f0d008ca Fixes #2453. TextField OnEnter throws exception if IsInitialized is false. 2023-03-27 14:38:54 +01:00
BDisp
d81bf050ee Fixes #2451. ListView SelectedItem should be -1 by default. 2023-03-27 12:54:51 +01:00
tznind
e02881f3e9 WIP: Add new namespace Terminal.Gui.FileServices 2023-03-24 00:06:25 +00:00
tznind
bc05775493 Refactor internal classes and add class diagram 2023-03-23 18:47:48 +00:00
Thomas Nind
8583bd4045 Merge branch 'v2_develop' into fs 2023-03-22 19:34:32 +00:00
Tig
13ec890d11 Merge pull request #2441 from BDisp/textview-replacealltext-fix_2429
Fixes #2429. Error when replacing a word in textView.
2023-03-22 12:54:15 -06:00
BDisp
5847abeef9 Fixes #2429. Error when replacing a word in textView. 2023-03-22 13:45:02 +00:00
BDisp
c363190fe9 Resolving merge conflicts. 2023-03-21 22:24:06 +00:00
Tig
ac5b87f9be Merge pull request #2438 from BDisp/v2_dialog-bigger-fix_2434
Fixes #2434. Dialog bounds bigger than Cols and Rows must be allowed to drag beyond left, right and bottom.
2023-03-21 08:34:49 -07:00
Tig
2250fc1775 Merge pull request #2437 from BDisp/v2_dialog-from-dialog-fix_2430
Fixes #2430. Launching a Dialog from a Dialog causes errors in v2_develop.
2023-03-21 08:33:11 -07:00