Commit Graph

82 Commits

Author SHA1 Message Date
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
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
tznind
3d9aac8e4c Add AutocompleteContext 2023-03-30 08:17:44 +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
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
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
BDisp
5847abeef9 Fixes #2429. Error when replacing a word in textView. 2023-03-22 13:45:02 +00:00
Thomas Nind
057cea44d2 Merge branch 'v2_develop' into events 2023-03-20 17:07:24 +00:00
Tig Kindel
ab2bda109b improved API docs, removed duplicate code, refactored to make more readable 2023-03-18 09:57:16 -06:00
BDisp
846494ea7c Resolving merge conflicts. 2023-03-17 11:24:53 +00:00
Tig
c94f9165f4 Makes UI Catalog Scenarios use Theme and top-level color scheme (#2401)
* lots of clean up

* scenarios now get themes from uicatalog
2023-03-16 07:50:09 -06:00
tznind
2ed71e284c Move all nested eventargs out of parent classes to root 2023-03-15 19:35:21 +00:00
tznind
53597b7cec Add TextChangedEventArgs (correctly this time) 2023-03-12 19:20:14 +00:00
tznind
4b5fbfb89c Revert "Added TextChangedEventArgs"
This reverts commit fe2710ad2d.
2023-03-12 09:24:18 +00:00
tznind
7a52f45a10 Add PointEventArgs 2023-03-12 09:18:06 +00:00
tznind
fe2710ad2d Added TextChangedEventArgs 2023-03-12 09:08:58 +00:00
tznind
e347a255b7 Add HexViewEditEventArgs 2023-03-12 02:54:46 +00:00
tznind
6f5ef32fb7 Switch event Action to event EventHandler 2023-03-12 02:47:18 +00:00
tznind
796e15a64d Added DrawEventArgs 2023-03-12 02:39:32 +00:00
tznind
09683a2cd5 Refactor more event Action to event EventHandler 2023-03-12 02:31:22 +00:00
tznind
3bec36ac47 Change Action to EventHandler for more events 2023-03-12 02:10:22 +00:00
tznind
fcc75e7147 Update View Action events to EventHandler events 2023-03-11 19:46:46 +00:00
tznind
17a33f3b11 Refactor Action<bool?> Toggled to EventHandler<ToggleEventArgs> 2023-03-11 19:26:00 +00:00
tznind
1491e01d6a Fix xmldoc 2023-03-11 11:11:41 +00:00
tznind
58c267fd7c Switch to EventHandler for TopLevel methods
- Loaded,
- Ready
- Unloaded
- AllChildClosed
2023-03-11 10:08:36 +00:00
tznind
a949b790ec Refactor HotKeyChanged event 2023-03-11 09:57:54 +00:00
BDisp
8ab01b0847 Renaming DimView to View. 2023-03-03 19:14:52 +00:00
BDisp
c99b35578d Revert "Fixes unit tests to support Pos/Dim changes."
This reverts commit ad426ff261.
2023-03-03 18:35:10 +00:00
BDisp
487e03a0a1 Resolving merge conflicts. 2023-03-02 18:11:58 +00:00
Thomas Nind
0bd32c282e Fixes #505. Finishes merge of TileView (previously SplitContainer) (#2258)
* Add tests for proper disposing

* Make Ctrl+F10 toggle split line focusability

* Fix layout bug in first tile when orientation is horizontal

* Switch to GenerateImage

* Fix not calling base constructor

* Revert "Merges latest LineCanvas into TileView"

* Fix keyboard tab navigation problems

* Workaround for changing CanFocus throwing Exceptions sometimes

* Fix bad merges

* Fix bad merging

* Fix disposing in TileViewNesting scenario

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-03-02 09:39:00 -07:00
Thomas Nind
705d4307e3 Fixes #1842 - Add support for toggling selected cells e.g. with space (#2386)
* Add support for toggling selected cells e.g. with space

* Make toggle cell selection work better with FullRowSelect

* Test for toggle cell selection

* Test and fix for full row select toggling

* Make toggle work with shift selected blocks

* Make extend selection ignore toggled regions when considering pushing a new head to selection stack
2023-03-02 09:35:54 -07:00
BDisp
ecd82465f7 ToString must return the Pos/Dim class names. 2023-02-28 21:23:44 +00:00
BDisp
ebae3a8560 Fixes Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)" committed twice on 6bb90edcbf and 28d7be721c 2023-02-28 21:18:09 +00:00
Tig Kindel
5c659110bf Merge branch 'v1_setrelativelayout_improvement' into v2 2023-02-24 17:11:54 -07:00
Tig Kindel
fafb68be06 Merge branch 'develop' into v2 2023-02-24 15:54:07 -08:00
Tig Kindel
eb3af67027 fixing bugs caused by Pos.Combine bugfix 2023-02-25 07:15:41 +13:00
Tig Kindel
d04bf94c74 merged from develop after accident 2023-02-25 05:42:43 +13:00
Tig Kindel
b5de3e6916 Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop 2023-02-21 14:25:10 +13:00