Skip to content

Add "Set start and go to next" shortcut (SE4 parity, #12165)#12199

Merged
niksedk merged 1 commit into
mainfrom
feature/set-start-and-go-to-next-12165
Jul 5, 2026
Merged

Add "Set start and go to next" shortcut (SE4 parity, #12165)#12199
niksedk merged 1 commit into
mainfrom
feature/set-start-and-go-to-next-12165

Conversation

@niksedk

@niksedk niksedk commented Jul 5, 2026

Copy link
Copy Markdown
Member

Fixes #12165

Analysis: the shortcut is genuinely missing

SE4 has a "Set start and go to next" adjust command (config key MainAdjustSetStartAndGotoNext) — it stamps the current video position as the selected line's start time and immediately advances selection to the next line. It was a core part of the rapid lyric/LRC syncing workflow.

SE5 has the two siblings — WaveformSetStartCommand ("Set start", F11) and WaveformSetEndAndGoToNextCommand ("Set end and go to next", F10) — but not "Set start and go to next". Confirmed absent from ShortcutsMain and the SE4 importer map. So the report is correct.

Fix

  • New command WaveformSetStartAndGoToNext in MainViewModel. It mirrors WaveformSetStart (start-only timestamp, ASSA multi-select aware, guards against setting start past end to avoid negative duration via SetStartTimeOnly which keeps the end fixed) and then advances with SelectAndScrollToRow(idx + 1) like WaveformSetEndAndGoToNext.
  • Registered in ShortcutsMain (command→label lookup + AddShortcut) so it shows up in the shortcut configuration UI under General.
  • SE4 import mapping MainAdjustSetStartAndGotoNextWaveformSetStartAndGoToNextCommand, so users importing their SE4 shortcut config get it wired automatically.
  • UI string SetStartAndGoToNext = "Set start and go to next" added to LanguageGeneral.cs and English.json.

Left unbound by default (like many sibling commands) so it can't collide with an existing default; the user assigns their preferred key in Options → Shortcuts.

Testing

  • Builds clean (0 warnings / 0 errors).
  • Se4ShortcutsImporterMapTests.EveryMappedSe4ShortcutTargetsARegisteredCommand passes — the new SE4 mapping targets a registered command.

🤖 Generated with Claude Code

SE4 had a "Set start and go to next" command (MainAdjustSetStartAndGotoNext)
that stamps the current video position as the selected line's start time and
advances to the next line - a core part of the rapid lyric/LRC syncing
workflow. SE5 had "Set start" and "Set end and go to next" but not this one.

Add WaveformSetStartAndGoToNextCommand (mirrors WaveformSetStart's start-only,
ASSA-multi-select-aware timestamping plus the go-to-next from
WaveformSetEndAndGoToNext), register it in the shortcut list, and map the SE4
key so imported SE4 configs pick it up. Left unbound by default so users assign
their own key. English UI string added.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@niksedk niksedk merged commit 61cfcb0 into main Jul 5, 2026
1 of 3 checks passed
@niksedk niksedk deleted the feature/set-start-and-go-to-next-12165 branch July 5, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SE4 Parity] Missing "Set start and go to next" shortcut in v5

1 participant