Commit Graph

92 Commits

Author SHA1 Message Date
Tig
c2c5a37ca7 Fixed CM bugs. Added unit tests. Trying to figure out why TryGet is not working properly 2024-11-22 11:03:02 -07:00
Tig
304784cbe7 Code cleanup and refactor 2024-11-04 09:42:50 -07:00
Tig
563d58a380 Code cleanup and refactor 2024-11-03 11:13:24 -07:00
Tig
d835b569d8 Fixed more clipping bugs and unit tests. All tests pass! 2024-10-30 14:11:26 -06:00
Tig
e0551f4e4d NeedsDisplay -> NeedsDraw 2024-10-27 19:54:50 -07:00
Tig
87486b1969 Renamed Refresh. COde Cleanup 2024-10-27 15:25:27 -07:00
Tig
572901b5c0 Switched back to Application.Begin not calling Refresh 2024-10-22 12:29:12 -06:00
Tig
fe2497ef25 Back to all unit tests passing 2024-10-21 23:03:50 -06:00
Tig
9275163198 Fixing unit tests 2024-10-17 15:03:13 -06:00
Tig
8c7982f9c0 Tons of Layout refactoring. LayoutSubviews is now internal. 2024-10-17 10:39:56 -06:00
Tig
1363995326 Merged MouseEvent and MouseEventEventArgs into MouseEventArgs 2024-10-15 07:40:42 -06:00
Thomas Nind
cc0d9655e5 Fixes #3713 - TextField & TextView - When pressing right/left clear the selection instead of move tab (#3776)
* When pressing right clear the selection instead of move tab - TextField

* Add tests and start on TextView

* Finish tests for TextView

* Fix typos

* typo fix x2

* Fix for Selecting being renamed IsSelecting

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2024-10-11 09:48:15 -06:00
BDisp
a6234da334 Fix merge errors. 2024-10-09 12:40:47 +01:00
BDisp
614bb69ed9 Resolving merge conflicts. 2024-10-09 12:39:59 +01:00
Tig
fd9786717e Fixed more menubar/statusbar 2024-10-08 21:21:56 -04:00
Tig
5006e0036b Fixed TextView not handling space 2024-10-07 10:53:39 -04:00
Tig
78d0a8fc3b Accepted->Accepting 2024-10-07 08:58:17 -04:00
Tig
018dbc625e Accepted now takes CommandEventArgs 2024-10-07 08:51:35 -04:00
BDisp
22cf92da85 Fix newline unit test error on Linux. 2024-10-07 00:56:18 +01:00
BDisp
853f95f7f7 Move unit tests per @tig. 2024-10-07 00:42:54 +01:00
BDisp
e58c15f2e6 Add undo and redo support for cells attribute. 2024-10-07 00:20:40 +01:00
Tig
923e5d1cf3 Fixed ScreenPosition in tests 2024-10-06 08:39:05 -06:00
BDisp
6a0aa9a3b2 Add feature to copy, cut and paste with the cells attributes. 2024-10-06 01:18:58 +01:00
Tig
af110d92d0 In the middle of another refactoroing 2024-10-05 12:43:09 -06:00
BDisp
ccf2daa024 Change all RuneCell to Cell and move methods to the Cell record struct. 2024-10-05 18:01:29 +01:00
BDisp
29799f493c Move necessary methods to the RuneCell class per https://github.com/gui-cs/Terminal.Gui/issues/3774#issuecomment-2391190526. 2024-10-03 15:50:09 +01:00
Tig
a809356a9f Disabled unix key bindings for TextView. Unit test fix 3 2024-10-02 16:01:03 -06:00
Tig
fab5cc9831 Disabled unix key bindings for TextView. Unit test fix 2 2024-10-02 15:58:45 -06:00
Tig
8cec593067 Disabled unix key bindings for TextView. Unit test fix 2024-10-02 15:25:32 -06:00
Tig
a33ef5ad9a Fixed TextView 2024-10-02 13:17:50 -06:00
BDisp
6a6c210d9b Fixes #3771. TextView doesn't consider no-printable rune in draw and cursor position. 2024-10-01 21:09:17 +01:00
Tig
bff7794495 Rebased onto v2_2491-Overlapped 2024-09-24 09:50:52 -06:00
Tig
aed37f9b54 Fixed a bunch of unit test issues. Fixed color stuff I broke 2024-09-23 12:55:14 -06:00
Tig
b717892235 Removed OverlappedTop.
Updated unit tess.
Fixed bad code paths.
2024-09-17 17:20:19 -06:00
Tig
ba161b3eae Cleaned up Command enum. 2024-09-11 08:41:58 -06:00
Tig
bdc60c9490 Got all unit tests passing. Some AdvanceFocus stuff still not right. 2024-08-24 07:27:10 -07:00
Tig
7a2d43c293 Fixed Views unit tests 2024-08-18 17:45:30 -06:00
Tig
79e50b4d8f Nuked AlternateFwd/BkKeys.
Added Next/PrevTabGroupKey.
Fixed tests.
2024-08-02 13:41:53 -06:00
Tig
a935ef83df Merge remote-tracking branch 'refs/remotes/origin/v2_2491-Toplevel-Redesign' into v2_2491-Toplevel-Redesign 2024-07-25 14:50:19 -06:00
Tig
44ce74a5c0 Refactored Application into smaller files.
Made Application #nullable enable
2024-07-22 16:52:02 -06:00
Tig
a3b606fe6e New unit tests. Lots of fixes 2024-07-15 16:36:05 -06:00
Tig
15fa1abab1 TextView now works properly 2024-06-27 12:51:24 -07:00
Tig
7a712ad96a Accept now uses HandledEventARgs vs. Cancel 2024-06-27 12:40:26 -07:00
Tig
695b8cf293 Fixed SetupText issue 2024-06-08 08:35:45 -06:00
Tig
db0f066e89 Fixed TextViewTests 2024-05-30 09:51:00 -06:00
BDisp
698b28ea3c Fixes word wrap. 2024-05-29 18:58:02 +01:00
BDisp
68ba0db9c4 Removes unnecessary RightOffset and BottomOffset properties. 2024-05-29 16:57:44 +01:00
Tig
d21489cbf8 TextView modernization 2024-05-15 09:11:35 -07:00
Tig
d391cc7ad2 MouseEvent: int X, int Y -> Point Position 2024-05-09 08:50:50 -06:00
Tig
a1249198bd PositionCursor unit tests and flashing cursor fixes 2024-05-07 10:07:14 -06:00