Commit Graph

2126 Commits

Author SHA1 Message Date
tznind
e7dcd49506 Changed GetLinePrefix to use Runes directly (instead of strings)
This fixes printing in some consoles
2020-12-14 09:25:02 +00:00
tznind
5dad1d2221 Added test for TreeNode usage 2020-12-14 07:30:13 +00:00
tznind
d68dbca108 fixed root node indentation 2020-12-14 07:21:15 +00:00
tznind
6af7cd85d1 added ShowLines and TreeNode support 2020-12-13 23:07:18 +00:00
tznind
7394b5013e clarified consent to use under MIT 2020-12-13 18:33:26 +00:00
Charlie Kindel
92c2171388 Merge pull request #1036 from BDisp/netdriver-mouse-support
Fixes #518. Added mouse support for the NetDriver.
2020-12-12 11:43:44 -08:00
Charlie Kindel
890d6fa43f Merge pull request #1029 from BDisp/windowsdriver-usc--docking
Fixes #1028. WindowsDriver does not handle Window docking properly with the -usc argument.
2020-12-12 11:43:10 -08:00
Charlie Kindel
8546dadc66 Merge pull request #1035 from BDisp/nuget-packages-update
Fixes #1034. The NuGet packages need to be updated.
2020-12-12 11:42:41 -08:00
Charlie Kindel
173146e66c Merge pull request #1031 from BDisp/gets-colorscheme-attributes
Fixes #1030. Getting colors from the Attributes of a ColorScheme.
2020-12-12 11:41:54 -08:00
BDisp
412c325922 Fixing a incompatible ReadOnly TextField color with the NetDriver if its selected. This work with all drivers. 2020-12-12 13:34:33 +00:00
BDisp
a3e3e7fb25 Fixed bug if WindowTop is bigger than 0. 2020-12-12 12:59:44 +00:00
BDisp
d06c87493d Fixing mouse not working on Unix in low coordinates. 2020-12-12 12:43:35 +00:00
BDisp
152d4e4d35 Allowing Key.AltMask + Key.Space to open the MenuBar too. 2020-12-12 11:22:31 +00:00
BDisp
9dacb7d3ee Fixes #518. Added mouse support for the NetDriver. 2020-12-12 01:17:09 +00:00
tznind
7af2763f43 Added method RebuildTree
Similar to RefreshObject but for all visible branches.  Call this method when making large scale changes behind the scenes to objects including hierarchy changes.
2020-12-09 13:24:30 +00:00
BDisp
b7f91af247 Fixes #1034. The NuGet packages need to be updated. 2020-12-09 11:43:41 +00:00
tznind
8ce042eb52 Fixed RefreshObject when Equality method is overridden in model objects
Now when you call RefreshObject the Branch.Model is always updated to the latest reference even when Equals indicates we already have it in children
2020-12-08 14:13:27 +00:00
tznind
2bd3f76553 Added GetChildren and GetParent 2020-12-08 14:11:55 +00:00
tznind
1416f2f047 Fixed always swallowing keystrokes in ProcessKey in TableView 2020-12-08 11:57:41 +00:00
BDisp
9fd083ba5f Typo fixing. 2020-12-04 21:34:45 +00:00
BDisp
b8a1ed5c24 Fixes #1030. Getting colors from the Attributes of a ColorScheme. 2020-12-04 21:25:15 +00:00
BDisp
149561a964 No need to create another MenuBarItem. Added a new constructor to the MenuBarItem allowing a list of MenuItem arrays. 2020-12-04 14:35:35 +00:00
BDisp
eec477a89f Fixes #1028. WindowsDriver does not handle Window docking properly with the -usc argument. 2020-12-02 17:46:20 +00:00
tznind
b75b79b068 Added RefreshObject and IsExpanded
RefreshObject notifies tree of changes to a model (e.g. it's children) and clears cached knowledge but persists the branch expansion state
2020-12-02 15:10:54 +00:00
tznind
f5875034f7 xmldocs for SelectionChangedEventArgs constructor 2020-12-02 14:02:17 +00:00
tznind
148b4d2784 Made ScrollOffset setter public and added helper method and tests 2020-12-02 13:28:46 +00:00
tznind
dcacf8eb6f Added SelectionChanged event 2020-12-01 13:41:27 +00:00
tznind
e833adf94d Fixed always returning true in ProcessKey even when not consuming keystroke 2020-12-01 13:40:19 +00:00
Charlie Kindel
62b5800c84 Merge pull request #1021 from BDisp/netdriver-unicode
Fixes #1020. NetDriver does not deal well with unicode characters yet.
2020-11-30 11:56:00 -08:00
Charlie Kindel
fdd6ec355d Merge pull request #1027 from BDisp/textfield-unicode-frame
Fixes #1026. TextField is redrawing over SuperView limits with unicode characters using NetDriver.
2020-11-30 11:54:22 -08:00
BDisp
94f58acecf Trying fix #335 2020-11-30 01:16:50 +00:00
BDisp
c0540b5de6 Adjusting the code. 2020-11-28 19:46:05 +00:00
BDisp
097c82fdf5 Fixes #1026. TextField is redrawing over SuperView limits with unicode characters using NetDriver. 2020-11-27 22:57:26 +00:00
BDisp
3e29baa5c5 Cleanup. 2020-11-26 18:51:56 +00:00
BDisp
55c682dde1 Ensures that the Toplevel redraw if the LayoutNeeded is true in the RunLoop too. 2020-11-26 18:07:28 +00:00
BDisp
88c33bb924 Reverting the breaking Toplevel Redraw. 2020-11-26 10:46:49 +00:00
BDisp
441fcbecbe Removed break. 2020-11-26 00:04:55 +00:00
BDisp
12383e4c31 Avoid exception if LastFocused is null. 2020-11-25 23:09:09 +00:00
BDisp
7de9db69c6 Fixing demo. 2020-11-25 22:33:42 +00:00
BDisp
9b0ea4e992 Changed from Enum HeightSize to bool HeightAsBuffer. 2020-11-25 22:21:23 +00:00
Charlie Kindel
d782bf62f7 Merge pull request #1025 from BDisp/textview-newline
Fixes #1024. TextView is printing the new line character "\n" with a symbol.
2020-11-25 14:19:55 -07:00
BDisp
f43bcc07e5 Fixes #1024. TextView is printing the new line character "\n" with a symbol. 2020-11-25 20:01:35 +00:00
BDisp
148a813365 NetDriver now process the hot keys and shortcut keys. 2020-11-25 19:31:55 +00:00
tznind
8c0c975aea Changed example to show folders first then files (and ensure alphabetical order) 2020-11-25 07:16:33 +00:00
BDisp
a7c2847256 Fixes Console.WindowHeight detection when HeightSize.BufferHeight is set. 2020-11-24 21:55:29 +00:00
BDisp
b6cb860b73 Disabling supported operation system warnings. 2020-11-24 16:10:07 +00:00
BDisp
934c0b9629 isWinPlatform was written twice. 2020-11-24 01:59:47 +00:00
BDisp
d8fbd3efb2 True font types has its own non printable characters and we should use them. 2020-11-24 01:42:11 +00:00
BDisp
415cd11e20 Fixes #1020. NetDriver does not deal well with unicode characters yet. 2020-11-23 23:19:39 +00:00
tznind
c147f79e28 Added CanExpandGetter logic (optional) 2020-11-23 11:57:12 +00:00