implement PLN-0030 active scope gutter wave 1

This commit is contained in:
2026-04-03 09:56:30 +01:00
parent e06be29f4b
commit 17eb4eaf91
6 changed files with 265 additions and 114 deletions
@@ -2,9 +2,9 @@
id: PLN-0030
ticket: studio-editor-scope-guides-and-brace-anchoring
title: Wave 1 editor implementation for active container and active scope gutter indicators
status: review
status: done
created: 2026-04-03
completed:
completed: 2026-04-03
tags:
- studio
- editor
@@ -119,11 +119,11 @@ Do not hardcode semantic color contracts into decision logic. The renderer may e
## Acceptance Criteria
- [ ] The default editor gutter no longer renders the old full stacked active-scope presentation.
- [ ] `activeScope` is selected as the smallest structural range containing the caret.
- [ ] `activeContainer` is selected as the immediate structural ancestor of `activeScope`.
- [ ] The editor renders at most two active semantic indicators in the gutter.
- [ ] The implementation remains language-agnostic and uses only existing structural ranges.
- [x] The default editor gutter no longer renders the old full stacked active-scope presentation.
- [x] `activeScope` is selected as the smallest structural range containing the caret.
- [x] `activeContainer` is selected as the immediate structural ancestor of `activeScope`.
- [x] The editor renders at most two active semantic indicators in the gutter.
- [x] The implementation remains language-agnostic and uses only existing structural ranges.
## Dependencies