Run tabspace.

This commit is contained in:
XhmikosR 2014-08-05 08:55:38 +03:00
parent 2094ff2586
commit 1af2051eb3
6 changed files with 11 additions and 11 deletions

View File

@ -935,7 +935,7 @@ namespace Nikse.SubtitleEdit.Forms
{
noOfShortDisplayTimes = MoveStartTime(fixAction, noOfShortDisplayTimes, p, temp, next);
}
// Make current subtitle duration longer + move next subtitle
else if (diffMs < 1200 &&
p.StartTime.TotalMilliseconds > Configuration.Settings.General.SubtitleMinimumDisplayMilliseconds &&

View File

@ -7,10 +7,10 @@ namespace Nikse.SubtitleEdit.Forms
{
public partial class SetVideoOffset : Form
{
public bool FromCurrentVideoPosition { get; set; }
public bool FromCurrentVideoPosition { get; set; }
private TimeCode _videoOffset = new TimeCode(0);
public TimeCode VideoOffset
public TimeCode VideoOffset
{
get
{
@ -26,13 +26,13 @@ namespace Nikse.SubtitleEdit.Forms
public SetVideoOffset()
{
InitializeComponent();
Text = Configuration.Settings.Language.SetVideoOffset.Title;
labelDescription.Text = Configuration.Settings.Language.SetVideoOffset.Description;
checkBoxFromCurrentPosition.Text = Configuration.Settings.Language.SetVideoOffset.RelativeToCurrentVideoPosition;
buttonOK.Text = Configuration.Settings.Language.General.OK;
buttonCancel.Text = Configuration.Settings.Language.General.Cancel;
FixLargeFonts();
FixLargeFonts();
}
private void FixLargeFonts()

View File

@ -83,7 +83,7 @@ namespace Nikse.SubtitleEdit.Forms
minimumCharsSec = charsSec;
if (charsSec > maximumCharsSec)
maximumCharsSec = charsSec;
totalCharsSec += charsSec;
totalCharsSec += charsSec;
foreach (string line in p.Text.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries))
{

View File

@ -161,7 +161,7 @@ namespace Nikse.SubtitleEdit.Logic
string appDataRoamingPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Subtitle Edit");
if ((installerPath != null && installerPath.ToLower().TrimEnd(Path.DirectorySeparatorChar) == BaseDirectory.ToLower().TrimEnd(Path.DirectorySeparatorChar)) ||
hasUninstallFiles ||
hasUninstallFiles ||
(!hasDictionaryFolder && Directory.Exists(Path.Combine(appDataRoamingPath, "Dictionaries"))))
{
if (Directory.Exists(appDataRoamingPath))
@ -183,7 +183,7 @@ namespace Nikse.SubtitleEdit.Logic
System.Windows.Forms.Application.ExitThread();
}
}
}
}
else
{
Instance._dataDir = BaseDirectory;

View File

@ -1827,7 +1827,7 @@
{
public string Title { get; set; }
public string Description { get; set; }
public string RelativeToCurrentVideoPosition { get; set; }
public string RelativeToCurrentVideoPosition { get; set; }
}
public class ShowEarlierLater

View File

@ -168,7 +168,7 @@ namespace Test
string s1 = "Was het in het voor- of najaar?";
string s2 = Utilities.RemoveUnneededSpaces(s1, "nl");
Assert.AreEqual(s2, s1);
}
}
}
}