Repository navigation
Find/Replace, Format, multi-cursor, Go and Tools menus - #14
Merged
Merged
Conversation
…#1012) The script editor's menus get the commands that left the global menu bar: - Edit: Find, Replace, Find Next/Previous (a find bar above the text with match case, a match count, Replace and Replace All, each one undo step) and Format Document (textDocument/formatting, dropped if the text changed while the server answered). - Selection: Add Cursor Above/Below. - Go: Go to Line (line or line:column), Go to Symbol in File and Go to References (a filterable list under the find bar; Enter opens the first), Go to Definition, Go to Parent Module. - Tools (rust-analyzer): Expand Macro (opens the expansion as a scratch file), Open Cargo.toml, Reload Cargo Workspace, and the 1M-line stress file generator. Keys: Ctrl+F, Ctrl+H, F3/Shift+F3, Ctrl+G, F12, Shift+F12, Ctrl+Shift+O, Shift+Alt+F; Escape closes the bar. Mockaco is bumped to the revision with the view API these use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
…put does The find/go-to-line test failed on CI and, once past that, corrupted the heap. Three differences from the editor caused it, none in the panel: - The window's root was the panel; text inputs paint through ui::Root (Root::update assumes the root is one), so painting the find field wrote past the panel. The test now roots the window in ui::Root, as the editor does (valgrind: 0 errors). - Nothing held the TextEditor, which the panel only refers to weakly, so Go to Symbol had no editor to ask. The test holds it, as the script editor does. - The test platform delivers a typed character to an input twice (key down and simulated IME) and turns Enter into a newline; desktop platforms do neither. The bars' fields are filled and their Enter raised directly; the shortcuts still go through the keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
This was referenced Oct 14, 2026
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.
The rest of Far-Beyond-Pulsar/Pulsar-Native#1012 for the script editor: the commands that left the global menu bar are now in the editor's own menus, with their keys.
Menus
textDocument/formatting. If the text changes while the server is answering, the answer is dropped.lineorline:column..rsfile.The context menu also gets Go to Definition, Go to References and Format Document.
Keys: Ctrl+F, Ctrl+H, F3, Shift+F3, Ctrl+G, F12, Shift+F12, Ctrl+Shift+O and Shift+Alt+F. Escape closes the bar. The bindings are in the panel's key context, so they run before the text view handles the key.
Without a language server: the Go lists say why there is nothing to show, and the LSP items do nothing.
Dependencies
Tests
workspace_panels::tests::find_go_to_line_and_add_cursor_through_the_paneldrives a real panel through its keys:2:4move the caret.Location[]);DocumentSymbol[]and flatSymbolInformation[];line:columninput.cargo check --testspasses against Pulsar-Native.🤖 Generated with Claude Code
https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
Generated by Claude Code