mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
ran tabspace
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1973 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
47f49f5384
commit
a2f6ea6be5
@ -414,7 +414,7 @@ namespace Nikse.SubtitleEdit.Controls
|
|||||||
int maxHeight = (int)(Math.Max(Math.Abs(_wavePeaks.DataMinValue), Math.Abs(_wavePeaks.DataMaxValue)) + 0.5);
|
int maxHeight = (int)(Math.Max(Math.Abs(_wavePeaks.DataMinValue), Math.Abs(_wavePeaks.DataMaxValue)) + 0.5);
|
||||||
maxHeight = (int)(maxHeight * VerticalZoomPercent);
|
maxHeight = (int)(maxHeight * VerticalZoomPercent);
|
||||||
if (maxHeight < 0)
|
if (maxHeight < 0)
|
||||||
maxHeight = 1000;
|
maxHeight = 1000;
|
||||||
|
|
||||||
DrawBackground(graphics);
|
DrawBackground(graphics);
|
||||||
int x = 0;
|
int x = 0;
|
||||||
|
@ -81,7 +81,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
|
|
||||||
for (int i = 0; i < _fixedSubtitle.Paragraphs.Count - 1; i++)
|
for (int i = 0; i < _fixedSubtitle.Paragraphs.Count - 1; i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
Paragraph cur = _fixedSubtitle.Paragraphs[i];
|
Paragraph cur = _fixedSubtitle.Paragraphs[i];
|
||||||
Paragraph next = _fixedSubtitle.Paragraphs[i + 1];
|
Paragraph next = _fixedSubtitle.Paragraphs[i + 1];
|
||||||
string before = null;
|
string before = null;
|
||||||
|
@ -859,7 +859,7 @@ $DROP=[DROPVALUE]" + Environment.NewLine + Environment.NewLine +
|
|||||||
string numberString = string.Format(Path.GetFileNameWithoutExtension(Path.GetFileName(param.SavDialogFileName)) + "{0:0000}", i);
|
string numberString = string.Format(Path.GetFileNameWithoutExtension(Path.GetFileName(param.SavDialogFileName)) + "{0:0000}", i);
|
||||||
string fileName = numberString + "." + comboBoxImageFormat.Text.ToLower();
|
string fileName = numberString + "." + comboBoxImageFormat.Text.ToLower();
|
||||||
string fileNameNoPath = Path.GetFileName(fileName);
|
string fileNameNoPath = Path.GetFileName(fileName);
|
||||||
string fileNameNoExt = Path.GetFileNameWithoutExtension(fileNameNoPath);
|
string fileNameNoExt = Path.GetFileNameWithoutExtension(fileNameNoPath);
|
||||||
string template = " <clipitem id=\"" + fileNameNoPath + "\">" + Environment.NewLine +
|
string template = " <clipitem id=\"" + fileNameNoPath + "\">" + Environment.NewLine +
|
||||||
@" <name>" + fileNameNoPath + @"</name>
|
@" <name>" + fileNameNoPath + @"</name>
|
||||||
<duration>[DURATION]</duration>
|
<duration>[DURATION]</duration>
|
||||||
|
@ -27,7 +27,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
{
|
{
|
||||||
numericUpDownFontSize.Value = 18;
|
numericUpDownFontSize.Value = 18;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void buttonOK_Click(object sender, EventArgs e)
|
private void buttonOK_Click(object sender, EventArgs e)
|
||||||
|
@ -11999,7 +11999,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
SubtitleListview1.SetDuration(firstSelectedIndex, currentParagraph);
|
SubtitleListview1.SetDuration(firstSelectedIndex, currentParagraph);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -12063,7 +12063,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
openFileDialog1.Title = Configuration.Settings.Language.General.OpenVideoFileTitle;
|
openFileDialog1.Title = Configuration.Settings.Language.General.OpenVideoFileTitle;
|
||||||
openFileDialog1.FileName = string.Empty;
|
openFileDialog1.FileName = string.Empty;
|
||||||
openFileDialog1.Filter = Utilities.GetVideoFileFilter(true);
|
openFileDialog1.Filter = Utilities.GetVideoFileFilter(true);
|
||||||
|
|
||||||
openFileDialog1.FileName = string.Empty;
|
openFileDialog1.FileName = string.Empty;
|
||||||
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
@ -12307,7 +12307,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
value = trackBarWaveFormPosition.Minimum;
|
value = trackBarWaveFormPosition.Minimum;
|
||||||
trackBarWaveFormPosition.Value = value;
|
trackBarWaveFormPosition.Value = value;
|
||||||
trackBarWaveFormPosition.ValueChanged += trackBarWaveFormPosition_ValueChanged;
|
trackBarWaveFormPosition.ValueChanged += trackBarWaveFormPosition_ValueChanged;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void StopAutoDuration()
|
private void StopAutoDuration()
|
||||||
@ -13606,7 +13606,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
audioVisualizer.ZoomFactor = item.ZoomFactor;
|
audioVisualizer.ZoomFactor = item.ZoomFactor;
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,6 +110,6 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
if (e.KeyCode == Keys.Escape)
|
if (e.KeyCode == Keys.Escape)
|
||||||
DialogResult = DialogResult.Cancel;
|
DialogResult = DialogResult.Cancel;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -286,7 +286,7 @@
|
|||||||
public string BridgeGapsSmallerThanXPart1 { get; set; }
|
public string BridgeGapsSmallerThanXPart1 { get; set; }
|
||||||
public string BridgeGapsSmallerThanXPart2 { get; set; }
|
public string BridgeGapsSmallerThanXPart2 { get; set; }
|
||||||
public string ProlongEndTime { get; set; }
|
public string ProlongEndTime { get; set; }
|
||||||
public string DivideEven { get; set; }
|
public string DivideEven { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DvdSubRip
|
public class DvdSubRip
|
||||||
|
@ -193,7 +193,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
public double SsaFontSize { get; set; }
|
public double SsaFontSize { get; set; }
|
||||||
public int SsaFontColorArgb { get; set; }
|
public int SsaFontColorArgb { get; set; }
|
||||||
public string DCinemaFontFile { get; set; }
|
public string DCinemaFontFile { get; set; }
|
||||||
public string DCinemaLoadFontResource { get; set; }
|
public string DCinemaLoadFontResource { get; set; }
|
||||||
public int DCinemaFontSize { get; set; }
|
public int DCinemaFontSize { get; set; }
|
||||||
public int DCinemaBottomMargin { get; set; }
|
public int DCinemaBottomMargin { get; set; }
|
||||||
public int DCinemaFadeUpDownTime { get; set; }
|
public int DCinemaFadeUpDownTime { get; set; }
|
||||||
@ -264,7 +264,7 @@ namespace Nikse.SubtitleEdit.Logic
|
|||||||
}
|
}
|
||||||
CurrentDCinemaIssueDate = DateTime.Now.ToString("s") + ".000-00:00";
|
CurrentDCinemaIssueDate = DateTime.Now.ToString("s") + ".000-00:00";
|
||||||
CurrentDCinemaMovieTitle = "title";
|
CurrentDCinemaMovieTitle = "title";
|
||||||
CurrentDCinemaReelNumber = "1";
|
CurrentDCinemaReelNumber = "1";
|
||||||
CurrentDCinemaFontColor = Color.White;
|
CurrentDCinemaFontColor = Color.White;
|
||||||
CurrentDCinemaFontEffect = "border";
|
CurrentDCinemaFontEffect = "border";
|
||||||
CurrentDCinemaFontEffectColor = Color.Black;
|
CurrentDCinemaFontEffectColor = Color.Black;
|
||||||
|
@ -63,7 +63,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
|||||||
public override void LoadSubtitle(Subtitle subtitle, List<string> lines, string fileName)
|
public override void LoadSubtitle(Subtitle subtitle, List<string> lines, string fileName)
|
||||||
{
|
{
|
||||||
_errorCount = 0;
|
_errorCount = 0;
|
||||||
|
|
||||||
subtitle.Paragraphs.Clear();
|
subtitle.Paragraphs.Clear();
|
||||||
foreach (string line in lines)
|
foreach (string line in lines)
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
|||||||
//The 8.7 update will bring the British self-propelled guns, the map, called Severogorsk,
|
//The 8.7 update will bring the British self-propelled guns, the map, called Severogorsk,
|
||||||
|
|
||||||
//00:00:13,00:00:18
|
//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
|
//00:00:18,00:00:22
|
||||||
//We will tell you about this and lots of other things in our review.
|
//We will tell you about this and lots of other things in our review.
|
||||||
|
@ -61,7 +61,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers
|
|||||||
|
|
||||||
public override double Duration
|
public override double Duration
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user