Commit Graph

852 Commits

Author SHA1 Message Date
Tigger Kindel
5ae715010f Hacked unit test to not fail until #2474 can be fixed 2023-03-31 07:11:34 -06:00
Tigger Kindel
1890677493 Added AbsoluteLayout unit tests 2023-03-29 20:50:33 -06: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
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
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
Thomas Nind
057cea44d2 Merge branch 'v2_develop' into events 2023-03-20 17:07:24 +00:00
Tig Kindel
42832cafa2 Fixes bug in MessageBox scenario that is latent in v1 2023-03-19 16:44:36 -07:00
Tig Kindel
8bd9ac7bce More cleanup 2023-03-18 09:57:16 -06:00
Tig Kindel
ab2bda109b improved API docs, removed duplicate code, refactored to make more readable 2023-03-18 09:57:16 -06:00
Thomas Nind
1be2fddb07 Merge branch 'v2_develop' into events 2023-03-17 19:26:46 +00:00
BDisp
e486664ccc Fix the border not respecting the user settings. 2023-03-17 13:13:22 -06:00
BDisp
e69aa25ddd Fixes #2403. Dialog not draw text well if is opened on a smaller width. 2023-03-17 13:13:22 -06:00
BDisp
0448e53926 Fix changed event and reformat in UnitTests. 2023-03-17 17:12:46 +00:00
BDisp
2d9c4dc65b Fix ScenarioTests unit test. 2023-03-17 11:32:38 +00:00
BDisp
846494ea7c Resolving merge conflicts. 2023-03-17 11:24:53 +00:00
Tig
cb259cc783 Merge branch 'v2_develop' into v2_single-smaller-top-fix_2416 2023-03-16 07:50:47 -06: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
BDisp
8715af2a42 Fix unit test error not disposing static variables. 2023-03-15 21:30:24 +00:00
BDisp
ae6c95836a Adding a unit test to ensure this doesn't happens again. 2023-03-15 20:10:42 +00:00
tznind
fe2ed669c5 Merge branch 'events' of https://github.com/tznind/gui.cs into events 2023-03-15 19:35:29 +00:00
tznind
2ed71e284c Move all nested eventargs out of parent classes to root 2023-03-15 19:35:21 +00:00
BDisp
82bf8f0546 Fixes https://github.com/gui-cs/Terminal.Gui/issues/2413. GrabMouse ungrab other view that was grabbed and still need it. 2023-03-13 21:41:33 +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
6a33f142e0 Added MenuOpenedEventArgs class 2023-03-12 03:06:12 +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
997bfe63a9 Added MouseFlagsChangedEventArgs 2023-03-12 02:44:39 +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
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