Repository navigation
feat: CodeEditor programmatic API, toggle selected colors, public SegmentedItem, rectangle caption buttons - #234
Merged
Merged
Conversation
…mentedItem, rectangle caption buttons - CodeEditor (#228, #233): public cursor and selection API (Get/SetPosition, Get/SetSelection(s), Reveal*), CursorPositionChanged / CursorSelectionChanged, CanUndo / CanRedo / Undo / Redo / PushUndoStop / UndoRedoStateChanged, and ShowFind / ShowFindReplace / CloseFind. - ToggleGroup and SegmentedControl (#227): SelectedItemBackground and SelectedItemForeground. - SegmentedItem is public (#231), with its own token (identity SegmentedControlItem); Mobile shares the class name. - ArcWindow / TitleBar / WindowCaptionButtons (#230): CaptionButtonVariant (Round by default, Rectangle for Windows-style buttons). - Token baselines regenerated for the new token entries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
239573049
added a commit
that referenced
this pull request
Dec 1, 2026
Co-Authored-By: Claude Opus 5.5 <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.
Closes #227, closes #228, closes #230, closes #231, closes #233.
Changes
GetPosition,GetSelection(s),SetPosition,SetSelection(s),Reveal*),CursorPositionChanged/CursorSelectionChanged,CanUndo/CanRedo/Undo/Redo/PushUndoStop/UndoRedoStateChanged, andShowFind/ShowFindReplace/CloseFind. The outline,ExecuteCommandandGetContribution<T>stay internal for now.SelectedItemBackgroundandSelectedItemForeground.SegmentedControlItem, because Mobile already has aSegmentedItemtoken). Mobile shares the class name, so the name is added to the shared-name list in AGENTS.md andMobileClassNameTests.CaptionButtonVariant(Round, the default and unchanged;Rectangle, Windows-style buttons as tall as the title bar, with close turning red on hover).All additive; no defaults change. Gallery docs: AIDotNet/ArcGallery
docs/issues-227-233(merge this first).Verification (local)
TKCode.ArcandTKCode.Arc.Editor.Controlsbuild with 0 warnings and no RS0016/RS0017.CodeEditorPublicApiTests: 11 pass. Toggles, ArcWindow and WindowCaptionButtons: 102 pass.TokenBaselineTestsandMobileClassNameTests: 32 pass.🤖 Generated with Claude Code