Aliciana / subtitleedit

Automatically exported from code.google.com/p/subtitleedit
0 stars 0 forks source link

(REQUEST) Line breaks in subtitle textbox #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I had an idea. Let's see what you think of it...

When you press ENTER in the subtitle textbox, it creates a line break. 
Sometimes, one is trying to correct the position of a line break, because it 
should not be anywhere: lines should be balanced and semantic units should not 
be broken when possible.

So, if you consider that most subtitles should have 1 or 2 lines (except closed 
captioning), the ENTER key could behave like this:
- If there are no breaks, a break is inserted.
- If there is a break, a break is inserted at the cursor position and the next 
break is removed (it is changed to a space).
- If the cursor is at the end, it creates a break.

(Logically, the 3 points are the same. A break is always inserted and the next 
break --if found-- is removed.)

Users should have the option to turn it ON and OFF, maybe with a icon button 
close to the textbox.

Right now, when we create a break, we then have to remove the other one. This 
feaure would save some time when editing subtitles and also help prevent typing 
errors.

Thank you very much. Kind regards...

Original issue reported on code.google.com by adrianbe...@gmail.com on 9 Dec 2013 at 1:41

GoogleCodeExporter commented 9 years ago
Hi Adrian,

I think the shortcut "CTRL+R" for auto-break (can be customized via Options -> 
settings -> shortcuts -> textbox) is a better choice...

Original comment by nikse.dk@gmail.com on 13 Dec 2013 at 6:34

GoogleCodeExporter commented 9 years ago
OK. But autobreak can't be used professionally. As I said, "semantic units 
should not be broken." That's why line breaks should be inserted by hand, and 
never automatically.

Original comment by adrianbe...@gmail.com on 13 Dec 2013 at 6:39