Add "Assisted split" and "Assisted move" windows with ranked one-click suggestions - #14198
Merged
Conversation
New window (issue #14195) that offers up to five ranked split scenarios for the selected line - dialog dash, sentence end, line break, comma, or the space nearest the middle - each with a live preview of both halves (text, time codes, chars and CPS) produced by running the real SplitManager on a copy. A suggestion is applied with a single click or by pressing its number (1-5). Available from the subtitle grid context menu ("Assisted split...") and as an assignable shortcut (no default binding). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
New "Assisted move" window (issue #14195) offering ranked one-click word and sentence-fragment moves between the selected line and its neighbors, or between the two lines of the line itself. The suggestions are context aware: cross-subtitle options are only offered where the sentence actually continues across that boundary, so a line that runs on into the next only gets "with next" options and moves into a neighbor starting a new sentence or a new dialog are left out entirely. Options include moving the unfinished sentence across in one go, balancing the two subtitles by moving as many words as needed, and single-word moves. Both sides are re-broken with the auto-balancer afterwards, and the boundary time moves with the text - the outer start/end and the gap are preserved while the span between is divided proportionally to the new text lengths. Shared polish for both assisted windows: - green-ish background on the hovered/focused option card - no Cancel button; Escape or the window close button cancels - the card list scrolls (capped to the screen) with spacing below the last card - a status bar message when there are no suggestions instead of nothing happening Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Merged
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.
Implements the idea from #14195 discussion: instead of remembering shortcuts, two new windows offer the most sensible edits for the selected line as ranked one-click choices with full previews.
Assisted split
SplitManageron a copy, so continuation style, tag fix-up and the text-weighted time split are exactly what you get.Dialog line - dialog dash ranked first, dashes removed in the halves:
After pressing "1" on the first example - times and text match the preview:
Assisted move
Word and sentence-fragment moves between the selected line and its neighbours, or between its own two lines.
Shared
Note: the three assisted split images above are from an earlier iteration and still show a Cancel button, which has since been removed.
Covers the "logical split scenarios" and word/line move parts of #14195.
🤖 Generated with Claude Code