Commit Graph

5329 Commits

Author SHA1 Message Date
Tig
cea6e54b19 Ready for review.
- All unit tests pass
- Basic usage verified.
2024-04-28 08:48:46 -07:00
Tig
214ffb1633 TextFormater.AutoSize fixes 2024-04-27 13:48:23 -07:00
Tig
3e87d5e786 TextFormatter Unit tests pass again 2024-04-27 08:09:48 -07:00
Tig
71c0d379f8 Merged and attempted to apply @bdisp's fixes 2024-04-27 07:17:29 -07:00
Tig
acc924b7b5 Unit test update 2024-04-26 22:10:23 -06:00
Tig
09565a0ef1 Tons of changes - mostly experiments, but some goodness.
There's a huge issue that TextFormatter is confused about AutoSize.
a) It behaves 'automatically' even when AutoSize == false (e.g. in Text_set).
b) It doesn't support auto sizing only one dimension.
2024-04-25 13:29:18 -06:00
Tig
6209aceb5f Reorganized PosDim unit tests. 2024-04-23 10:17:59 -06:00
Tig
b6b29fec1a Checked out Justifier from v2_1785-PosJustify 2024-04-21 18:00:14 -06:00
Tig
2fdbce4a76 Fixed all unit tests. Doesn't mean things aren't broken tho. 2024-04-21 12:35:32 -06:00
Tig
f134d1a113 Started to add more primitve unit tests for vertical text 2024-04-21 11:22:27 -06:00
Tig
c65596b2d0 Sorta fixed vertical. Broke wide runes 2024-04-21 11:05:27 -06:00
Tig
91e3e75dc0 Sorta fixed vertical. Broke wide runes 2024-04-21 09:18:57 -06:00
Tig
382419ad95 Removed notion of View.Autosize from Pos and Dim classes 2024-04-18 18:26:52 -06:00
Tig
0aef9d14db Removed notion of View.Autosize from Pos and Dim classes 2024-04-18 18:24:45 -06:00
Tig
a4d3bc7e58 Fixed more tests 2024-04-18 18:18:30 -06:00
Tig
7b5df8386e Fixed all TextFormatterTests 2024-04-18 17:54:54 -06:00
Tig
69cb2719b5 Fixed TextFormatterTests 2024-04-18 17:52:21 -06:00
Tig
83bc6aa632 Added more TextFormatter tests 2024-04-18 16:15:59 -06:00
Tig
785215d957 Added TextFormatter unit tests that show Right has bug 2024-04-18 16:07:50 -06:00
Tig
6c117e0f0a More unit tests 2024-04-18 15:51:19 -06:00
Tig
20402dd74e diagnosing broken vertical text 2024-04-18 14:35:00 -06:00
Tig
00ac1bbf7a Renamed API to simplify and make more clear. Fixed Text formatting vertical/right aligned text. Fixed crash in scenario 2024-04-18 14:16:55 -06:00
Tig
f3b5ed7afc Fixing tests... 2024-04-18 13:14:22 -06:00
Tig
a48146af82 Tons of unit test updates 2024-04-18 09:59:07 -06:00
Tig
a89aa040ca More progress in removing AutoSize 2024-04-17 20:50:56 -06:00
Tig
c011ea0af0 Partial progress in removing AutoSize 2024-04-17 20:24:23 -06:00
Tig
6f3799dd87 Added TODOs 2024-04-17 15:58:04 -06:00
Tig
aa8bcde605 Added TODOs 2024-04-17 15:56:02 -06:00
Tig
3a8d1d546f Tweak 2024-04-17 15:42:10 -06:00
Tig
ef4c52c6bc Merged.
Fixed merge issues. Added more tests.
2024-04-17 15:17:37 -06:00
Tig
c1cac7290c Merge pull request #3410 from tig/v2_481-AnchorEnd
Fixes #481. Adds `Pos.AnchorEnd ()` (no param) to automatically account for the view's dimension.
2024-04-17 13:07:42 -06:00
Tig
6bb40abd7d API doc improvements 2024-04-17 13:07:20 -06:00
Tig
e3a0d8cbc5 API doc improvements 2024-04-17 13:01:06 -06:00
Tig
b2da2d6848 API doc improvements 2024-04-17 08:37:11 -06:00
Tig
e59106cfca API doc improvements 2024-04-17 08:12:32 -06:00
Tig
652f7aa1b9 Renamed API to simplify and make more clear 2024-04-17 08:05:21 -06:00
Tig
3111a2cd2f More PosDim.cs code cleanup 2024-04-16 17:52:57 -06:00
Tig
64b7149ff8 PosDim.cs code cleanup 2024-04-16 17:42:48 -06:00
Tig
e8467f25c4 Rewrote SetRelativeLayout to move logic in to the Pos & Dim classes. Massively beefed up unit tests. 2024-04-16 17:15:50 -06:00
Tig
34b3bf8d14 Merge pull request #3412 from tig/v2_3411-ClearContentOnly
Fixes #3411. `Content Scrolling` Scenario
2024-04-16 15:02:40 -06:00
Tig
21606c8658 Changed colorscheme 2024-04-16 15:01:00 -06:00
Tig
264ba87e73 AnchorEnd() works! Cleaned up usages and modernized Sceanrios 2024-04-16 14:00:38 -06:00
Tig
d8bbbb8152 Code cleanup 2024-04-16 11:50:49 -06:00
Tig
162aa081ad Implemented AnchorEnd(); added .UseDimForOffset property 2024-04-16 11:47:51 -06:00
Tig
671a18f1b5 Added tests to test new fn; which isn't implemented yet, so they fail. 2024-04-16 11:22:53 -06:00
Tig
05d3399f35 Added primitive AnchorEnd tests 2024-04-16 11:19:10 -06:00
Tig
719f39c8b3 Removed dupe tests 2024-04-16 10:33:18 -06:00
Tig
537f909e9f Factored AnchorEnd unit tests out to separate file. 2024-04-16 09:59:00 -06:00
Tig
d3dfb16597 Initial commit. Made all calls to AnchorEnd() be AnchorEnd(0) in prep 2024-04-16 09:51:22 -06:00
Tig
56922b4357 Merge pull request #3323 from tig/v2_3269_Bounds-ContentArea
Fixes #3169. `Bounds` -> `Viewport`: Content Scrolling in `View`
2024-04-16 06:37:37 -06:00