Commit Graph

522 Commits

Author SHA1 Message Date
Charlie Kindel
ddf78ce0f6 fixed shortcut for save as 2022-10-19 17:14:37 -06:00
Charlie Kindel
38242dd1e6 Makes Notepad look better and fixes bugs 2022-10-19 17:00:22 -06:00
BDisp
09f005448e Fixes #1800. TextView now uses the same colors as TextField. (#1971)
* Fixes #1800. TextView now uses the same colors as TextField.

* Replacing the textview to default in some scenarios.

* Removing TextView ColorScheme from the Wizard component.

* Changing someText color to be different from the help text color.

* Renamed some color methods as requested.

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-09-15 06:43:18 -07:00
BDisp
dfafd649c1 Fixed '_functionTimer' not be disposed after quit if it's running. (#2007) 2022-09-14 18:24:47 -07:00
BDisp
b21f203292 Fixes #820. Added HideDropdownListOnClick property. (#1983)
* Added HideDropdownListOnClick property.

* Invoking OpenSelectedItem on click.

* Added one more constructor and more unit tests.

* Added the ComboListView derived class.

* Added more features to ComboBox.

* Removes code not featured yet.

* Added HideDropdownListOnClick property to scenario.

* Ensures SetSource having the same behavior as the ListWrapper constructor.
2022-09-14 18:10:40 -07:00
BDisp
389d0be6bd Added abstract MakeColor and CreateColors to create the colors at once. (#1972)
* Added abstract MakeColor and CreateColors to create the colors at once.

* Adjusting colors to contrast with almost all views.

* Reverting Border unit test.

* Removing commented color code.
2022-09-05 12:47:16 -07:00
Thomas Nind
08ea331134 Fixed null reference in Keybindings Scenario and hotkey collision (#1965) 2022-08-25 05:46:28 -07:00
BDisp
f01132ca0e Fixes #1948. It isn't possible to get unwrapped cursor position when word wrap is enabled on TextView. (#1949) 2022-08-11 06:53:08 -07:00
BDisp
49e2b95625 Fixes #1861. Border: Title property is preferable to Text. (#1862)
* Fixes #1861. Border Title property is preferable than the Text.

* Fixes #1866. Bug when scrolling text and type in a TextView. (#1868)

* Some fixes for the WebConsole support. (#1865)

* Invoking NotifyStopRunState for all situations.

* Added Clicked property to support web console.

* Changing to MoveDown to stay always visible.

* Fixes #1849. Wizard as non-popup is broken (#1853)

* trying to make it work

* Fixes #1849. Wizard as non-modal doesn't work

* Fixes #1855. Window and Frame content view without the margin frame.

* Fixing layout of non-modal

* WizardSTep is now a FrameView

* Now use Modal = false to set visual style automatically

* Removed Controls as an explicit construct. Now just Add to WizardStep

Co-authored-by: BDisp <bd.bdisp@gmail.com>

* Update docs with keybindings, global key event and designer (#1869)

* Added docs on keybinding and global key event

* Added TerminalGuiDesigner to showcases/examples

* Regenerated Docs (#1870)

* Fixed cancel logic. Title now shows for non-modal. (#1871)

* Fixes #1874. API docs on github are broken. (#1875)

* Fixes #1874. API docs on github are broken.

* Rebuild with docfx 2.59.3.0 version.

* Fixes Wizard cancel logic and updates docs (#1878)

* Fixed cancel logic. Title now shows for non-modal.

* trying to fix docs

* trying to fix docs

* Fixes #1867. Use Undo and Redo commands with WordWrap enabled. (#1877)

* Updated docs; regeneraged docs (#1881)

* Added a 'Read Only' to the Editor scenario Format menu. (#1882)

* Fixes #1883. Toplevel now propogates Loaded & Ready events to child Toplevel views.

* Updated API doc theme. Added Wizard Sample

* Tweaked API docs format and content. Fixed build warnings.

* Fixes #1889. Docs broken after org move.

* Regen API docs

* Fixes readme links to API docs

* Avoiding breaking change.

* Fixes typos.

* Passing string.Empty to Title from the default constructor.

* Initializes title with string.Empty instead of null.

Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
Co-authored-by: Thomas Nind <31306100+tznind@users.noreply.github.com>
2022-08-01 16:06:15 -07:00
Tig Kindel
26d2353e40 Prep for Release v1.7.0 (#1910)
* prepping for v1.7 release

* Updated release notes for v1.7

* updated rel notes

* regen docs

* trying to fix view source

* reactive ui update
2022-07-28 05:39:06 -07:00
BDisp
74b91a3979 Textview readonly wrap fix (#1898)
* Fixes LoadFile when word wrap is enabled.

* Fixes an extra space in end of line and error on deleting backwards.

* Removing unit tests with loading files.

* Fixes left column being bigger than zero if word wrap is true.

* Fixes #1820. TextView: Word Wrapping is not correct

* Made fix more surgical via ReadOnly

* Fixes TextView read only wrap issue.

* Rename method.

* Fixes word wrap with toggling read only .

Co-authored-by: Charlie Kindel <charlie@kindel.com>
Co-authored-by: Tig Kindel <tig@users.noreply.github.com>
2022-07-27 21:45:39 -07:00
Tig Kindel
61335e8788 Fixes #1893: Fix URLs to match gui-cs Org (#1900)
* Release v1.3.0

* regen docs

* change nuget publish script to use rohit version

* Release v1.3.1

* Force fix README.md API docs links

* tweak contrib instructions

* more doc fixes

* updated most urls
2022-07-26 12:09:03 -07:00
Tig Kindel
aa63abb23f Merge pull request #1884 from tig/wizard_fix_nonmodal_doc
Fixes #1883. Child TopLevel's now get Loaded/Ready events
2022-07-23 16:12:58 -04:00
Tig Kindel
94f36cef2e Updated API doc theme. Added Wizard Sample 2022-07-23 14:03:43 -06:00
Tig Kindel
11491b3f79 Fixes #1883. Toplevel now propogates Loaded & Ready events to child Toplevel views. 2022-07-23 12:23:44 -06:00
BDisp
0e05baef62 Added a 'Read Only' to the Editor scenario Format menu. (#1882) 2022-07-23 06:05:27 -07:00
Tig Kindel
e4a919fb94 Fixed cancel logic. Title now shows for non-modal. (#1871) 2022-07-21 08:50:49 -07:00
Tig Kindel
492966048c Fixes #1849. Wizard as non-popup is broken (#1853)
* trying to make it work

* Fixes #1849. Wizard as non-modal doesn't work

* Fixes #1855. Window and Frame content view without the margin frame.

* Fixing layout of non-modal

* WizardSTep is now a FrameView

* Now use Modal = false to set visual style automatically

* Removed Controls as an explicit construct. Now just Add to WizardStep

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2022-07-21 05:57:25 -07:00
BDisp
250d4af44b Some fixes for the WebConsole support. (#1865)
* Invoking NotifyStopRunState for all situations.

* Added Clicked property to support web console.

* Changing to MoveDown to stay always visible.
2022-07-21 05:56:52 -07:00
BDisp
32fa12e0bd Changes due to the requested changes. 2022-07-04 11:22:27 -04:00
BDisp
e02df8c043 Added some more features and bug fixes. 2022-07-04 11:22:27 -04:00
Charlie Kindel
065d88eed5 enabled events for WizardStep.Title changing 2022-06-15 17:32:25 -07:00
Charlie Kindel
56e78d4b92 propogated enable to Wizard 2022-06-15 17:32:25 -07:00
Charlie Kindel
ab503d1de1 more unit tests and refactoring 2022-06-15 17:32:25 -07:00
Charlie Kindel
1bc2c79938 Progress on refactoring nav 2022-06-15 17:32:25 -07:00
Tig Kindel
2451c19d15 Wizard fixes (#1802)
* Fixes #1791. Added Pos/Dim Function feature to automate layout.

* Added PosFunc/DimFunc class. and some more features.

* Fixes #1793. ScrollBarView is hiding if the host fit the available space.

* Fixes #1791. View not turn off AutoSize if TextFormatter.Size fit the Anchor.

* Done requested changes.

* Addressing feedback

* Added more AutoSize unit tests.

* wip

* Refactored and enhanced API

* Fixed test

Co-authored-by: BDisp <bd.bdisp@gmail.com>
2022-06-14 08:54:33 -07:00
BDisp
10b410e406 Wizard and Dialog fix. (#1803) 2022-06-13 15:55:39 -07:00
Tig Kindel
48dbbb05a7 Adds multi-step Wizard view (#1783)
* Initial commit for Wizard

* Fixes #1777 - Dialog button justification. Adds unit tests

* Added missing API doc

* Work in progress

* Added tests for wide chars

* Tests

* more tests

* wip

* fixed test that broke by adjusting dialog button alignment

* fixed test that broke by adjusting dialog button alignment

* Fixed Dialogs scenario crash re: Parse v TryParse

* broke tests. can't figure out how.

* Revert "broke tests. can't figure out how."

This reverts commit f3c53928ac.

* Fixed unit tests

* Reverted workaround that doesn't work

* Refactor and cleanup
2022-06-12 13:24:29 -07:00
Tig Kindel
4a338bc693 Fixes #1777 - Dialog button justification. Adds unit tests. (#1782)
* Fixes #1777 - Dialog button justification. Adds unit tests

* Added missing API doc

* Added tests for wide chars

* more tests

* fixed test that broke by adjusting dialog button alignment

* fixed test that broke by adjusting dialog button alignment

* Fixed Dialogs scenario crash re: Parse v TryParse
2022-06-12 09:08:41 -07:00
Thomas Nind
21210d62db Fixed TableView always showing selected cell(s) even when not focused (#1776)
* Fixed TableView always showing selected cell(s) even when not focused

* Changed CsvEditor label to a text field to show focus changing and allow manually entering a cell

* Fixed TableView_ColorsTest_ColorGetter and improved Exception when wrong colors are used

* Added full focused/not test suite for TableView
2022-06-11 03:14:05 -07:00
Thomas Nind
0e9811c52a TableView unicode scenario usability (#1762)
- Add additional unicode ranges from CharacterMap
- Format the unicode symbol number with 0x prefix
2022-06-01 13:41:12 -07:00
Thomas Nind
13af2b1662 Support for flexible column widths in TableView (#1760)
* Support for flexible column widths in TableView

* Fixed not respecting min width of MinAcceptableWidth an added UICatalog support

* Added menu options for SmoothHorizontalScrolling and setting all MinAcceptableWidth to 1

* spelling fix
2022-06-01 13:33:20 -07:00
Tig Kindel
5b4716bef9 Merge pull request #1761 from tznind/table-char-map
Added unicode testing code to TableEditor
2022-05-30 15:58:09 -07:00
Thomas Nind
ee2336783c Added unicode testing code to TableEditor 2022-05-30 11:46:28 +01:00
Charlie Kindel
07ce68cd0f Updated version numbers 2022-05-29 10:18:16 +12:00
Thomas Nind
d68a2e8b8c Add horizontal scroll idicators to TableView (#1756)
* Add horizontal scroll idicators to TableView

* Made horizontal scroll indicators clickable

* Added setting ShowHorizontalScrollIndicators defaulting to true
2022-05-28 14:27:08 -07:00
Thomas Nind
286fec7990 Explicitly dispose old TreeView instances in UICatalog scenario (#1749)
Fixes #1742
2022-05-28 14:05:50 -07:00
Tig Kindel
2971fc9134 Fixes #769. Include PDB symbols on Nuget (#1747)
* trying to get nuget symbols to work

* fixed nuget sybmols?
2022-05-26 19:33:31 -07:00
Tig Kindel
a95e06c15d Fixes #1741. Use gitversion instead of minver (#1746) 2022-05-26 16:36:50 -07:00
Tig Kindel
cc04bb37f5 Release v1.6.0 (#1722)
* Change log for Release v1.6.0

* Regenerated API docs for v1.6.0

* Merged #1724

* Relnotes update

* Fixed minor issues in readme

* Updated changelog

* New sample.gif for README.md

* Ignore demo artifacts
2022-05-26 13:50:17 -07:00
BDisp
8fc289adaa Fixes #1730. Prevents AllViewsTester throwing exception on Dim.Percent. 2022-05-18 15:32:37 +01:00
Jocelyn NATALI
09b8ce64da Add ColorPicker Control. (#1668)
* Add ColorPicker Control.

* Add default colors.

* Author name comment removed.

* Scenario renamed.

* Format source code.

* Add commands and KeyBindings.

* ColorPicker comments updated.

* Doc updated.

* Fix relative Layout.

* Add new constructor, with title only.

* Delete one inused line.

* Scenario renammed.

* Doc updated.
2022-05-14 15:35:00 -07:00
Tig Kindel
a7db7cdec8 Merge pull request #1706 from tznind/tree-view-context
Tree view context
2022-05-13 14:47:24 -07:00
Thomas
7deacf3bb9 Renamed to simply GetObjectOnRow and dropped unused X component 2022-05-13 22:37:01 +01:00
Charlie Kindel
82ddc8e3e7 Fixes #1715 - UI Catalog about box version 2022-05-14 09:27:40 +12:00
Thomas
6800113ff1 Changed name to GetObjectRow 2022-05-13 22:17:42 +01:00
Thomas
7f0671e10a Renamed new methods 2022-05-13 21:42:50 +01:00
BDisp
ad2b5a9ba2 Removed AlwaysSetPosition and fix some wide runes issue. 2022-05-13 19:27:04 +01:00
BDisp
4382a2c2c2 Fixes remaining wide runes render issues. 2022-05-11 00:24:57 +01:00
Thomas Nind
e60d7f4363 Added IndexOf method to TreeView to allow for keyboard context menus 2022-05-10 16:05:09 +01:00