tznind
3bec36ac47
Change Action to EventHandler for more events
2023-03-12 02:10:22 +00:00
tznind
43f67a6387
Convert more Actions to EventHandlers in View
2023-03-11 19:55:08 +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
02825d89ba
Added SuperViewChangedEventArgs for Added/Removed to clarify situation
2023-03-11 12:01:04 +00:00
tznind
1491e01d6a
Fix xmldoc
2023-03-11 11:11:41 +00:00
tznind
9c4f3eda16
Update Added/Removed and other events to use `EventHandler
2023-03-11 11:05:20 +00:00
tznind
7764006932
Add ViewEventArgs
2023-03-11 10:49:47 +00:00
tznind
5187310b9a
Refactor 'AlternateKey' events in Toplevel to use new signature
2023-03-11 10:35:03 +00:00
tznind
bdcbd55856
Switch to EventHandler<ToplevelEventArgs> for
...
- Activate
- Deactivate
- ChildClosed
- Closed
- ChildLoaded
- ChildUnloaded
2023-03-11 10:18:39 +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
tznind
83ed8ec958
AddTimeout now uses sender/event args
2023-03-11 09:14:33 +00:00
BDisp
2eb05113af
Fix negative bounds on draw text and thus fixes scrolling.
2023-03-05 18:34:58 +00:00
Tigger Kindel
4d7e23c77e
Fixed merge conflicts - readded DimTests.cs
2023-03-05 07:53:49 -07:00
Tigger Kindel
112f04c871
Fixed merge conflicts
2023-03-05 07:45:57 -07:00
BDisp
ffc06ea59f
Remove duplicates packages and updating.
2023-03-04 02:19:40 +00:00
BDisp
c7b5417f79
Fixes unit tests.
2023-03-04 02:02:02 +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
29af067e01
Fixes merge errors.
2023-03-03 18:28:38 +00:00
Tigger Kindel
2cf7757691
Trying to fix init issue in ConfigManager that was causing intermittent unit test fails
2023-03-03 11:09:50 -07:00
BDisp
de5b2f5594
Resolving merge conflicts.
2023-03-03 17:55:22 +00:00
Tigger Kindel
22c4fdad24
merged again - fixed unit tests - probably deleted some of your changes
2023-03-03 10:40:47 -07:00
Tigger Kindel
c07dfd17a1
merged again
2023-03-03 10:30:52 -07:00
Tigger Kindel
4424974185
merged
2023-03-03 10:22:50 -07:00
Tigger Kindel
6f16af878b
Fixed unit tests: DimFactor changes broke - DOUBLE CHECK
2023-03-03 09:48:31 -07:00
Tigger Kindel
3ed927f867
Fixed unit tests: Clipboard flakyness
2023-03-03 09:23:07 -07:00
Tigger Kindel
ec57f590b0
Fixed unit tests: Clipboard flakyness
2023-03-03 09:22:17 -07:00
Tigger Kindel
64e19ae562
Fixed unit tests: marginframe background
2023-03-03 09:06:25 -07:00
Tigger Kindel
084c49da37
Fixed unit tests HeightAsBuffer->EnableConsoleScrolling
2023-03-03 09:00:34 -07:00
Tigger Kindel
35fc1411e7
Merge branch 'v2' of tig:gui-cs/Terminal.Gui into v2
2023-03-03 08:03:40 -07: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
5840ad25e8
Added IsLoaded property to allow control if a change was done before or after the toplevel was loaded.
2023-03-02 03:24:21 +00:00
BDisp
a7c13b5d48
Fixes merge conflicts errors.
2023-03-01 23:10:05 +00:00
BDisp
eac93a7973
Resolving merge conflicts.
2023-03-01 22:31:51 +00:00
BDisp
ff1773dab3
Sets borders position later.
2023-03-01 01:05:01 +00:00
BDisp
379d7a8492
Fixes 2342. Border: can't change border color in window by Border.BorderBrush. ( #2345 )
...
* Fixes 2342. Border: can't change border color in window by Border.BorderBrush.
* Fixes border initialization.
---------
Co-authored-by: Tig <tig@users.noreply.github.com >
2023-02-28 22:41:09 +00:00
BDisp
82bafda5fe
Added some more PosCenter unit tests.
2023-02-28 21:25:45 +00: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
BDisp
ab0ad0adc6
Added some more PosCenter unit tests.
2023-02-27 19:14:40 +00:00
BDisp
ad426ff261
Fixes unit tests to support Pos/Dim changes.
2023-02-27 15:12:00 +00:00
BDisp
534d4ea390
Fixes Revert "Illustrates #2331 (Scrollview not respecting clip) does not reproduce ( #2332 )" committed twice on 6bb90edcbf and 28d7be721c
2023-02-27 13:37:01 +00:00
BDisp
932aca89eb
Merge #2382 into #2379 .
2023-02-27 12:09:10 +00:00
BDisp
c6183c7658
Added one more condition to be consistent with others.
2023-02-27 12:09:10 +00:00
BDisp
288d81b781
Allows a subview reference the superview of the subview superview.
2023-02-27 12:09:09 +00:00
Tig Kindel
012100680e
Pos.Combine unit tests
2023-02-27 12:09:07 +00:00