SubtitleEdit / subtitleedit

the subtitle editor :)
http://www.nikse.dk/SubtitleEdit/Help
GNU General Public License v3.0
8.88k stars 915 forks source link

Issue with "split at cursor position" #5101

Closed darnn closed 1 year ago

darnn commented 3 years ago

Related to https://github.com/SubtitleEdit/subtitleedit/issues/5100, although it also happens when both the original and the translation have text. 3.6.1 NEXT beta 52. Once again, I'm using RTL mode, the regular textbox and frame time code mode. Use file->new. Insert a new subtitle using the "insert after" keyboard shortcut. Change the start time to 00:00:00:00 and the duration to 0.00. Use the "insert after" shortcut four more times, so you now have five empty subtitles. Enter text into the subtitles like in the screenshot below (feel free to substitute the Hebrew characters for something else, just as long as there's one character, a space and then another character). Save this file as "original.srt". Now use "make new empty translation from current subtitle". Enter text into the translation subtitles according to the screenshot below as well. Save the translation file as "translation.srt". se-split-short1

Now, if you try to use "split at cursor position" on one of the subtitles, either in the original or the translation textbox, you won't get the desired result. If I place the cursor between "a" and "b" in the first subtitle of the translation as above and use "split at cursor position", the result is this: se-split-short2

darnn commented 1 year ago

Seems to be fixed now. I'll reopen it if it crops up again.