Commit Graph

20 Commits

Author SHA1 Message Date
BDisp
d99bc42f39 Preventing more Update execution before Initialize. 2022-05-18 13:47:04 +01:00
BDisp
c561016423 Prevents updating button before initialization. 2022-05-17 22:23:04 +01:00
BDisp
933a1bda91 Added text direction support for word-wrap and fix draw issues. 2022-04-30 01:07:04 +01:00
Thomas Nind
d60aed79e4 Autocomplete for TextView (#1406)
* Added basic autocomplete style dropdown (not working properly yet)

* Autocomplete basically working but rough around the edges

* Changed to Lists and added CloseKey

* Fixed test, made autocomplete equal length

* Added scrolling through autocomplete list

* Made Accept autocomplete do delete and replace instead of append to support caps changes

* Changed Autocomplete ColorScheme to cyan

* Fixed autocomplete render location when TextView is scrolled

* Fixed scrolling and overspill rendering

* Added wordwrap option to SyntaxHighlighting Scenario

* Moved Autocomplete to be member property of TextView

* Made Suggestions a readonly collection and enabled Autocomplete in Editor Scenario

* Added ClipOrPad tests

* Fixed bad merge

* Delayed init of ColorScheme on Autocomplete until needed

* Changed ColorScheme to match Menu bar
2021-08-24 08:19:43 -07:00
BDisp
b200763a3f Fixes #1387. Allowing the UnitTests project to test internal keywords. 2021-07-23 23:02:22 +01:00
Charlie Kindel
8d8025329e Added Attributes tests; balanced Application.Init/Shutdown 2021-05-17 18:22:46 -07:00
BDisp
c27da1b982 Fixes #1210. Added AllowsReturn, AllowsTab and Multiline into the TextView. (#1249)
* Fixes #1234. Setting Handled to true in the KeyPress event avoids ProcessKey from running.

* Using literals values in Assert.Equal.

* Can't use numbers variables on the left side of an Assert.Equal/NotEqual, it must be literal (Linux only).

* Fixes #1241. Added SendKeys feature to the ConsoleDriver.

* Fixes SendKeys unit test.

* Changed Key.Null to '\0' (null string).

* Fixes the space bar when there are another previous char.

* Now the drivers are reading up to 255 from ASCII table.

* Fixes CursesDriver and WindowsDriver SendKeys.

* Fixes NetDriver SendKeys.

* Fixed unit test.

* Fixes #1210.  Added AllowsReturn, AllowsTab and Multiline into the TextView.

* Added a Single Line and Multiline toggle to the Text.cs scenario.

* Removing comment.
2021-04-27 08:48:35 -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
4948d072b0 Fixes #1231. Ignoring negative bounds. (#1232)
* Fixes #1231. Ignoring negative bounds.

* Added vertical width instead VerticalTextAlignment.

* Removing width.
2021-04-20 14:17:53 -07:00
BDisp
482f9db7da Fixes #1148. TextFormatter.Format does not keep the end spaces on wrapped text. (#1149)
* Fixes #1148. TextFormatter.Format does not keep the end spaces on wrapped text.

* Added comments.

* Changing keepEndSapces to preserveTrailingSpaces.
2021-03-23 10:53:02 -07:00
BDisp
0fb29368cd Non printable character now returns -1 on Rune.ColumnWidth and ConsoleWidth. 2020-10-31 00:09:02 +00:00
BDisp
9615769e63 Changed to \u notation. 2020-10-27 17:26:24 +00:00
BDisp
b1d0de9571 #41 and #949. Unit test to compare the difference between System.Rune and System.Text.Rune. 2020-10-27 17:26:12 +00:00
BDisp
805fdeb344 Fixing TextFormatter unit test. 2020-08-01 00:27:32 +01:00
Charlie Kindel
9d088f87ec fixed a wide-unicode bug 2020-07-13 22:03:17 -07:00
Charlie Kindel
c3395f41ab fixed word wrapping to not strip spaces; ended up fixing other ww bugs too! 2020-07-13 17:48:41 -07:00
Charlie Kindel
a0522be496 tweaks 2020-06-30 07:22:20 -07:00
Charlie Kindel
120991ec5b ready for pr 2020-06-18 01:29:25 -07:00
Charlie Kindel
8272d8aff3 feature complete 2020-06-17 15:43:26 -07:00
Charlie Kindel
49bfe6a6c2 progress...rabbit hole 2020-06-17 08:50:38 -07:00