Closed
Conversation
… more (gui-cs#5003) * Cleans up examples. * Initial plan * Initial plan Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/467eb5c7-c021-4a0a-ae77-0ba2ffb76582 Co-authored-by: tig <585482+tig@users.noreply.github.com> * Migrate TreeView to View content-area system (Viewport/SetContentSize/ScrollBars) Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/b95237ae-d7fd-4f8a-92b8-cb7629a08aab Co-authored-by: tig <585482+tig@users.noreply.github.com> * Add TreeViewScrollingTests with 27 tests for content-area integration Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/b95237ae-d7fd-4f8a-92b8-cb7629a08aab Co-authored-by: tig <585482+tig@users.noreply.github.com> * Address code review feedback: simplify property setters and clarify width calculation Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/b95237ae-d7fd-4f8a-92b8-cb7629a08aab Co-authored-by: tig <585482+tig@users.noreply.github.com> * Refactor TreeView scenario; add design/test improvements - Replace "Simple Nodes" with "_EnableForDesign" scenario in UICatalog and update initial load - Add EventLog and ViewportSettingsEditor to scenario layout - Overhaul Army tree model with CreateMiddleEarthArmy for richer sample data - Update tree-building logic to use GetChildren pattern and set scenario-specific titles - Ensure CurrentTree updates EventLog and ViewportSettingsEditor references - Simplify TreeView<T>.OnViewportChanged override and remove redundant viewport logic - Remove obsolete Collapse_ClampsScrollOffset test - Add tests for TreeView.EnableForDesign rendering in absolute, fill, and auto sizing modes * Refactor: move LoTR army model to partial class file Extract Middle-earth army hierarchy and builder logic from TreeUseCases.cs into TreeUseCases.MiddleEarthArmy.cs. This improves code organization by isolating the large sample data/model from scenario logic, with no functional changes. * Add TreeViewEditor UI and extend ITreeView interface Introduced a TreeViewEditor component in UICatalog.Scenarios for interactive editing of TreeView settings and actions. Updated the scenario layout to include the editor. Extended the ITreeView interface with new properties and methods to support editor features, enabling real-time synchronization and control of TreeView behavior. * Update TreeView editor UI, remove obsolete options - Replaced MaxDepth input with SchemeName dropdown in TreeView editor; users can now select color schemes. - Added expand/collapse/toggle buttons for selected nodes; improved button layout. - Set default SchemeName to accent in TreeUseCases. - Removed obsolete "Leave Last Row" option and related code from TreeViewFileSystem and TreeStyle. - Improved expand symbol coloring logic in Branch<T> for HighlightModelTextOnly. - Cleaned up Branch<T> children enumeration (removed null check). - Updated ITreeView: removed ClearObjects/SetNeedsDraw, added Expand/Collapse methods. - Clarified ColorExpandSymbol documentation. * Remove obsolete ContentHeight property and tests Replaced all usages of the obsolete ContentHeight property with GetContentHeight(). Removed related tests and refactored test helpers for clarity and conciseness. Updated variable names to use discards where appropriate. This ensures the codebase uses the current API and improves maintainability. * cleanup * Improve TreeView XML docs, terminology, and comments Refine and clarify XML documentation for TreeView and related classes, including parameter and return descriptions. Update terminology from "SubView" to "child"/"parent" in code and docs for consistency. Clarify TreeStyle property docs, especially ColorExpandSymbol. Update treeview.md examples and property tables to match new terminology. Standardize test namespaces and apply minor code style cleanups. No functional changes. * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Optimize OnViewportChanged to only update content size on resize, not scroll Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/172445c4-7739-4977-a677-bebcc24a4a03 Co-authored-by: tig <585482+tig@users.noreply.github.com> * removed test --------- Co-authored-by: Tig <tig@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tig <585482+tig@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Cleans up examples. * updated docs * new sample.gif * reverted
* Fixes gui-cs#4986. Navigating with Viewport.Y greater than zero will cause scrolling to increase, even if the current line fits within the available height. * Fixes gui-cs#4990. Navigating with Viewport.X greater than zero will cause scrolling left, even if the current column isn't at the right of the viewport * Fixes gui-cs#4994 - Navigating left and right while holding down the Ctrl key does not cause edge scrolling. * Fixes gui-cs#4998. TextView.UpdateContentSize isn't working correctly on insert and delete text * Fixes gui-cs#4999. TextView with hidden cursor due scrolling pressing any CursorRight/Left/Down/Up keys doesn't adjust to make the cursor visible * Update Tests/UnitTestsParallelizable/Views/TextView.NavigationTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fixes gui-cs#4891. DoDrawComplete should ignore scrolled Viewport.Location when excluding opaque view area * Clarify comment related to deleted * Fix MoveUp() and add more unit tests * Test that proves despite does not change viewport position but does set NeedsDraw. * Fix MoveLeft method and add a test * Fix MoveWordLeft and add unit test * Fix MoveWordRight and add unit test * Simplify MoveRight code * Fix DeleteCharLeft invoke ContentChanged twice * Fix ShouldInvalidateMaxWidthCache to use full size * Remove unnecessary LINQ in _cachedMaxWidthPerLine * Move ShouldInvalidateMaxWidthCache tests * Fix ArgumentOutOfRangeException on DeleteTextLeft --------- Co-authored-by: Tig <tig@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
--- updated-dependencies: - dependency-name: Markdig dependency-version: 1.1.3 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
bac0809 to
139e30d
Compare
Author
|
Looks like Markdig is no longer updatable, so this is no longer needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pinned Markdig at 1.1.3.
Release notes
Sourced from Markdig's releases.
1.1.3
Changes
🐛 Bug Fixes
🚀 Enhancements
Full Changelog: 1.1.2...1.1.3
Published with dotnet-releaser
Commits viewable in compare view.