mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
parent
85df9bd327
commit
40590d1b65
@ -16,6 +16,7 @@
|
|||||||
* Take ASSA style from file in CLI - thx Ninelpienel
|
* Take ASSA style from file in CLI - thx Ninelpienel
|
||||||
* Split long lines in CLI - thx BenJamesAndo
|
* Split long lines in CLI - thx BenJamesAndo
|
||||||
* Add new "Remove text for HI" option "only music symbols" - thx fraternl
|
* Add new "Remove text for HI" option "only music symbols" - thx fraternl
|
||||||
|
* Add format "Cavena 890" to "Batch convert" - thx Steve
|
||||||
* IMPROVED:
|
* IMPROVED:
|
||||||
* Update Korean translation - thx domddol
|
* Update Korean translation - thx domddol
|
||||||
* Update Italian language - thx bovirus
|
* Update Italian language - thx bovirus
|
||||||
@ -65,6 +66,7 @@
|
|||||||
* Fix issues with "Set end, add new, and go to new" - thx Lorqu1n/Flitskikker
|
* Fix issues with "Set end, add new, and go to new" - thx Lorqu1n/Flitskikker
|
||||||
* Fix some missing Thai characters in format PAC - thx thehulk
|
* Fix some missing Thai characters in format PAC - thx thehulk
|
||||||
* Fix crash in spell check - thx Omair
|
* Fix crash in spell check - thx Omair
|
||||||
|
* Fix crash minimizing ASSA batch styles - thx Åke
|
||||||
|
|
||||||
|
|
||||||
4.0.1 (16th September 2023)
|
4.0.1 (16th September 2023)
|
||||||
|
@ -43,4 +43,5 @@
|
|||||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Tesseract/@EntryIndexedValue">True</s:Boolean>
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Tesseract/@EntryIndexedValue">True</s:Boolean>
|
||||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Unbreak/@EntryIndexedValue">True</s:Boolean>
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Unbreak/@EntryIndexedValue">True</s:Boolean>
|
||||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Undocked/@EntryIndexedValue">True</s:Boolean>
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Undocked/@EntryIndexedValue">True</s:Boolean>
|
||||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Vanc/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Vanc/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/UserDictionary/Words/=Vosk/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
@ -8086,11 +8086,13 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
var undoLineIndex = -1;
|
||||||
int selectedIndex = FirstSelectedIndex;
|
int selectedIndex = FirstSelectedIndex;
|
||||||
if (undo)
|
if (undo)
|
||||||
{
|
{
|
||||||
_subtitle.HistoryItems[_undoIndex].RedoParagraphs = new List<Paragraph>();
|
_subtitle.HistoryItems[_undoIndex].RedoParagraphs = new List<Paragraph>();
|
||||||
_subtitle.HistoryItems[_undoIndex].RedoParagraphsOriginal = new List<Paragraph>();
|
_subtitle.HistoryItems[_undoIndex].RedoParagraphsOriginal = new List<Paragraph>();
|
||||||
|
undoLineIndex = _subtitle.HistoryItems[_undoIndex].LineIndex;
|
||||||
|
|
||||||
foreach (var p in _subtitle.Paragraphs)
|
foreach (var p in _subtitle.Paragraphs)
|
||||||
{
|
{
|
||||||
@ -8206,6 +8208,11 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
UpdateSourceView();
|
UpdateSourceView();
|
||||||
SubtitleListview1.Fill(_subtitle, _subtitleOriginal);
|
SubtitleListview1.Fill(_subtitle, _subtitleOriginal);
|
||||||
|
|
||||||
|
if (undoLineIndex >= 0 && undoLineIndex < _subtitle.Paragraphs.Count)
|
||||||
|
{
|
||||||
|
selectedIndex = undoLineIndex;
|
||||||
|
}
|
||||||
|
|
||||||
if (selectedIndex >= _subtitle.Paragraphs.Count)
|
if (selectedIndex >= _subtitle.Paragraphs.Count)
|
||||||
{
|
{
|
||||||
SubtitleListview1.SelectIndexAndEnsureVisible(_subtitle.Paragraphs.Count - 1, true);
|
SubtitleListview1.SelectIndexAndEnsureVisible(_subtitle.Paragraphs.Count - 1, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user