From a2f6ea6be572c14af0b777b30df5f1d23ffec26f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 4 Aug 2013 09:48:59 +0000 Subject: [PATCH] ran tabspace git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1973 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- src/Controls/AudioVisualizer.cs | 2 +- src/Forms/DurationsBridgeGaps.cs | 2 +- src/Forms/ExportPngXml.cs | 2 +- src/Forms/FcpProperties.cs | 2 +- src/Forms/Main.cs | 8 ++++---- src/Forms/OpenVideoDvd.cs | 2 +- src/Logic/LanguageStructure.cs | 2 +- src/Logic/Settings.cs | 4 ++-- src/Logic/SubtitleFormats/Oresme.cs | 2 +- src/Logic/SubtitleFormats/UnknownSubtitle65.cs | 2 +- src/Logic/VideoPlayers/QuartsPlayer.cs | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Controls/AudioVisualizer.cs b/src/Controls/AudioVisualizer.cs index 94492d35b..56c0c2d99 100644 --- a/src/Controls/AudioVisualizer.cs +++ b/src/Controls/AudioVisualizer.cs @@ -414,7 +414,7 @@ namespace Nikse.SubtitleEdit.Controls int maxHeight = (int)(Math.Max(Math.Abs(_wavePeaks.DataMinValue), Math.Abs(_wavePeaks.DataMaxValue)) + 0.5); maxHeight = (int)(maxHeight * VerticalZoomPercent); if (maxHeight < 0) - maxHeight = 1000; + maxHeight = 1000; DrawBackground(graphics); int x = 0; diff --git a/src/Forms/DurationsBridgeGaps.cs b/src/Forms/DurationsBridgeGaps.cs index 65ba9c457..c7ff3b737 100644 --- a/src/Forms/DurationsBridgeGaps.cs +++ b/src/Forms/DurationsBridgeGaps.cs @@ -81,7 +81,7 @@ namespace Nikse.SubtitleEdit.Forms for (int i = 0; i < _fixedSubtitle.Paragraphs.Count - 1; i++) { - + Paragraph cur = _fixedSubtitle.Paragraphs[i]; Paragraph next = _fixedSubtitle.Paragraphs[i + 1]; string before = null; diff --git a/src/Forms/ExportPngXml.cs b/src/Forms/ExportPngXml.cs index 5e5aa4791..65837e341 100644 --- a/src/Forms/ExportPngXml.cs +++ b/src/Forms/ExportPngXml.cs @@ -859,7 +859,7 @@ $DROP=[DROPVALUE]" + Environment.NewLine + Environment.NewLine + string numberString = string.Format(Path.GetFileNameWithoutExtension(Path.GetFileName(param.SavDialogFileName)) + "{0:0000}", i); string fileName = numberString + "." + comboBoxImageFormat.Text.ToLower(); string fileNameNoPath = Path.GetFileName(fileName); - string fileNameNoExt = Path.GetFileNameWithoutExtension(fileNameNoPath); + string fileNameNoExt = Path.GetFileNameWithoutExtension(fileNameNoPath); string template = " " + Environment.NewLine + @" " + fileNameNoPath + @" [DURATION] diff --git a/src/Forms/FcpProperties.cs b/src/Forms/FcpProperties.cs index 6121cb065..8280f58d3 100644 --- a/src/Forms/FcpProperties.cs +++ b/src/Forms/FcpProperties.cs @@ -27,7 +27,7 @@ namespace Nikse.SubtitleEdit.Forms { numericUpDownFontSize.Value = 18; } - + } private void buttonOK_Click(object sender, EventArgs e) diff --git a/src/Forms/Main.cs b/src/Forms/Main.cs index 45394b996..c81265f1d 100644 --- a/src/Forms/Main.cs +++ b/src/Forms/Main.cs @@ -11999,7 +11999,7 @@ namespace Nikse.SubtitleEdit.Forms SubtitleListview1.SetDuration(firstSelectedIndex, currentParagraph); } catch - { + { } } } @@ -12063,7 +12063,7 @@ namespace Nikse.SubtitleEdit.Forms openFileDialog1.Title = Configuration.Settings.Language.General.OpenVideoFileTitle; openFileDialog1.FileName = string.Empty; openFileDialog1.Filter = Utilities.GetVideoFileFilter(true); - + openFileDialog1.FileName = string.Empty; if (openFileDialog1.ShowDialog() == DialogResult.OK) { @@ -12307,7 +12307,7 @@ namespace Nikse.SubtitleEdit.Forms value = trackBarWaveFormPosition.Minimum; trackBarWaveFormPosition.Value = value; trackBarWaveFormPosition.ValueChanged += trackBarWaveFormPosition_ValueChanged; - } + } } private void StopAutoDuration() @@ -13606,7 +13606,7 @@ namespace Nikse.SubtitleEdit.Forms audioVisualizer.ZoomFactor = item.ZoomFactor; } catch - { + { } } diff --git a/src/Forms/OpenVideoDvd.cs b/src/Forms/OpenVideoDvd.cs index d05cb734e..bbb9914f9 100644 --- a/src/Forms/OpenVideoDvd.cs +++ b/src/Forms/OpenVideoDvd.cs @@ -110,6 +110,6 @@ namespace Nikse.SubtitleEdit.Forms if (e.KeyCode == Keys.Escape) DialogResult = DialogResult.Cancel; } - + } } diff --git a/src/Logic/LanguageStructure.cs b/src/Logic/LanguageStructure.cs index 9e1c82429..c170cbb64 100644 --- a/src/Logic/LanguageStructure.cs +++ b/src/Logic/LanguageStructure.cs @@ -286,7 +286,7 @@ public string BridgeGapsSmallerThanXPart1 { get; set; } public string BridgeGapsSmallerThanXPart2 { get; set; } public string ProlongEndTime { get; set; } - public string DivideEven { get; set; } + public string DivideEven { get; set; } } public class DvdSubRip diff --git a/src/Logic/Settings.cs b/src/Logic/Settings.cs index cf76e51ac..ffa703036 100644 --- a/src/Logic/Settings.cs +++ b/src/Logic/Settings.cs @@ -193,7 +193,7 @@ namespace Nikse.SubtitleEdit.Logic public double SsaFontSize { get; set; } public int SsaFontColorArgb { get; set; } public string DCinemaFontFile { get; set; } - public string DCinemaLoadFontResource { get; set; } + public string DCinemaLoadFontResource { get; set; } public int DCinemaFontSize { get; set; } public int DCinemaBottomMargin { get; set; } public int DCinemaFadeUpDownTime { get; set; } @@ -264,7 +264,7 @@ namespace Nikse.SubtitleEdit.Logic } CurrentDCinemaIssueDate = DateTime.Now.ToString("s") + ".000-00:00"; CurrentDCinemaMovieTitle = "title"; - CurrentDCinemaReelNumber = "1"; + CurrentDCinemaReelNumber = "1"; CurrentDCinemaFontColor = Color.White; CurrentDCinemaFontEffect = "border"; CurrentDCinemaFontEffectColor = Color.Black; diff --git a/src/Logic/SubtitleFormats/Oresme.cs b/src/Logic/SubtitleFormats/Oresme.cs index ba67192fc..da2e97a99 100644 --- a/src/Logic/SubtitleFormats/Oresme.cs +++ b/src/Logic/SubtitleFormats/Oresme.cs @@ -63,7 +63,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats public override void LoadSubtitle(Subtitle subtitle, List lines, string fileName) { _errorCount = 0; - + subtitle.Paragraphs.Clear(); foreach (string line in lines) { diff --git a/src/Logic/SubtitleFormats/UnknownSubtitle65.cs b/src/Logic/SubtitleFormats/UnknownSubtitle65.cs index 76fecc91b..3a575ece0 100644 --- a/src/Logic/SubtitleFormats/UnknownSubtitle65.cs +++ b/src/Logic/SubtitleFormats/UnknownSubtitle65.cs @@ -43,7 +43,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats //The 8.7 update will bring the British self-propelled guns, the map, called Severogorsk, //00:00:13,00:00:18 -//the soviet light tank MT-25 and the new German premium TD, the E25. +//the soviet light tank MT-25 and the new German premium TD, the E25. //00:00:18,00:00:22 //We will tell you about this and lots of other things in our review. diff --git a/src/Logic/VideoPlayers/QuartsPlayer.cs b/src/Logic/VideoPlayers/QuartsPlayer.cs index eb704a4c0..b28c4d924 100644 --- a/src/Logic/VideoPlayers/QuartsPlayer.cs +++ b/src/Logic/VideoPlayers/QuartsPlayer.cs @@ -61,7 +61,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers public override double Duration { - get + get { try {