ran tabspace

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1973 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
XhmikosR 2013-08-04 09:48:59 +00:00
parent 47f49f5384
commit a2f6ea6be5
11 changed files with 15 additions and 15 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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 = " <clipitem id=\"" + fileNameNoPath + "\">" + Environment.NewLine +
@" <name>" + fileNameNoPath + @"</name>
<duration>[DURATION]</duration>

View File

@ -27,7 +27,7 @@ namespace Nikse.SubtitleEdit.Forms
{
numericUpDownFontSize.Value = 18;
}
}
private void buttonOK_Click(object sender, EventArgs e)

View File

@ -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
{
{
}
}

View File

@ -110,6 +110,6 @@ namespace Nikse.SubtitleEdit.Forms
if (e.KeyCode == Keys.Escape)
DialogResult = DialogResult.Cancel;
}
}
}

View File

@ -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

View File

@ -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;

View File

@ -63,7 +63,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
public override void LoadSubtitle(Subtitle subtitle, List<string> lines, string fileName)
{
_errorCount = 0;
subtitle.Paragraphs.Clear();
foreach (string line in lines)
{

View File

@ -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.

View File

@ -61,7 +61,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers
public override double Duration
{
get
get
{
try
{