| 1 | namespace CascadeIDE.Features.Editor.Application.Monaco; |
| 2 | |
| 3 | public enum EditorNavigationPresentation |
| 4 | { |
| 5 | RevealTransient, |
| 6 | RevealPersistent, |
| 7 | SelectAndReveal, |
| 8 | ScrollOnly, |
| 9 | } |
| 10 | |
| 11 | public enum EditorNavigationSource |
| 12 | { |
| 13 | Mcp, |
| 14 | NavigationMap, |
| 15 | Crs, |
| 16 | Intercom, |
| 17 | Markdown, |
| 18 | ChatDraft, |
| 19 | Forge, |
| 20 | MagicLink, |
| 21 | Debug, |
| 22 | Other, |
| 23 | } |
| 24 | |
| 25 | /// <summary>Resolved navigation into Forward editor buffer (ADR 0163 §2.4).</summary> |
| 26 | public sealed record EditorNavigationTarget( |
| 27 | string FilePath, |
| 28 | int StartLine, |
| 29 | int EndLine, |
| 30 | int? StartColumn = null, |
| 31 | int? EndColumn = null, |
| 32 | string? MemberKey = null, |
| 33 | EditorNavigationPresentation Presentation = EditorNavigationPresentation.SelectAndReveal, |
| 34 | int? DurationMs = null, |
| 35 | EditorNavigationSource Source = EditorNavigationSource.Other); |
| 36 | |
View only · write via MCP/CIDE