Split line at video and text box position

Open
#12,974 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
csharp
Domain
desktop

Research direction

Start at the implementation of “Split line at video and text box position” and locate the existing line-balancing logic used elsewhere in Subtitle Edit. Ensure each subtitle created by the split can be rebalanced independently while respecting the configured maximum line length, and verify the optional behavior produces more balanced lines.

Written by the indexing model from the issue text.

Description

When using "Split line at video and text box position", the resulting subtitles often have very poorly balanced line breaks.

For example, after splitting a long subtitle into two shorter ones, one of the resulting subtitles may end up looking like this:

One
very long subtitle line with many words

instead of something much more balanced.

I think this operation should optionally perform automatic line rebalancing on each newly created subtitle after the split.

In other words:

  1. Split the subtitle at the selected video/text position.
  2. Take each resulting subtitle independently.
  3. Apply the same line-balancing logic used elsewhere in Subtitle Edit (respecting the configured maximum line length).

This would produce much cleaner subtitles without requiring the user to manually rebalance both resulting subtitles every time.

An optional checkbox such as "Rebalance lines after split" (or simply reusing the existing rebalancing algorithm automatically) would make this feature much more practical.

Dominant language
C#
Stars
14.3k
Forks
1.3k
Avg merge
1h 19m
Merged PRs (30d)
782

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SubtitleEdit/subtitleedit

All issues in SubtitleEdit/subtitleedit

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.