Skip to content

Menu strip: File, Edit, Selection and View menus - #13

Merged
Tuafo merged 3 commits into
mainfrom
claude/cool-hypatia-ict23g
Oct 13, 2026
Merged

Tuafo merged 3 commits into
mainfrom
claude/cool-hypatia-ict23g

Conversation

@Tuafo

@Tuafo Tuafo commented Oct 13, 2026

Copy link
Copy Markdown
Member

For Far-Beyond-Pulsar/Pulsar-Native#1012: the script editor gets its own menu strip, as the level, Blueprint, Shader and Matter editors have.

Changes

The toolbar starts with an EditorMenuStrip:

  • File: Save, Copy File Path
  • Edit: Undo, Redo, Cut, Copy, Paste
  • Selection: Select All
  • View: Unfold All

The items dispatch the editor's existing actions (EditorUndo, EditorCut, …) to the open file's view. FilePanel already handles those actions for its context menu, so nothing new is wired. With no file open, the items are greyed out.

Not included

The rest of #1012's script editor list (multi-cursor selection, Find, Go to Line/Symbol/Definition/References) has nothing to call yet. Mockaco's WgpuiEditorView exposes undo/redo, cut/copy/paste, select all, unfold all and go_to(line, column), and the plugin has no go-to-line prompt. Those menus need that API first.

Checked

cargo check -p script_editor_plugin passes in Pulsar-Native.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5


Generated by Claude Code

The script editor's toolbar starts with the editor menu strip. Its items
dispatch the editor's existing actions to the open file's view, whose
panel already handles them for the context menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
The menu strip uses plugin_editor_api::EditorMenuStrip and EditorMenu,
which landed in Pulsar-Native with #1167 (6c61db9aa). The check still
checked out 55aa2dba1, which predates them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
Pulsar-Native 6c61db9aa (the revision the check builds against) pins
SceneDB 81bb3557, and its Helio uses that revision's asset API
(AssetId, register_loader, register_binding). This manifest's SceneDB
patch still named 685b1b0a, so helio_component failed to compile.
Cargo.lock is re-resolved by Cargo for the new pins; Gamma follows the
revision plugin_editor_api now requires.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
@Tuafo Tuafo self-assigned this Oct 13, 2026
@Tuafo Tuafo moved this from Todo to In Progress in Pulsar Tracker Oct 13, 2026
@Tuafo
Tuafo merged commit b8be079 into main Oct 13, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Pending Release in Pulsar Tracker Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending Release

Development

Successfully merging this pull request may close these issues.

2 participants