Commit Graph

3980 Commits

Author SHA1 Message Date
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
9ca23e5c4a Only set hasFocus to true if it's false. 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
Tig
2e6d6945f9 Merge pull request #2466 from tznind/suggest-append
Fixes #2456 - Adds Suggest Append Autocomplete
2023-04-03 06:54:05 -06:00
Thomas
12372051a3 Add test for case insensitivity 2023-04-01 13:56:15 +01:00
Thomas Nind
5cbcfc3e12 Merge branch 'v2_develop' into suggest-append 2023-04-01 08:54:53 +01:00
Thomas
14b34295ea xmldoc and tidying 2023-04-01 08:46:19 +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
Tig
4feeaa86f9 Merge pull request #2475 from tig/v2_gets_around_2474
Hacked unit test to not fail until #2474 can be fixed
2023-03-31 07:18:43 -06:00
Tigger Kindel
5ae715010f Hacked unit test to not fail until #2474 can be fixed 2023-03-31 07:11:34 -06:00
tznind
3d9aac8e4c Add AutocompleteContext 2023-03-30 08:17:44 +01:00
Tig
a1c8a7dc69 Merge pull request #2468 from tig/v2_develop
Adds AbsoluteLayout unit tests
2023-03-29 20:54:30 -06:00
Tigger Kindel
1890677493 Added AbsoluteLayout unit tests 2023-03-29 20:50:33 -06:00
tznind
8f6bdca20c xmldoc and whitespace fixes 2023-03-30 03:03:47 +01:00
tznind
e94ee1b31e Move classes to separate files 2023-03-30 02:56:29 +01:00
tznind
f8ff486102 Fill space in append scenario 2023-03-30 02:48:33 +01:00
tznind
5a0725df35 Change append autocomplete to use tab completion 2023-03-30 02:47:14 +01: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
Thomas
a190f429b3 Change AppendAutocomplete to use Suggestions fields 2023-03-29 22:19:36 +01:00
tznind
4eeff5e37d WIP: Start refactoring Autocomplete
- AutocompleteBase generates suggestions
  - PopupAutocomplete shows suggestions in popup
  - AppendAutocomplete will show suggestions inline
2023-03-29 20:14:34 +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
0733274ecc Set render color to match focused background 2023-03-28 19:47:28 +01:00
tznind
f7cad2a987 Add scaffold for append autocomplete 2023-03-28 19:36:22 +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
Tig
f518ddf4b6 Merge pull request #2452 from BDisp/v2_listview-selecteditem-fix_2451
Fixes #2451. ListView SelectedItem should be -1 by default.
2023-03-27 09:39:12 -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
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
Tig
d445ba1aa6 Merge pull request #2417 from BDisp/v2_single-smaller-top-fix_2416
Fixes #2416. Single smaller top level leaves chunk trails on move.
2023-03-22 12:51:36 -06:00
Tig
9b1a1e7f0e Merge pull request #2421 from BDisp/v2_background-scenario-visible-fix_2420
Fixes #2420. BackgroundWorkerCollection scenario is badly clearing invisible button.
2023-03-22 12:50:55 -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
BDisp
925433008d Resolving merge conflicts. 2023-03-21 22:19:34 +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
Tig
8458bccd39 Merge pull request #2436 from tznind/canvas-length-zero
Fixes #2433 - Change how LineCanvas interprets zero length
2023-03-20 16:22:42 -07:00
BDisp
3937feb976 Fixes #2434. Dialog bounds bigger than Cols and Rows must be allowed to drag beyond left, right and bottom. 2023-03-20 23:11:02 +00:00
BDisp
d3b9a07bbf Fixes #2430. Launching a Dialog from a Dialog causes errors in v2_develop. 2023-03-20 22:57:37 +00:00
Thomas
c9ab7b5bd8 Change LineCanvas interpretation of Length=0 2023-03-20 21:04:26 +00:00
tznind
9b62c10ce9 WIP: Add some complexity to LineCanvas when length is 0 2023-03-20 20:21:58 +00:00