mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Formatting (whitespace only)
This commit is contained in:
parent
787794cdd8
commit
341c4dbe68
@ -326,7 +326,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
var sb = new StringBuilder();
|
||||
foreach (string line in lines)
|
||||
{
|
||||
|
||||
if (string.IsNullOrWhiteSpace(line))
|
||||
{
|
||||
if (sb.Length > 0)
|
||||
@ -750,7 +749,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
textBoxText.Visible = true;
|
||||
buttonOpenText.Text = Configuration.Settings.Language.ImportText.OpenTextFile;
|
||||
groupBoxSplitting.Enabled = true;
|
||||
|
||||
}
|
||||
GeneratePreview();
|
||||
}
|
||||
|
@ -132,7 +132,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
listBoxFileNames.Items.Add("[" + text + "] " + node.InnerText);
|
||||
_italics.Add(node.Attributes["Italic"] != null);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -567,7 +566,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -497,7 +497,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
return true;
|
||||
@ -553,7 +552,6 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
return true;
|
||||
@ -674,9 +672,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
if (count > giveUpCount - 100 && !tempVeryPrecise)
|
||||
tempVeryPrecise = true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void removeForegroundToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
|
@ -230,7 +230,6 @@ namespace Nikse.SubtitleEdit.Logic.BluRaySup
|
||||
bmp.SetPixel(x, y, color);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class PcsData
|
||||
@ -290,7 +289,6 @@ namespace Nikse.SubtitleEdit.Logic.BluRaySup
|
||||
}
|
||||
return mergedBmp;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class PdsData
|
||||
|
@ -5,7 +5,6 @@ using Nikse.SubtitleEdit.Logic.VobSub;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Logic.ContainerFormats.MaterialExchangeFormat
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Key-Length-Value MXF package - http://en.wikipedia.org/wiki/KLV + http://en.wikipedia.org/wiki/Material_Exchange_Format
|
||||
/// </summary>
|
||||
|
@ -116,7 +116,6 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
{
|
||||
if (culture.ThreeLetterISOLanguageName == threeLetterIsoLanguageName)
|
||||
{
|
||||
|
||||
string dictionaryFileName = null;
|
||||
foreach (string dic in Directory.GetFiles(dictionaryFolder, "*.dic"))
|
||||
{
|
||||
@ -154,7 +153,6 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
{
|
||||
if (culture.ThreeLetterISOLanguageName == threeLetterIsoLanguageName)
|
||||
{
|
||||
|
||||
string dictionaryFileName = null;
|
||||
foreach (string dic in Directory.GetFiles(dictionaryFolder, "*.dic"))
|
||||
{
|
||||
@ -636,7 +634,6 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
{
|
||||
input = input.Replace(".'", Configuration.Settings.Tools.MusicSymbol);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return input;
|
||||
@ -1240,7 +1237,6 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
||||
else
|
||||
_namesEtcListWithApostrophe.Add(s + "'");
|
||||
}
|
||||
|
||||
}
|
||||
if (_namesList != null)
|
||||
_namesList.Add(s);
|
||||
|
@ -42,7 +42,6 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
lines.Add(line);
|
||||
format.LoadSubtitle(sub, lines, string.Empty);
|
||||
return sub.Header;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -356,8 +355,6 @@ Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
|
||||
p.Extra = p.Extra.Split('/')[0].Trim();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
catch
|
||||
{
|
||||
@ -566,7 +563,6 @@ Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
|
||||
text += "</font>";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
text = text.Replace(@"{\i1}", "<i>");
|
||||
@ -890,7 +886,6 @@ Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text
|
||||
s = s.Replace("{}", string.Empty);
|
||||
|
||||
p.Text = s;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -123,7 +123,9 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
}
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
catch
|
||||
{
|
||||
}
|
||||
return info;
|
||||
}
|
||||
|
||||
@ -144,7 +146,9 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
info.Success = true;
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
catch
|
||||
{
|
||||
}
|
||||
return info;
|
||||
}
|
||||
|
||||
@ -427,7 +431,6 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
_lastNoBreakAfterListLanguage = languageName;
|
||||
|
||||
return _lastNoBreakAfterList;
|
||||
|
||||
}
|
||||
|
||||
public static string AutoBreakLineMoreThanTwoLines(string text, int maximumLineLength, string language)
|
||||
@ -955,7 +958,6 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
return encoding;
|
||||
}
|
||||
@ -3061,7 +3063,6 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
{
|
||||
subtitle.Header += Environment.NewLine + Environment.NewLine + "[Events]" + Environment.NewLine;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -29,7 +29,6 @@ namespace Test.Logic.Dictionaries
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -55,7 +54,6 @@ namespace Test.Logic.Dictionaries
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -80,7 +78,6 @@ namespace Test.Logic.Dictionaries
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -106,7 +103,6 @@ namespace Test.Logic.Dictionaries
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -132,7 +128,6 @@ namespace Test.Logic.Dictionaries
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -159,7 +154,6 @@ namespace Test.Logic.Dictionaries
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -185,7 +179,6 @@ namespace Test.Logic.Dictionaries
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -213,7 +206,6 @@ namespace Test.Logic.Dictionaries
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user