Commit Graph

23 Commits

Author SHA1 Message Date
Charlie Kindel
3c67185db9 Removed duplicate code - based otehr InitShutdown attributes on base 2022-11-11 11:32:33 -07:00
Charlie Kindel
1efb051379 Refactored AutoInitShutdown attribute - scary stuff 2022-11-11 10:06:21 -07:00
Tig Kindel
c1d976c781 refactored AssertDriverContents out of GraphView tests 2022-10-29 19:53:08 -06:00
BDisp
10fb8cda63 Replacing to MouseGrabView. 2022-09-24 23:45:13 +01:00
BDisp
281a849c08 Fixes #2026. Added ClearOnVisibleFalse to flag if the view must be cleared or not. (#2020)
* Fixes #1984. Added ClearOnVisibleFalse to flag if the view must be cleared or not.

* Fixes #2022. ScrollBarView doesn't show the down arrow on vertical if there isn't horizontal.
2022-09-16 09:16:44 -07:00
BDisp
a23c1bee19 Fixes #1925. Preserve trailing spaces on word wrap must be refactored… (#1929)
* Fixes #1925. Preserve trailing spaces on word wrap must be refactored on TextFormatter.

* Fixes a bug on Format when the preserveTrailingSpaces is enabled.

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-08-04 10:15:21 -07:00
BDisp
091eb5a956 Changes unit tests to support xunit 2.4.2 upgrade. (#1936) 2022-08-03 16:58:58 -07:00
BDisp
74b91a3979 Textview readonly wrap fix (#1898)
* Fixes LoadFile when word wrap is enabled.

* Fixes an extra space in end of line and error on deleting backwards.

* Removing unit tests with loading files.

* Fixes left column being bigger than zero if word wrap is true.

* Fixes #1820. TextView: Word Wrapping is not correct

* Made fix more surgical via ReadOnly

* Fixes TextView read only wrap issue.

* Rename method.

* Fixes word wrap with toggling read only .

Co-authored-by: Charlie Kindel <charlie@kindel.com>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-07-27 21:45:39 -07:00
BDisp
9d1a919ca5 Fixes #1793. ScrollBarView is hiding if the host fit the available space. (#1795) 2022-06-13 10:28:45 -07:00
BDisp
b200763a3f Fixes #1387. Allowing the UnitTests project to test internal keywords. 2021-07-23 23:02:22 +01:00
BDisp
d092fc694d Small change to re-run the test in Github. 2021-07-21 12:23:03 +01:00
BDisp
c4232e9a3a More unit test for issue #1344, testing IsVertical as False. 2021-06-27 19:12:29 +01:00
BDisp
a9d8ff19d8 Fixes #1344. Setting showBothScrollIndicator to false on the constructor don't throws NullReferenceException anymore. 2021-06-19 00:26:57 +01:00
Charlie Kindel
8d8025329e Added Attributes tests; balanced Application.Init/Shutdown 2021-05-17 18:22:46 -07:00
Charlie Kindel
b29240f362 Code coverage (#1235)
* tweaked version # for v1.0.0-beta.10

* tweaked version # for v1.0.0-beta.11

* Updated readme and revision history for 1.0

* excluding test results

* Added support for viewing code coverage results with Fine Code Coverage

* add generating CC to CI/CD

* refactored unit test namespaces

* more refactoring. commented out failing test.

* Removed UnitTests and UICatalog from code coverage reporting

* made Application and test more deterministic

* disabled Multi_Thread_Toplevels because it is currently broken and don't understand why

* updated threading test per @bdisp

* testing cc badge stuff

* another test

* using coverlet.settings

* trying copy

* trying cp. duh.

* trying mv.

* wrong path

* print

* chaging badge output for testing

* yaml error

* fixed code coverage

* moved dimtests to core
2021-04-25 10:18:31 -07:00
BDisp
f9f68048a2 The host only need to pass the real sizes and the ScrollBarView automatically consider the extra line and column. 2021-01-22 02:21:56 +00:00
BDisp
e7f66f8350 Simplifies the code more and makes it more understandable on the ScrollBarView. 2021-01-19 10:54:40 +00:00
BDisp
58c2509772 Offers more simplicity to iterate with the ScrollBarView and its hosts. 2021-01-17 00:29:01 +00:00
BDisp
bedeca61e6 Fixing some bugs. 2021-01-15 23:04:49 +00:00
BDisp
0466a6ebc3 Avoiding throwing exception on the "All Views Tester" scenario. 2021-01-15 17:09:31 +00:00
BDisp
146d23422b Ensures that the ScrollBarView don't have two vertical or horizontal ScrollBarView. 2021-01-15 11:38:32 +00:00
BDisp
351cb8133f Fixed backward bug and added one more unit test to probe. 2021-01-14 01:35:20 +00:00
BDisp
5b86c460e8 Added ScrollBarViewTests.cs file with unit tests for ScrollBarView. 2021-01-14 00:57:10 +00:00