mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Formatting.
This commit is contained in:
parent
c7ee1076b2
commit
32381d6d1c
@ -1,10 +1,7 @@
|
||||
using Nikse.SubtitleEdit.Logic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using System.Xml;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
|
@ -2085,7 +2085,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (key.Length == 0 || value.Length == 0 || key == value || Utilities.IsInteger(key))
|
||||
return;
|
||||
|
||||
|
||||
var cb = comboBoxWordListLanguage.Items[comboBoxWordListLanguage.SelectedIndex] as ComboBoxLanguage;
|
||||
if (cb == null)
|
||||
return;
|
||||
|
@ -160,7 +160,6 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Retrieves the specified registry subkey value.
|
||||
/// </summary>
|
||||
|
@ -44,7 +44,6 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
var doc = LoadXmlReplaceListDocument();
|
||||
var userDoc = LoadXmlReplaceListUserDocument();
|
||||
|
||||
|
||||
WordReplaceList = LoadReplaceList(doc, "WholeWords");
|
||||
_partialWordReplaceListAlways = LoadReplaceList(doc, "PartialWordsAlways");
|
||||
_partialWordReplaceList = LoadReplaceList(doc, "PartialWords");
|
||||
|
@ -84,7 +84,8 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
System.Windows.Forms.RichTextBox rtBox = null;
|
||||
try
|
||||
{
|
||||
rtBox = new System.Windows.Forms.RichTextBox {
|
||||
rtBox = new System.Windows.Forms.RichTextBox
|
||||
{
|
||||
Rtf = rtf
|
||||
};
|
||||
|
||||
|
@ -8,7 +8,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
public class SonyDVDArchitect : SubtitleFormat
|
||||
{
|
||||
|
||||
static Regex Regex = new Regex(@"^\d\d:\d\d:\d\d:\d\d[ ]+-[ ]+\d\d:\d\d:\d\d:\d\d", RegexOptions.Compiled);
|
||||
private static Regex Regex = new Regex(@"^\d\d:\d\d:\d\d:\d\d[ ]+-[ ]+\d\d:\d\d:\d\d:\d\d", RegexOptions.Compiled);
|
||||
|
||||
public override string Extension
|
||||
{
|
||||
|
@ -356,7 +356,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers.MpcHC
|
||||
if (_form != null)
|
||||
{
|
||||
_form.OnCopyData -= OnCopyData;
|
||||
// _form.Dispose(); this give an error when doing File -> Exit...
|
||||
//_form.Dispose(); this gives an error when doing File -> Exit...
|
||||
_form = null;
|
||||
}
|
||||
|
||||
|
@ -217,6 +217,5 @@ namespace Test.Logic
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user