Update deepdives to capture new Scrolling API#4748
Merged
tig merged 4 commits intov2_developfrom Feb 24, 2026
Merged
Conversation
Co-authored-by: tig <585482+tig@users.noreply.github.com>
…w with new API Co-authored-by: tig <585482+tig@users.noreply.github.com>
Co-authored-by: tig <585482+tig@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update deep dives to capture new Scrolling API
Update deepdives to capture new Scrolling API
Feb 24, 2026
tig
added a commit
to tig/Terminal.Gui
that referenced
this pull request
Feb 25, 2026
Resolved 5 conflicts: - ApplicationImpl.Driver.cs: kept both using statements - ApplicationImpl.Lifecycle.cs: took v2_develop guard clause fix - MainLoopCoordinator.cs: took v2_develop guard clause refactor - ColorPicker.16.cs: kept HEAD's OnActivated override (new CWP pattern) - View.md: took v2_develop's updated scrolling docs from PR gui-cs#4748 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Proposed Changes/Todos
Updates scrolling.md and layout.md to document the new Scrolling API that replaced
ScrollBar.AutoShowwithScrollBarVisibilityModeenum andViewportSettingsFlags.ScrollBarVisibilityModeenum (Manual, Auto, Always, None)ViewportSettingsFlags.HasVerticalScrollBarandHasHorizontalScrollBarAutoShowreferences with new API patternsNew API Pattern:
Updated Documentation:
scrolling.md- Added ScrollBarVisibilityMode section, expanded ViewportSettings with ScrollBar flagslayout.md- Added ScrollBar flags to ViewportSettings sectionView.md,migratingfromv1.md,newinv2.md- Updated all code examplesPull Request checklist:
CTRL-K-Dto automatically reformat your files before committing.dotnet testbefore commit///style comments)Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.