Commit Graph

2094 Commits

Author SHA1 Message Date
BDisp
cf60d77dd5 Fixes #1173. TextField only need to handle a single line. (#1174)
* Fixes #1173. TextField only need to handle a single line.

* Also prevents new line on the Text set and on the constructor.
2021-04-03 09:51:57 -07:00
BDisp
394ace2623 Fixes #1171. Delete and Backspace now deletes the selected text. (#1172)
* Fixes #1171. Delete and Backspace now deletes the selected text.

* Replacing with StopSelecting method.
2021-04-03 09:51:27 -07:00
BDisp
11524630d3 Fixes #1167. Application.Run method with #DEBUG can be simplified. (#1168) 2021-04-02 11:54:22 -07:00
BDisp
ad74a1429e Fixes #1165. Changing the directory name label or the field name at runtime, is not updating his sizes on FileDialog. (#1166) 2021-04-02 11:53:45 -07:00
BDisp
1a9720f471 Fixes #1159. Dialog must have a default button if none is provided. (#1160)
* Fixes #1159. Dialog must have a default button if none is provided.

* Reverting this because someone may don't want buttons at all. Thanks @tig

* Allow to specify which default button for MessageBox.

* Added a check if default button is greater than the buttons length and changing the MessageBox scenario.
2021-04-01 12:38:18 -07:00
Charlie Kindel
4abc3de4e8 fixed rediculous compiler warning (#1164) v1.0.0-beta.10 2021-04-01 10:15:29 -07:00
Charlie Kindel
8027a407c4 get productversion of terminal.gui not version (#1163) 2021-04-01 10:01:42 -07:00
BDisp
47211c78e8 Fixes #1154. FileDialog blank constructor results in unstable window (#1157)
* Fixes #1154. FileDialog blank constructor results in unstable window

* Fixes #1158. File Open Dialog should disable 'Open' if file is blank (or not valid).

* Changing to CanFocus behavior. Adding a Canceled check.
2021-04-01 09:15:53 -07:00
BDisp
1e7a6bd272 Fixes #1155. MoveForward/MoveBackward not bound on Text controls. (#1156) 2021-04-01 09:14:32 -07:00
BDisp
0669e2cc94 Fixes #134. TextView: Add line wrapping. (#1147)
* Fixes #134. TextView: Add line wrapping.

* Facilitates exception handling in Debug mode.

* Fixes the cursor position if it is always on the same line.

* Fixed TextView column position and hiding the cursor if it is outside outbound frame.

* Added more wrap lines features.. Added a BottomOffset property. Fixed Ctrl+K and Ctrl+Y.

* Fixes the Text property and fixing a redraw behavior not cleaning well at right.

* Fixes Ctrl+K from adding an extra line feed.

* Implemented Ctrl+K and Ctrl-Y on wrapped lines and preventing left Column to be greater than 0 on wrap.

* Fixes more line feed issues.

* More line feed fixing.

* Fixes UpdateModel that must return the new row and new column from the wrapped lines.

* Fixes #1155. MoveForward/MoveBackward not bound on Text controls.

* Added much more features to TextView.

* Fixes ResetPosition and forcing the cursor visibility.

* Implemented the New, Save and SaveAs methods in the Editor.
2021-04-01 09:14:14 -07:00
Dag König
f1fa8256de fix: sample in readme so it compiles (#1162) 2021-04-01 09:13:51 -07:00
Thomas Nind
7e99d44b52 Fixed CreateClass to create a generic MyClass<object> when MyClass<T> is passed (#1153) 2021-03-24 10:15:03 -07:00
Thomas Nind
1f01ff86fd New Control: Tabview (#1137)
* started working on tab view

* Ability to switch tabs

* Added interactive tab

* Added ShowBorder

* Fixed not being able to focus tabs

* Made tab row into private class and implemented PositionCursor

* Added support for TabsOnBottom

* Fixed layout flipping repeatedly between top and bottom tabs

* support for scrolling to infinite tabs

* Added scroll indicators

* Made Tabs readonly and added Notepad Scenario

* Fleshed out Notepad app

* Added SelectedTabChanged event

* Improved visiblity of where focus is and made example Absolute layout

* Added unicode tab to example

* Prototype mouse support

* Refactored tab rendering logic into sub view TabRowView

* Fixed bugs in Notepad scenario and xml doc

* Fixed position of cursor when TabsOnBottom and ShowHeaderOverline are both true

* Fixed PositionCursor when TabsOnBottom (properly this time)

* Fixed bugs when a Tab had a null View

* Fixed RemoveTab when SelectedTab is null and docs

* Fixed whitespace to match guidelines

* Fixed tabsBar position bug TabView.Y is not 0

* Added MaxTabTextWidth property

* Fixed issues based on feedback

* Support for clicking on scroll indicators

* Added tests for TabView

* Fixed horizontal line in empty tab view

* Fixed whitespace to match coding guidelines

* Added more tests, fixed AddTab allowing duplicates

* Fixed TabView not responding to double/triple click on arrows

* Refactored clicking scroll indicators to use SwitchTabBy

* Changed FileDialog to OpenDialog in Notepad Scenario
Includes support for opening multiple at once
2021-03-24 10:06:56 -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
68329f6895 Fixes #1141. Cannot change the StatusBar's background color. (#1142) 2021-03-23 10:02:38 -07:00
BDisp
d03b926921 Fixes #1145. ScrollBar down arrow is not showing. (#1146)
* Fixes #1145. ScrollBar down arrow is not showing.

* Fixes contentBottomRightCorner visibility when AutoHideScrollBars is false.
2021-03-23 10:01:44 -07:00
BDisp
e009aa747f Fixes #1143. Cannot change the MenuBar's background color. (#1144)
Well done. Thanks.
2021-03-23 10:01:01 -07:00
Charlie Kindel
4da9ad0e89 Fix 1130 broken links (#1131)
* fixed table & treeview docs

* regen docs

* relnote
2021-03-09 12:36:37 -07:00
Charlie Kindel
1cf2ce1985 fixes #1048 - BrighCyan to BrightCyan (#1129)
* fixes #1048 - BrighCyan to BrightCyan

* added relnote

* tweaked relnote
2021-03-09 09:00:44 -07:00
Miguel de Icaza
b783a8fbb9 Fix the treeview deepdive link 2021-03-09 10:52:28 -05:00
Thomas Nind
522745f559 Fix #1120 (#1124)
* Added ObjectActivationButton (mouse)

* Fixed layout to match coding guidelines
2021-03-08 19:42:25 -07:00
Charlie Kindel
16fa59b4fc turning off symnbol gen again (#1128) 2021-03-08 19:29:19 -07:00
Charlie Kindel
eb07d85ec6 use dotnet pack to buid in symbols (#1127) 2021-03-08 19:07:49 -07:00
Charlie Kindel
c16f882d99 Test v1.0.0 beta (#1126)
* removed step in codeql-build per build annoations

* updated relnotes ver #

* updated readmes

* updated rel notes to match new tag as test
2021-03-08 18:47:29 -07:00
Charlie Kindel
65dfb3ba3f Merge pull request #1125 from tig/minver
Minver
2021-03-08 18:21:55 -07:00
Charlie Kindel
6407cb2c59 tags need to start with v 2021-03-08 18:15:25 -07:00
Charlie Kindel
906939874b attempting new publish technique 2021-03-08 18:11:53 -07:00
Charlie Kindel
fe6a651fa9 updated build props with docs 2021-03-08 10:30:45 -07:00
Charlie Kindel
788cf85e4a merge 1.0.0-pre.9 2021-03-08 10:22:38 -07:00
Charlie Kindel
c27e5d810f Merge branch 'master' into minver 2021-03-08 10:20:03 -07:00
Charlie Kindel
1ed542f806 Merge pull request #1123 from tig/1.0.0-pre.9
1.0.0 pre.9
2021-03-08 10:19:37 -07:00
Charlie Kindel
9336ebbb70 testing MinVer 2021-03-08 10:16:12 -07:00
Charlie Kindel
c2e455551f Merge branch 'master' into 1.0.0-pre.9 2021-03-08 10:04:19 -07:00
Charlie Kindel
682c9348f0 Merge pull request #1122 from tig/fix_949_mac_glyphs
made LC_ALL OS dependent. Fixes #949
2021-03-08 10:03:45 -07:00
Charlie Kindel
ff26e5471b updated relnotes 2021-03-08 09:58:15 -07:00
Charlie Kindel
e889bbb131 back out relnote change 2021-03-08 09:56:00 -07:00
Charlie Kindel
0f91ffe43d updated readme to list treeview and tableview 2021-03-08 09:52:11 -07:00
Charlie Kindel
76123a0ed9 regen docs 2021-03-08 09:48:51 -07:00
Charlie Kindel
3f77d6d107 made LC_ALL OS dependent. Fixes #949 2021-03-08 09:36:22 -07:00
Charlie Kindel
fde741ad76 Merge pull request #1022 from tznind/tree-view
Woot!!! Well done, sir!
2021-03-08 09:21:35 -07:00
tznind
bb28caeb75 Changed BuildLineMap to use IReadOnlyCollection 2021-03-08 12:53:48 +00:00
tznind
57a93aa186 Fixed layout to match coding guidelines 2021-03-08 10:36:41 +00:00
tznind
bace6d279c Fixed mouse click expand/collapse not clearing cached state of line map 2021-03-08 10:36:21 +00:00
tznind
57dd4a6f61 Added ObjectActivated example in TreeViewFileSystem that displays info about the selected file/dir 2021-03-08 10:31:52 +00:00
tznind
7cb3812c19 Split TreeNode, TreeStyle and TreeBuilder into seperate files 2021-03-08 10:18:11 +00:00
tznind
db322b27ef Added GoTo method and renamed 'model' parameter where appropriate 2021-03-08 10:11:11 +00:00
tznind
dc22a890e9 Updated to match coding guidelines (whitespace, brackets etc) 2021-03-08 09:22:17 +00:00
tznind
07bc61e045 Fixed not using curly bracers for one line statement blocks 2021-03-08 08:51:51 +00:00
tznind
d2361072c1 Wrapped all comments to 100 width 2021-03-08 08:18:27 +00:00
Charlie Kindel
ca333ceb70 Merge pull request #1066 from BDisp/heightasbuffer-as-true
A provisional solution to the #1065 issue. Setting HeightAsBuffer as true by default.
2021-03-07 17:44:28 -07:00