Formatting (whitespace only)

This commit is contained in:
Waldi Ravens 2015-06-14 19:15:35 +02:00
parent abdd80e672
commit f54cf304a3
4 changed files with 7 additions and 6 deletions

View File

@ -355,6 +355,7 @@ namespace Nikse.SubtitleEdit.Logic.Forms
// Okay! Narrator: Hello!
if (pre.IndexOfAny(new[] { '!', '?' }) > 0)
return false;
return true;
}
@ -889,7 +890,6 @@ namespace Nikse.SubtitleEdit.Logic.Forms
text = text.TrimStart('-').TrimStart();
}
}
return text;
}

View File

@ -67,7 +67,8 @@ namespace Test.Logic.SubtitleFormats
#region SubRip (.srt)
private static List<string> GetSrtLines(string text){
private static List<string> GetSrtLines(string text)
{
var lines = new List<string>();
string[] arr = text.Replace(Environment.NewLine, "\r").Replace("\n", "\r").Split('\r');
foreach (string line in arr)