Commit Graph

11 Commits

Author SHA1 Message Date
BDisp
e784765094 Fixes #1179. TextView does not copy to the clipboard on deleting. (#1180)
* Fixes #1133. Flaw in LayoutSubviews/TopologicalSort.

* Toplevel can't be used on Pos/Dim but only his subviews. Was not caught before because the LayoutSubviews  method never gone so deep before.

* Fixed the error that is triggered when the Pos/Dim is the current Application.Top.

* Application.Top is the only exception in the TopologicalSort method check.

* Fixes #1179. TextView does not copy to the clipboard on deleting.

* Added Button DoubleClick and fixed WordForward/WordBackward issues.

* Prevents a negative height.

* Fixes the enter key line feed.

* Fixes #1187. Prevents WordBackward throwing an exception if point is greater than the text length.

* Fixes #1189. Prevents negative index.

* Fixes #1193. A  non auto size default Button now preserves his width and thus the text alignment now work.

* Fixing the Width and Height checks of the Dim class with AutoSize dependence.

* Fixes #1197. Prevents width negative value if added directly to the Application.Top

* Fixes #1199. Normalize views constructors and did some typo fixing.

* Fixing the Application.Top Pos/Dim settings.

* Always uses inverted color for selected text to avoid same colors.

* Prevents throw an exception if the clipboard content is null.

* Added Find and Replace (next/previous). Replace All and Select All. A non modal dialog box.

* Keeps tracking the selected replaced text.

* Fixes #1202. CheckBox now deals with a functional '_' underscore hotkey.

* The selected text should be maintained when losing focus.

* Fixes an extra line on page down.

* Fixes the WordBackward if it text has more than one whitespaces or when has only one digit or letter.

* Fixes WordForward/WordBackward on text with more than one whitespace or with only one digit or letter.

* Forgot to replace the hacking.

* Added unit tests for the TextField view. Fixed some more bugs.

* Redraw should only show the selected text if it is focused.

* Fixes cursor position on double click and ensures the setting of the selected text.

* Added match whole word checking.

* Added missing parameters documentation.

* Ensures the SelectedLength property to be always with positive value.

* Fixes the WordBackward when at the end of the text has a character between two whitespace.

* Added unit tests to the TextView, Used property and fixed some more bugs.

* Fixed Used to only show if it has focus.

* Fixed ReplaceAll and prevents Debug.Assert from showing.
2021-04-13 13:37:13 -07:00
BDisp
bcc31e0da0 Trying fixing #518. Almost functions work on both Windows and Unix with the NetDriver. 2020-11-17 21:57:45 +00:00
BDisp
aa1e20b8fb Added "en-US" culture info for unit test purpose. 2020-10-22 15:28:52 +01:00
BDisp
4fb0c93861 Fixes #968. Button Dim handler and a Dim unit test. Added a ToString to DimCombine. 2020-10-22 01:20:50 +01:00
BDisp
9b66ad5cfd Added more unit tests to Pos and Dim. 2020-08-07 16:17:20 +01:00
BDisp
8c5822f9e2 Also testing with a Pos and Dim null values. 2020-08-04 17:50:23 +01:00
BDisp
5efa8d5388 Fixes #731. Pos and Dim validation. 2020-07-19 01:07:26 +01:00
BDisp
ec73e0f2b6 Fixes #623 Dim.Percent with an extra behavior. (#696) 2020-06-15 22:01:53 -04:00
Charlie Kindel
d5dd29dbda fixed #504 and updated tests 2020-06-09 14:51:02 -06:00
Charlie Kindel
24e0c0f1bf fixed culture issue 2020-06-08 18:23:53 -06:00
Charlie Kindel
f8d235a426 enabled posdim tests 2020-06-08 18:02:18 -06:00