diff --git a/src/ChangeLog.txt b/src/ChangeLog.txt index ce48282ec..f0a453966 100644 --- a/src/ChangeLog.txt +++ b/src/ChangeLog.txt @@ -5,8 +5,10 @@ Subtitle Edit Changelog * Collaboration via the internet ("Networking", also has chat) * Auto-backup (never, every minute, every 5th minute, or every 15th minute) * Video player/controls/wave form can now be un-docked (e.g. for ppl for multiple monitors) + * Can now spell check via Word (Options -> Settings:General -> Spell checker) * Ability to remember the last selected line when re-opening subtitles (thx Frederic) - * Support for the subtitle format "Quicktime text" (two variations) + * Now remembers video file and original subtitle (thx Luis) + * Support for the subtitle format "Quicktime text" (two variations) + Scenarist + Adobe Encore * Added "Chars/sec" info to textbox in main window (thx Kerensky) * Options to choose font color and background color (for list view/text-boxes) * Can now import VobSub subtitles embedded in Matroska (.mkv) files (thx mosu for mkv info) @@ -21,15 +23,16 @@ Subtitle Edit Changelog * Added a few buttons to 'Multiple replace' which is now re-sizable (thx sialivi) * Moved video controls below subtitle preview (which now displays italic) * Fix common ocr errors improed (thx aMvEL, sialivi, Alberto) + * Start/display time changes are now undo-able (thx Luis) * FIXED: - * Wave form: Fixed unprecise (out of sync) wave form data (only happened for some sample rates) - * OCR Fix Engine: Lines after "..." will no longer be changed to start with uppercase letter - * Missing line break in Sony Dvd Architecht w line numbers (thx Rosa) - * A minor bug in initialization of waveform (thx Frederic) - * A minor bug in Visual Sync, if end scene was after video length (thx tsieberg) + * Wave form: Fixed unprecise (out of sync) wave form data for some sample rates * Fixed crash with wave form track bar (thx Christian) + * A minor bug in initialization of waveform (thx Frederic) * Fixed several bugs regarding 'large fonts' / higher dpi (thx Radbert) - + * Fixed memory leak in VobSub SubPicture class (thx Almogzt) + * Missing line break in Sony Dvd Architecht w line numbers (thx Rosa) + * A minor bug in Visual Sync, if end scene was after video length (thx tsieberg) + * OCR Fix Engine: Lines after "..." will no longer be changed to start with uppercase letter 3.0 (18th November 2010) * NEW: diff --git a/src/Logic/SubtitleFormats/TimeXml.cs b/src/Logic/SubtitleFormats/TimeXml.cs index 99da0fbab..adae75931 100644 --- a/src/Logic/SubtitleFormats/TimeXml.cs +++ b/src/Logic/SubtitleFormats/TimeXml.cs @@ -80,10 +80,15 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats StringBuilder sb = new StringBuilder(); lines.ForEach(line => sb.AppendLine(line)); + + string xmlString = sb.ToString(); + if (!xmlString.Contains("") || !xmlString.Contains("")) + return; + XmlDocument xml = new XmlDocument(); try { - xml.LoadXml(sb.ToString()); + xml.LoadXml(xmlString); } catch { diff --git a/src/Logic/SubtitleFormats/UnknownSubtitle5.cs b/src/Logic/SubtitleFormats/UnknownSubtitle5.cs index 8ad7ac62e..eafe72f05 100644 --- a/src/Logic/SubtitleFormats/UnknownSubtitle5.cs +++ b/src/Logic/SubtitleFormats/UnknownSubtitle5.cs @@ -74,10 +74,15 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats StringBuilder sb = new StringBuilder(); lines.ForEach(line => sb.AppendLine(line)); + + string allText = sb.ToString(); + if (!allText.Contains("