Commit Graph

18 Commits

Author SHA1 Message Date
BDisp
9cfa78a033 Fixes #2354. View.Redraw doesn't clear itself and PositionCursor doesn't ensure focus when a prior view was disabled. (#2355)
* Fixes #2354. View should have a IgnoreHasFocusPropertyOnRedraw property to prevent unnecessary derived class.

* Removed IgnoreHasFocusPropertyOnRedraw property.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
2023-02-21 14:23:40 +13:00
BDisp
47eb43fd6e Fixes 2368. Nested views with height of 1 not rendering correctly. (#2370) 2023-02-21 13:55:07 +13:00
BDisp
c85ff954aa Illustrates #2331 (Scrollview not respecting clip) does not reproduce (#2332)
* Proves that the issue #2331 don't have reason to happen.

* fixes #2336

* Fixes #2331. ScrollView may not be honoring clip region; CustomButton shows outside

* More appropriate solution for the issue #2331.

* Start refactoring LineCanvas for mixing line style support (e.g. double into single)

* Add remaining resolvers

* Implement corner border style mixing in LineCanvas

* Refactor and simplify resolvers

* Move tests to Core folder and namespace to Terminal.Gui.CoreTests

* Fixes #2333. TextField is selecting badly a word on double click.

* Add unit test deleting a word with accented char.

* Fixes 2331. ScrollView may not be honoring clip region.

* Add a custom button scenario.

* Fixes #2350. Clipping broke (see Clipping scenario).

* Is preferable use NeedDisplay instead of Bounds.

---------

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
Co-authored-by: tznind <tznind@dundee.ac.uk>
2023-02-21 00:53:38 +13:00
BDisp
29b92a3610 Add unit test deleting a word with accented char. 2023-02-09 14:12:51 +00:00
BDisp
03b20371f6 Fixes #2333. TextField is selecting badly a word on double click. 2023-02-08 19:17:15 +00:00
BDisp
5da7665e92 Fixes #2328. TextView Autocomplete triggered by cursor move. 2023-02-08 00:12:52 +00:00
Tig
ff2869c9bf Merge branch 'develop' into fixes_2296_attribute_make 2023-02-07 16:34:44 +09:00
Tig
57eab6767d Merge branch 'develop' into normalize-drivers-fix_2317 2023-02-06 07:11:27 +09:00
Tig
c18d153b76 Merge branch 'develop' into fixes_2296_attribute_make 2023-02-06 07:08:44 +09:00
BDisp
788eed4a4d Fixes #2317. Drivers do not normalize accented letters. 2023-02-05 00:25:14 +00:00
BDisp
b7791992cc Added unit test for move down/right. 2023-01-30 13:13:11 +00:00
BDisp
cd5655fc95 Fixes #2308. Redraw passed bounds bigger than its client area. 2023-01-29 22:24:01 +00:00
tznind
ab398b93cb Make OnTabClicked fire for clicks in empty space and fix Notepad to only show context menu on right click. 2023-01-21 08:31:17 +00:00
Charlie Kindel
7f563244eb Made Attribute Make more robust 2023-01-20 15:50:11 -07:00
Thomas
8b8bb2ab60 Test for TabClicked event 2023-01-20 20:05:53 +00:00
Tig Kindel
9232a2bd59 Merge branch 'develop' into unittest_reorg 2023-01-15 19:00:22 -07:00
Tig Kindel
fa048da358 Merge branch 'develop' into unittest_reorg 2023-01-15 18:34:14 -07:00
Tig Kindel
7454dac942 Reorg of unit tests 2023-01-15 18:33:38 -07:00