diff --git a/src/Forms/Main.Designer.cs b/src/Forms/Main.Designer.cs index 059a6819c..df0dbe9d3 100644 --- a/src/Forms/Main.Designer.cs +++ b/src/Forms/Main.Designer.cs @@ -104,6 +104,7 @@ this.ChangeCasingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemChangeFramerate = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItemAutoMergeShortLines = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItemAutoSplitLongLines = new System.Windows.Forms.ToolStripMenuItem(); this.setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.sortNumberToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -374,7 +375,7 @@ // this.toolStripSelected.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripSelected.Name = "toolStripSelected"; - this.toolStripSelected.Size = new System.Drawing.Size(292, 20); + this.toolStripSelected.Size = new System.Drawing.Size(312, 20); this.toolStripSelected.Spring = true; this.toolStripSelected.Text = "toolStripSelected"; this.toolStripSelected.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -384,7 +385,7 @@ this.toolStripStatusNetworking.Image = global::Nikse.SubtitleEdit.Properties.Resources.connect; this.toolStripStatusNetworking.Name = "toolStripStatusNetworking"; this.toolStripStatusNetworking.Padding = new System.Windows.Forms.Padding(50, 0, 0, 0); - this.toolStripStatusNetworking.Size = new System.Drawing.Size(237, 20); + this.toolStripStatusNetworking.Size = new System.Drawing.Size(217, 20); this.toolStripStatusNetworking.Text = "toolStripStatusNetworking"; this.toolStripStatusNetworking.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.toolStripStatusNetworking.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; @@ -422,7 +423,7 @@ this.toolStripLabelFrameRate, this.toolStripComboBoxFrameRate, this.toolStripButtonGetFrameRate}); - this.toolStrip1.Location = new System.Drawing.Point(0, 26); + this.toolStrip1.Location = new System.Drawing.Point(0, 24); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(1244, 40); this.toolStrip1.TabIndex = 5; @@ -607,7 +608,7 @@ // toolStripLabelSubtitleFormat // this.toolStripLabelSubtitleFormat.Name = "toolStripLabelSubtitleFormat"; - this.toolStripLabelSubtitleFormat.Size = new System.Drawing.Size(103, 37); + this.toolStripLabelSubtitleFormat.Size = new System.Drawing.Size(89, 37); this.toolStripLabelSubtitleFormat.Text = "Subtitle format"; // // comboBoxSubtitleFormats @@ -627,7 +628,7 @@ // toolStripLabelEncoding // this.toolStripLabelEncoding.Name = "toolStripLabelEncoding"; - this.toolStripLabelEncoding.Size = new System.Drawing.Size(90, 37); + this.toolStripLabelEncoding.Size = new System.Drawing.Size(78, 37); this.toolStripLabelEncoding.Text = "File encoding"; // // comboBoxEncoding @@ -651,7 +652,7 @@ // toolStripLabelFrameRate // this.toolStripLabelFrameRate.Name = "toolStripLabelFrameRate"; - this.toolStripLabelFrameRate.Size = new System.Drawing.Size(81, 37); + this.toolStripLabelFrameRate.Size = new System.Drawing.Size(66, 37); this.toolStripLabelFrameRate.Text = "Frame rate"; // // toolStripComboBoxFrameRate @@ -666,7 +667,7 @@ this.toolStripButtonGetFrameRate.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonGetFrameRate.Image"))); this.toolStripButtonGetFrameRate.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonGetFrameRate.Name = "toolStripButtonGetFrameRate"; - this.toolStripButtonGetFrameRate.Size = new System.Drawing.Size(27, 37); + this.toolStripButtonGetFrameRate.Size = new System.Drawing.Size(23, 37); this.toolStripButtonGetFrameRate.Text = "..."; this.toolStripButtonGetFrameRate.ToolTipText = "Get frame rate from video file"; this.toolStripButtonGetFrameRate.Click += new System.EventHandler(this.ButtonGetFrameRateClick); @@ -687,7 +688,7 @@ this.helpToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Size = new System.Drawing.Size(1244, 26); + this.menuStrip1.Size = new System.Drawing.Size(1244, 24); this.menuStrip1.TabIndex = 6; this.menuStrip1.Text = "menuStrip1"; // @@ -713,7 +714,7 @@ this.toolStripSeparator10, this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(40, 22); + this.fileToolStripMenuItem.Size = new System.Drawing.Size(36, 20); this.fileToolStripMenuItem.Text = "File"; this.fileToolStripMenuItem.DropDownOpening += new System.EventHandler(this.fileToolStripMenuItem_DropDownOpening); // @@ -721,7 +722,7 @@ // this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); - this.newToolStripMenuItem.Size = new System.Drawing.Size(381, 22); + this.newToolStripMenuItem.Size = new System.Drawing.Size(334, 22); this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.NewToolStripMenuItemClick); // @@ -729,113 +730,113 @@ // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); - this.openToolStripMenuItem.Size = new System.Drawing.Size(381, 22); + this.openToolStripMenuItem.Size = new System.Drawing.Size(334, 22); this.openToolStripMenuItem.Text = "Open"; this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenToolStripMenuItemClick); // // reopenToolStripMenuItem // this.reopenToolStripMenuItem.Name = "reopenToolStripMenuItem"; - this.reopenToolStripMenuItem.Size = new System.Drawing.Size(381, 22); + this.reopenToolStripMenuItem.Size = new System.Drawing.Size(334, 22); this.reopenToolStripMenuItem.Text = "Reopen"; // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); - this.saveToolStripMenuItem.Size = new System.Drawing.Size(381, 22); + this.saveToolStripMenuItem.Size = new System.Drawing.Size(334, 22); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveToolStripMenuItemClick); // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; - this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(381, 22); + this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(334, 22); this.saveAsToolStripMenuItem.Text = "Save as..."; this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsToolStripMenuItemClick); // // toolStripSeparator12 // this.toolStripSeparator12.Name = "toolStripSeparator12"; - this.toolStripSeparator12.Size = new System.Drawing.Size(378, 6); + this.toolStripSeparator12.Size = new System.Drawing.Size(331, 6); // // toolStripMenuItemOpenContainingFolder // this.toolStripMenuItemOpenContainingFolder.Name = "toolStripMenuItemOpenContainingFolder"; - this.toolStripMenuItemOpenContainingFolder.Size = new System.Drawing.Size(381, 22); + this.toolStripMenuItemOpenContainingFolder.Size = new System.Drawing.Size(334, 22); this.toolStripMenuItemOpenContainingFolder.Text = "Open containing folder"; this.toolStripMenuItemOpenContainingFolder.Click += new System.EventHandler(this.toolStripMenuItemOpenContainingFolder_Click); // // toolStripMenuItemCompare // this.toolStripMenuItemCompare.Name = "toolStripMenuItemCompare"; - this.toolStripMenuItemCompare.Size = new System.Drawing.Size(381, 22); + this.toolStripMenuItemCompare.Size = new System.Drawing.Size(334, 22); this.toolStripMenuItemCompare.Text = "Compare..."; this.toolStripMenuItemCompare.Click += new System.EventHandler(this.ToolStripMenuItemCompareClick); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(378, 6); + this.toolStripSeparator1.Size = new System.Drawing.Size(331, 6); // // toolStripMenuItemImportDvdSubtitles // this.toolStripMenuItemImportDvdSubtitles.Name = "toolStripMenuItemImportDvdSubtitles"; - this.toolStripMenuItemImportDvdSubtitles.Size = new System.Drawing.Size(381, 22); + this.toolStripMenuItemImportDvdSubtitles.Size = new System.Drawing.Size(334, 22); this.toolStripMenuItemImportDvdSubtitles.Text = "Import/OCR subtitle from vob/ifo (dvd) ..."; this.toolStripMenuItemImportDvdSubtitles.Click += new System.EventHandler(this.ToolStripMenuItemImportDvdSubtitlesClick); // // toolStripMenuItemSubIdx // this.toolStripMenuItemSubIdx.Name = "toolStripMenuItemSubIdx"; - this.toolStripMenuItemSubIdx.Size = new System.Drawing.Size(381, 22); + this.toolStripMenuItemSubIdx.Size = new System.Drawing.Size(334, 22); this.toolStripMenuItemSubIdx.Text = "Import/OCR VobSub (sub/idx) subtitle..."; this.toolStripMenuItemSubIdx.Click += new System.EventHandler(this.ToolStripMenuItemSubIdxClick1); // // toolStripMenuItemImportBluRaySup // this.toolStripMenuItemImportBluRaySup.Name = "toolStripMenuItemImportBluRaySup"; - this.toolStripMenuItemImportBluRaySup.Size = new System.Drawing.Size(381, 22); + this.toolStripMenuItemImportBluRaySup.Size = new System.Drawing.Size(334, 22); this.toolStripMenuItemImportBluRaySup.Text = "Import/OCR BluRay sup file..."; this.toolStripMenuItemImportBluRaySup.Click += new System.EventHandler(this.toolStripMenuItemImportBluRaySup_Click); // // matroskaImportStripMenuItem // this.matroskaImportStripMenuItem.Name = "matroskaImportStripMenuItem"; - this.matroskaImportStripMenuItem.Size = new System.Drawing.Size(381, 22); + this.matroskaImportStripMenuItem.Size = new System.Drawing.Size(334, 22); this.matroskaImportStripMenuItem.Text = "Import subtitle from Matroska file..."; this.matroskaImportStripMenuItem.Click += new System.EventHandler(this.MatroskaImportStripMenuItemClick); // // toolStripMenuItemManualAnsi // this.toolStripMenuItemManualAnsi.Name = "toolStripMenuItemManualAnsi"; - this.toolStripMenuItemManualAnsi.Size = new System.Drawing.Size(381, 22); + this.toolStripMenuItemManualAnsi.Size = new System.Drawing.Size(334, 22); this.toolStripMenuItemManualAnsi.Text = "Import subtitle with manual chosen encoding..."; this.toolStripMenuItemManualAnsi.Click += new System.EventHandler(this.ToolStripMenuItemManualAnsiClick); // // toolStripMenuItemImportText // this.toolStripMenuItemImportText.Name = "toolStripMenuItemImportText"; - this.toolStripMenuItemImportText.Size = new System.Drawing.Size(381, 22); + this.toolStripMenuItemImportText.Size = new System.Drawing.Size(334, 22); this.toolStripMenuItemImportText.Text = "Import text..."; this.toolStripMenuItemImportText.Click += new System.EventHandler(this.toolStripMenuItemImportText_Click); // // toolStripMenuItemImportTimeCodes // this.toolStripMenuItemImportTimeCodes.Name = "toolStripMenuItemImportTimeCodes"; - this.toolStripMenuItemImportTimeCodes.Size = new System.Drawing.Size(381, 22); + this.toolStripMenuItemImportTimeCodes.Size = new System.Drawing.Size(334, 22); this.toolStripMenuItemImportTimeCodes.Text = "Import time codes into existing subtitle..."; this.toolStripMenuItemImportTimeCodes.Click += new System.EventHandler(this.toolStripMenuItemImportTimeCodes_Click); // // toolStripSeparator10 // this.toolStripSeparator10.Name = "toolStripSeparator10"; - this.toolStripSeparator10.Size = new System.Drawing.Size(378, 6); + this.toolStripSeparator10.Size = new System.Drawing.Size(331, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(381, 22); + this.exitToolStripMenuItem.Size = new System.Drawing.Size(334, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick); // @@ -853,28 +854,28 @@ this.multipleReplaceToolStripMenuItem, this.gotoLineNumberToolStripMenuItem}); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; - this.editToolStripMenuItem.Size = new System.Drawing.Size(43, 22); + this.editToolStripMenuItem.Size = new System.Drawing.Size(40, 20); this.editToolStripMenuItem.Text = "Edit"; this.editToolStripMenuItem.DropDownOpening += new System.EventHandler(this.EditToolStripMenuItemDropDownOpening); // // showHistoryforUndoToolStripMenuItem // this.showHistoryforUndoToolStripMenuItem.Name = "showHistoryforUndoToolStripMenuItem"; - this.showHistoryforUndoToolStripMenuItem.Size = new System.Drawing.Size(252, 22); + this.showHistoryforUndoToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this.showHistoryforUndoToolStripMenuItem.Text = "Show history (for undo)"; this.showHistoryforUndoToolStripMenuItem.Click += new System.EventHandler(this.ShowHistoryforUndoToolStripMenuItemClick); // // toolStripMenuItemTranslationMode // this.toolStripMenuItemTranslationMode.Name = "toolStripMenuItemTranslationMode"; - this.toolStripMenuItemTranslationMode.Size = new System.Drawing.Size(252, 22); + this.toolStripMenuItemTranslationMode.Size = new System.Drawing.Size(222, 22); this.toolStripMenuItemTranslationMode.Text = "Original text"; this.toolStripMenuItemTranslationMode.Click += new System.EventHandler(this.toolStripMenuItemTranslationMode_Click); // // toolStripSeparator14 // this.toolStripSeparator14.Name = "toolStripSeparator14"; - this.toolStripSeparator14.Size = new System.Drawing.Size(249, 6); + this.toolStripSeparator14.Size = new System.Drawing.Size(219, 6); // // toolStripMenuItemInsertUnicodeCharacter // @@ -884,47 +885,47 @@ this.toolStripMenuItemSmiley, this.toolStripMenuItemLove}); this.toolStripMenuItemInsertUnicodeCharacter.Name = "toolStripMenuItemInsertUnicodeCharacter"; - this.toolStripMenuItemInsertUnicodeCharacter.Size = new System.Drawing.Size(252, 22); + this.toolStripMenuItemInsertUnicodeCharacter.Size = new System.Drawing.Size(222, 22); this.toolStripMenuItemInsertUnicodeCharacter.Text = "Insert unicode character"; // // toolStripMenuItemSingleNote // this.toolStripMenuItemSingleNote.Name = "toolStripMenuItemSingleNote"; - this.toolStripMenuItemSingleNote.Size = new System.Drawing.Size(91, 22); + this.toolStripMenuItemSingleNote.Size = new System.Drawing.Size(86, 22); this.toolStripMenuItemSingleNote.Text = "♪"; this.toolStripMenuItemSingleNote.Click += new System.EventHandler(this.InsertUnicodeSymbol); // // toolStripMenuItemDoubleNote // this.toolStripMenuItemDoubleNote.Name = "toolStripMenuItemDoubleNote"; - this.toolStripMenuItemDoubleNote.Size = new System.Drawing.Size(91, 22); + this.toolStripMenuItemDoubleNote.Size = new System.Drawing.Size(86, 22); this.toolStripMenuItemDoubleNote.Text = "♫"; this.toolStripMenuItemDoubleNote.Click += new System.EventHandler(this.InsertUnicodeSymbol); // // toolStripMenuItemSmiley // this.toolStripMenuItemSmiley.Name = "toolStripMenuItemSmiley"; - this.toolStripMenuItemSmiley.Size = new System.Drawing.Size(91, 22); + this.toolStripMenuItemSmiley.Size = new System.Drawing.Size(86, 22); this.toolStripMenuItemSmiley.Text = "☺"; this.toolStripMenuItemSmiley.Click += new System.EventHandler(this.InsertUnicodeSymbol); // // toolStripMenuItemLove // this.toolStripMenuItemLove.Name = "toolStripMenuItemLove"; - this.toolStripMenuItemLove.Size = new System.Drawing.Size(91, 22); + this.toolStripMenuItemLove.Size = new System.Drawing.Size(86, 22); this.toolStripMenuItemLove.Text = "♥"; this.toolStripMenuItemLove.Click += new System.EventHandler(this.InsertUnicodeSymbol); // // toolStripSeparatorInsertUnicodeCharacter // this.toolStripSeparatorInsertUnicodeCharacter.Name = "toolStripSeparatorInsertUnicodeCharacter"; - this.toolStripSeparatorInsertUnicodeCharacter.Size = new System.Drawing.Size(249, 6); + this.toolStripSeparatorInsertUnicodeCharacter.Size = new System.Drawing.Size(219, 6); // // findToolStripMenuItem // this.findToolStripMenuItem.Name = "findToolStripMenuItem"; this.findToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); - this.findToolStripMenuItem.Size = new System.Drawing.Size(252, 22); + this.findToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this.findToolStripMenuItem.Text = "Find"; this.findToolStripMenuItem.Click += new System.EventHandler(this.FindToolStripMenuItemClick); // @@ -932,7 +933,7 @@ // this.findNextToolStripMenuItem.Name = "findNextToolStripMenuItem"; this.findNextToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3; - this.findNextToolStripMenuItem.Size = new System.Drawing.Size(252, 22); + this.findNextToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this.findNextToolStripMenuItem.Text = "Find next"; this.findNextToolStripMenuItem.Click += new System.EventHandler(this.FindNextToolStripMenuItemClick); // @@ -940,14 +941,14 @@ // this.replaceToolStripMenuItem.Name = "replaceToolStripMenuItem"; this.replaceToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H))); - this.replaceToolStripMenuItem.Size = new System.Drawing.Size(252, 22); + this.replaceToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this.replaceToolStripMenuItem.Text = "Replace"; this.replaceToolStripMenuItem.Click += new System.EventHandler(this.ReplaceToolStripMenuItemClick); // // multipleReplaceToolStripMenuItem // this.multipleReplaceToolStripMenuItem.Name = "multipleReplaceToolStripMenuItem"; - this.multipleReplaceToolStripMenuItem.Size = new System.Drawing.Size(252, 22); + this.multipleReplaceToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this.multipleReplaceToolStripMenuItem.Text = "Multiple replace"; this.multipleReplaceToolStripMenuItem.Click += new System.EventHandler(this.MultipleReplaceToolStripMenuItemClick); // @@ -955,7 +956,7 @@ // this.gotoLineNumberToolStripMenuItem.Name = "gotoLineNumberToolStripMenuItem"; this.gotoLineNumberToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G))); - this.gotoLineNumberToolStripMenuItem.Size = new System.Drawing.Size(252, 22); + this.gotoLineNumberToolStripMenuItem.Size = new System.Drawing.Size(222, 22); this.gotoLineNumberToolStripMenuItem.Text = "Goto line number..."; this.gotoLineNumberToolStripMenuItem.Click += new System.EventHandler(this.GotoLineNumberToolStripMenuItemClick); // @@ -969,19 +970,20 @@ this.ChangeCasingToolStripMenuItem, this.toolStripMenuItemChangeFramerate, this.toolStripMenuItemAutoMergeShortLines, + this.toolStripMenuItemAutoSplitLongLines, this.setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem, this.toolStripMenuItem1, this.toolStripSeparator3, this.splitToolStripMenuItem, this.appendTextVisuallyToolStripMenuItem}); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; - this.toolsToolStripMenuItem.Size = new System.Drawing.Size(55, 22); + this.toolsToolStripMenuItem.Size = new System.Drawing.Size(48, 20); this.toolsToolStripMenuItem.Text = "Tools"; // // adjustDisplayTimeToolStripMenuItem // this.adjustDisplayTimeToolStripMenuItem.Name = "adjustDisplayTimeToolStripMenuItem"; - this.adjustDisplayTimeToolStripMenuItem.Size = new System.Drawing.Size(368, 22); + this.adjustDisplayTimeToolStripMenuItem.Size = new System.Drawing.Size(317, 22); this.adjustDisplayTimeToolStripMenuItem.Text = "Adjust display time..."; this.adjustDisplayTimeToolStripMenuItem.Click += new System.EventHandler(this.AdjustDisplayTimeToolStripMenuItemClick); // @@ -990,7 +992,7 @@ this.fixToolStripMenuItem.Name = "fixToolStripMenuItem"; this.fixToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.F))); - this.fixToolStripMenuItem.Size = new System.Drawing.Size(368, 22); + this.fixToolStripMenuItem.Size = new System.Drawing.Size(317, 22); this.fixToolStripMenuItem.Text = "Fix common errors..."; this.fixToolStripMenuItem.Click += new System.EventHandler(this.FixToolStripMenuItemClick); // @@ -999,14 +1001,14 @@ this.startNumberingFromToolStripMenuItem.Name = "startNumberingFromToolStripMenuItem"; this.startNumberingFromToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.N))); - this.startNumberingFromToolStripMenuItem.Size = new System.Drawing.Size(368, 22); + this.startNumberingFromToolStripMenuItem.Size = new System.Drawing.Size(317, 22); this.startNumberingFromToolStripMenuItem.Text = "Start numbering from..."; this.startNumberingFromToolStripMenuItem.Click += new System.EventHandler(this.StartNumberingFromToolStripMenuItemClick); // // removeTextForHearImparedToolStripMenuItem // this.removeTextForHearImparedToolStripMenuItem.Name = "removeTextForHearImparedToolStripMenuItem"; - this.removeTextForHearImparedToolStripMenuItem.Size = new System.Drawing.Size(368, 22); + this.removeTextForHearImparedToolStripMenuItem.Size = new System.Drawing.Size(317, 22); this.removeTextForHearImparedToolStripMenuItem.Text = "Remove text for hearing impaired..."; this.removeTextForHearImparedToolStripMenuItem.Click += new System.EventHandler(this.RemoveTextForHearImparedToolStripMenuItemClick); // @@ -1015,28 +1017,35 @@ this.ChangeCasingToolStripMenuItem.Name = "ChangeCasingToolStripMenuItem"; this.ChangeCasingToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.C))); - this.ChangeCasingToolStripMenuItem.Size = new System.Drawing.Size(368, 22); + this.ChangeCasingToolStripMenuItem.Size = new System.Drawing.Size(317, 22); this.ChangeCasingToolStripMenuItem.Text = "Change casing..."; this.ChangeCasingToolStripMenuItem.Click += new System.EventHandler(this.ChangeCasingToolStripMenuItem_Click); // // toolStripMenuItemChangeFramerate // this.toolStripMenuItemChangeFramerate.Name = "toolStripMenuItemChangeFramerate"; - this.toolStripMenuItemChangeFramerate.Size = new System.Drawing.Size(368, 22); + this.toolStripMenuItemChangeFramerate.Size = new System.Drawing.Size(317, 22); this.toolStripMenuItemChangeFramerate.Text = "Change framerate..."; this.toolStripMenuItemChangeFramerate.Click += new System.EventHandler(this.ToolStripMenuItemChangeFramerateClick); // // toolStripMenuItemAutoMergeShortLines // this.toolStripMenuItemAutoMergeShortLines.Name = "toolStripMenuItemAutoMergeShortLines"; - this.toolStripMenuItemAutoMergeShortLines.Size = new System.Drawing.Size(368, 22); + this.toolStripMenuItemAutoMergeShortLines.Size = new System.Drawing.Size(317, 22); this.toolStripMenuItemAutoMergeShortLines.Text = "Merge short lines..."; this.toolStripMenuItemAutoMergeShortLines.Click += new System.EventHandler(this.ToolStripMenuItemAutoMergeShortLinesClick); // + // toolStripMenuItemAutoSplitLongLines + // + this.toolStripMenuItemAutoSplitLongLines.Name = "toolStripMenuItemAutoSplitLongLines"; + this.toolStripMenuItemAutoSplitLongLines.Size = new System.Drawing.Size(317, 22); + this.toolStripMenuItemAutoSplitLongLines.Text = "Split long lines..."; + this.toolStripMenuItemAutoSplitLongLines.Click += new System.EventHandler(this.toolStripMenuItemAutoSplitLongLines_Click); + // // setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem // this.setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem.Name = "setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem"; - this.setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem.Size = new System.Drawing.Size(368, 22); + this.setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem.Size = new System.Drawing.Size(317, 22); this.setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem.Text = "Minimum display time between paragraphs..."; this.setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem.Click += new System.EventHandler(this.setMinimalDisplayTimeDifferenceToolStripMenuItem_Click); // @@ -1052,81 +1061,81 @@ this.sortTextTotalLengthToolStripMenuItem, this.sortTextNumberOfLinesToolStripMenuItem}); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(368, 22); + this.toolStripMenuItem1.Size = new System.Drawing.Size(317, 22); this.toolStripMenuItem1.Text = "Sort by"; // // sortNumberToolStripMenuItem // this.sortNumberToolStripMenuItem.Name = "sortNumberToolStripMenuItem"; - this.sortNumberToolStripMenuItem.Size = new System.Drawing.Size(265, 22); + this.sortNumberToolStripMenuItem.Size = new System.Drawing.Size(233, 22); this.sortNumberToolStripMenuItem.Text = "Number"; this.sortNumberToolStripMenuItem.Click += new System.EventHandler(this.SortNumberToolStripMenuItemClick); // // sortStartTimeToolStripMenuItem // this.sortStartTimeToolStripMenuItem.Name = "sortStartTimeToolStripMenuItem"; - this.sortStartTimeToolStripMenuItem.Size = new System.Drawing.Size(265, 22); + this.sortStartTimeToolStripMenuItem.Size = new System.Drawing.Size(233, 22); this.sortStartTimeToolStripMenuItem.Text = "Start time"; this.sortStartTimeToolStripMenuItem.Click += new System.EventHandler(this.SortStartTimeToolStripMenuItemClick); // // sortEndTimeToolStripMenuItem // this.sortEndTimeToolStripMenuItem.Name = "sortEndTimeToolStripMenuItem"; - this.sortEndTimeToolStripMenuItem.Size = new System.Drawing.Size(265, 22); + this.sortEndTimeToolStripMenuItem.Size = new System.Drawing.Size(233, 22); this.sortEndTimeToolStripMenuItem.Text = "End time"; this.sortEndTimeToolStripMenuItem.Click += new System.EventHandler(this.SortEndTimeToolStripMenuItemClick); // // sortDisplayTimeToolStripMenuItem // this.sortDisplayTimeToolStripMenuItem.Name = "sortDisplayTimeToolStripMenuItem"; - this.sortDisplayTimeToolStripMenuItem.Size = new System.Drawing.Size(265, 22); + this.sortDisplayTimeToolStripMenuItem.Size = new System.Drawing.Size(233, 22); this.sortDisplayTimeToolStripMenuItem.Text = "Duration"; this.sortDisplayTimeToolStripMenuItem.Click += new System.EventHandler(this.SortDisplayTimeToolStripMenuItemClick); // // sortTextAlphabeticallytoolStripMenuItem // this.sortTextAlphabeticallytoolStripMenuItem.Name = "sortTextAlphabeticallytoolStripMenuItem"; - this.sortTextAlphabeticallytoolStripMenuItem.Size = new System.Drawing.Size(265, 22); + this.sortTextAlphabeticallytoolStripMenuItem.Size = new System.Drawing.Size(233, 22); this.sortTextAlphabeticallytoolStripMenuItem.Text = "Text - alphabetically"; this.sortTextAlphabeticallytoolStripMenuItem.Click += new System.EventHandler(this.SortTextAlphabeticallytoolStripMenuItemClick); // // sortTextMaxLineLengthToolStripMenuItem // this.sortTextMaxLineLengthToolStripMenuItem.Name = "sortTextMaxLineLengthToolStripMenuItem"; - this.sortTextMaxLineLengthToolStripMenuItem.Size = new System.Drawing.Size(265, 22); + this.sortTextMaxLineLengthToolStripMenuItem.Size = new System.Drawing.Size(233, 22); this.sortTextMaxLineLengthToolStripMenuItem.Text = "Text - single line max. length"; this.sortTextMaxLineLengthToolStripMenuItem.Click += new System.EventHandler(this.SortTextMaxLineLengthToolStripMenuItemClick); // // sortTextTotalLengthToolStripMenuItem // this.sortTextTotalLengthToolStripMenuItem.Name = "sortTextTotalLengthToolStripMenuItem"; - this.sortTextTotalLengthToolStripMenuItem.Size = new System.Drawing.Size(265, 22); + this.sortTextTotalLengthToolStripMenuItem.Size = new System.Drawing.Size(233, 22); this.sortTextTotalLengthToolStripMenuItem.Text = "Text - total length"; this.sortTextTotalLengthToolStripMenuItem.Click += new System.EventHandler(this.SortTextTotalLengthToolStripMenuItemClick); // // sortTextNumberOfLinesToolStripMenuItem // this.sortTextNumberOfLinesToolStripMenuItem.Name = "sortTextNumberOfLinesToolStripMenuItem"; - this.sortTextNumberOfLinesToolStripMenuItem.Size = new System.Drawing.Size(265, 22); + this.sortTextNumberOfLinesToolStripMenuItem.Size = new System.Drawing.Size(233, 22); this.sortTextNumberOfLinesToolStripMenuItem.Text = "Text - number of lines"; this.sortTextNumberOfLinesToolStripMenuItem.Click += new System.EventHandler(this.SortTextNumberOfLinesToolStripMenuItemClick); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(365, 6); + this.toolStripSeparator3.Size = new System.Drawing.Size(314, 6); // // splitToolStripMenuItem // this.splitToolStripMenuItem.Name = "splitToolStripMenuItem"; - this.splitToolStripMenuItem.Size = new System.Drawing.Size(368, 22); + this.splitToolStripMenuItem.Size = new System.Drawing.Size(317, 22); this.splitToolStripMenuItem.Text = "Split subtitle..."; this.splitToolStripMenuItem.Click += new System.EventHandler(this.SplitToolStripMenuItemClick); // // appendTextVisuallyToolStripMenuItem // this.appendTextVisuallyToolStripMenuItem.Name = "appendTextVisuallyToolStripMenuItem"; - this.appendTextVisuallyToolStripMenuItem.Size = new System.Drawing.Size(368, 22); + this.appendTextVisuallyToolStripMenuItem.Size = new System.Drawing.Size(317, 22); this.appendTextVisuallyToolStripMenuItem.Text = "Append subtitle..."; this.appendTextVisuallyToolStripMenuItem.Click += new System.EventHandler(this.AppendTextVisuallyToolStripMenuItemClick); // @@ -1141,51 +1150,51 @@ this.undockVideoControlsToolStripMenuItem, this.redockVideoControlsToolStripMenuItem}); this.toolStripMenuItemVideo.Name = "toolStripMenuItemVideo"; - this.toolStripMenuItemVideo.Size = new System.Drawing.Size(55, 22); + this.toolStripMenuItemVideo.Size = new System.Drawing.Size(50, 20); this.toolStripMenuItemVideo.Text = "Video"; // // openVideoToolStripMenuItem // this.openVideoToolStripMenuItem.Name = "openVideoToolStripMenuItem"; - this.openVideoToolStripMenuItem.Size = new System.Drawing.Size(223, 22); + this.openVideoToolStripMenuItem.Size = new System.Drawing.Size(199, 22); this.openVideoToolStripMenuItem.Text = "Open video..."; this.openVideoToolStripMenuItem.Click += new System.EventHandler(this.buttonOpenVideo_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(220, 6); + this.toolStripSeparator5.Size = new System.Drawing.Size(196, 6); // // showhideWaveFormToolStripMenuItem // this.showhideWaveFormToolStripMenuItem.Name = "showhideWaveFormToolStripMenuItem"; - this.showhideWaveFormToolStripMenuItem.Size = new System.Drawing.Size(223, 22); + this.showhideWaveFormToolStripMenuItem.Size = new System.Drawing.Size(199, 22); this.showhideWaveFormToolStripMenuItem.Text = "Show/hide wave form"; this.showhideWaveFormToolStripMenuItem.Click += new System.EventHandler(this.showhideWaveFormToolStripMenuItem_Click); // // showhideVideoToolStripMenuItem // this.showhideVideoToolStripMenuItem.Name = "showhideVideoToolStripMenuItem"; - this.showhideVideoToolStripMenuItem.Size = new System.Drawing.Size(223, 22); + this.showhideVideoToolStripMenuItem.Size = new System.Drawing.Size(199, 22); this.showhideVideoToolStripMenuItem.Text = "Show/hide video"; this.showhideVideoToolStripMenuItem.Click += new System.EventHandler(this.toolStripButtonToogleVideo_Click); // // toolStripSeparator19 // this.toolStripSeparator19.Name = "toolStripSeparator19"; - this.toolStripSeparator19.Size = new System.Drawing.Size(220, 6); + this.toolStripSeparator19.Size = new System.Drawing.Size(196, 6); // // undockVideoControlsToolStripMenuItem // this.undockVideoControlsToolStripMenuItem.Name = "undockVideoControlsToolStripMenuItem"; - this.undockVideoControlsToolStripMenuItem.Size = new System.Drawing.Size(223, 22); + this.undockVideoControlsToolStripMenuItem.Size = new System.Drawing.Size(199, 22); this.undockVideoControlsToolStripMenuItem.Text = "Un-dock video controls"; this.undockVideoControlsToolStripMenuItem.Click += new System.EventHandler(this.undockVideoControlsToolStripMenuItem_Click); // // redockVideoControlsToolStripMenuItem // this.redockVideoControlsToolStripMenuItem.Name = "redockVideoControlsToolStripMenuItem"; - this.redockVideoControlsToolStripMenuItem.Size = new System.Drawing.Size(223, 22); + this.redockVideoControlsToolStripMenuItem.Size = new System.Drawing.Size(199, 22); this.redockVideoControlsToolStripMenuItem.Text = "Re-dock video controls"; this.redockVideoControlsToolStripMenuItem.Visible = false; this.redockVideoControlsToolStripMenuItem.Click += new System.EventHandler(this.redockVideoControlsToolStripMenuItem_Click); @@ -1199,7 +1208,7 @@ this.GetDictionariesToolStripMenuItem, this.addWordToNamesetcListToolStripMenuItem}); this.toolStripMenuItemSpellCheckMain.Name = "toolStripMenuItemSpellCheckMain"; - this.toolStripMenuItemSpellCheckMain.Size = new System.Drawing.Size(90, 22); + this.toolStripMenuItemSpellCheckMain.Size = new System.Drawing.Size(80, 20); this.toolStripMenuItemSpellCheckMain.Text = "Spell check"; // // spellCheckToolStripMenuItem @@ -1207,7 +1216,7 @@ this.spellCheckToolStripMenuItem.Name = "spellCheckToolStripMenuItem"; this.spellCheckToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.S))); - this.spellCheckToolStripMenuItem.Size = new System.Drawing.Size(337, 22); + this.spellCheckToolStripMenuItem.Size = new System.Drawing.Size(296, 22); this.spellCheckToolStripMenuItem.Text = "Spell check..."; this.spellCheckToolStripMenuItem.Click += new System.EventHandler(this.SpellCheckToolStripMenuItemClick); // @@ -1216,19 +1225,19 @@ this.findDoubleWordsToolStripMenuItem.Name = "findDoubleWordsToolStripMenuItem"; this.findDoubleWordsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.D))); - this.findDoubleWordsToolStripMenuItem.Size = new System.Drawing.Size(337, 22); + this.findDoubleWordsToolStripMenuItem.Size = new System.Drawing.Size(296, 22); this.findDoubleWordsToolStripMenuItem.Text = "Find double words"; this.findDoubleWordsToolStripMenuItem.Click += new System.EventHandler(this.FindDoubleWordsToolStripMenuItemClick); // // toolStripSeparator9 // this.toolStripSeparator9.Name = "toolStripSeparator9"; - this.toolStripSeparator9.Size = new System.Drawing.Size(334, 6); + this.toolStripSeparator9.Size = new System.Drawing.Size(293, 6); // // GetDictionariesToolStripMenuItem // this.GetDictionariesToolStripMenuItem.Name = "GetDictionariesToolStripMenuItem"; - this.GetDictionariesToolStripMenuItem.Size = new System.Drawing.Size(337, 22); + this.GetDictionariesToolStripMenuItem.Size = new System.Drawing.Size(296, 22); this.GetDictionariesToolStripMenuItem.Text = "Get dictionary..."; this.GetDictionariesToolStripMenuItem.Click += new System.EventHandler(this.GetDictionariesToolStripMenuItem_Click); // @@ -1237,7 +1246,7 @@ this.addWordToNamesetcListToolStripMenuItem.Name = "addWordToNamesetcListToolStripMenuItem"; this.addWordToNamesetcListToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.L))); - this.addWordToNamesetcListToolStripMenuItem.Size = new System.Drawing.Size(337, 22); + this.addWordToNamesetcListToolStripMenuItem.Size = new System.Drawing.Size(296, 22); this.addWordToNamesetcListToolStripMenuItem.Text = "Add word to names/ect list"; this.addWordToNamesetcListToolStripMenuItem.Click += new System.EventHandler(this.AddWordToNamesetcListToolStripMenuItemClick); // @@ -1248,7 +1257,7 @@ this.visualSyncToolStripMenuItem, this.toolStripMenuItemPointSync}); this.toolStripMenuItemSyncronization.Name = "toolStripMenuItemSyncronization"; - this.toolStripMenuItemSyncronization.Size = new System.Drawing.Size(112, 22); + this.toolStripMenuItemSyncronization.Size = new System.Drawing.Size(97, 20); this.toolStripMenuItemSyncronization.Text = "Syncronization"; // // toolStripMenuItemAdjustAllTimes @@ -1256,7 +1265,7 @@ this.toolStripMenuItemAdjustAllTimes.Name = "toolStripMenuItemAdjustAllTimes"; this.toolStripMenuItemAdjustAllTimes.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.A))); - this.toolStripMenuItemAdjustAllTimes.Size = new System.Drawing.Size(387, 22); + this.toolStripMenuItemAdjustAllTimes.Size = new System.Drawing.Size(336, 22); this.toolStripMenuItemAdjustAllTimes.Text = "Adjust times (show earlier/later)..."; this.toolStripMenuItemAdjustAllTimes.Click += new System.EventHandler(this.toolStripMenuItemAdjustAllTimes_Click); // @@ -1265,7 +1274,7 @@ this.visualSyncToolStripMenuItem.Name = "visualSyncToolStripMenuItem"; this.visualSyncToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.V))); - this.visualSyncToolStripMenuItem.Size = new System.Drawing.Size(387, 22); + this.visualSyncToolStripMenuItem.Size = new System.Drawing.Size(336, 22); this.visualSyncToolStripMenuItem.Text = "Visual sync..."; this.visualSyncToolStripMenuItem.Click += new System.EventHandler(this.VisualSyncToolStripMenuItemClick); // @@ -1274,7 +1283,7 @@ this.toolStripMenuItemPointSync.Name = "toolStripMenuItemPointSync"; this.toolStripMenuItemPointSync.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.P))); - this.toolStripMenuItemPointSync.Size = new System.Drawing.Size(387, 22); + this.toolStripMenuItemPointSync.Size = new System.Drawing.Size(336, 22); this.toolStripMenuItemPointSync.Text = "Point sync..."; this.toolStripMenuItemPointSync.Click += new System.EventHandler(this.toolStripMenuItemPointSync_Click); // @@ -1285,7 +1294,7 @@ this.translatepoweredByMicrosoftToolStripMenuItem, this.translateFromSwedishToDanishToolStripMenuItem}); this.toolStripMenuItemAutoTranslate.Name = "toolStripMenuItemAutoTranslate"; - this.toolStripMenuItemAutoTranslate.Size = new System.Drawing.Size(111, 22); + this.toolStripMenuItemAutoTranslate.Size = new System.Drawing.Size(97, 20); this.toolStripMenuItemAutoTranslate.Text = "Auto-translate"; // // translateByGoogleToolStripMenuItem @@ -1293,21 +1302,21 @@ this.translateByGoogleToolStripMenuItem.Name = "translateByGoogleToolStripMenuItem"; this.translateByGoogleToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.G))); - this.translateByGoogleToolStripMenuItem.Size = new System.Drawing.Size(481, 22); + this.translateByGoogleToolStripMenuItem.Size = new System.Drawing.Size(414, 22); this.translateByGoogleToolStripMenuItem.Text = "Translate (powered by Google)..."; this.translateByGoogleToolStripMenuItem.Click += new System.EventHandler(this.TranslateByGoogleToolStripMenuItemClick); // // translatepoweredByMicrosoftToolStripMenuItem // this.translatepoweredByMicrosoftToolStripMenuItem.Name = "translatepoweredByMicrosoftToolStripMenuItem"; - this.translatepoweredByMicrosoftToolStripMenuItem.Size = new System.Drawing.Size(481, 22); + this.translatepoweredByMicrosoftToolStripMenuItem.Size = new System.Drawing.Size(414, 22); this.translatepoweredByMicrosoftToolStripMenuItem.Text = "Translate (powered by Microsoft)..."; this.translatepoweredByMicrosoftToolStripMenuItem.Click += new System.EventHandler(this.translatepoweredByMicrosoftToolStripMenuItem_Click); // // translateFromSwedishToDanishToolStripMenuItem // this.translateFromSwedishToDanishToolStripMenuItem.Name = "translateFromSwedishToDanishToolStripMenuItem"; - this.translateFromSwedishToDanishToolStripMenuItem.Size = new System.Drawing.Size(481, 22); + this.translateFromSwedishToDanishToolStripMenuItem.Size = new System.Drawing.Size(414, 22); this.translateFromSwedishToDanishToolStripMenuItem.Text = "Translate from swedish to danish (powered by nikse.dk/mt)..."; this.translateFromSwedishToDanishToolStripMenuItem.Click += new System.EventHandler(this.TranslateFromSwedishToDanishToolStripMenuItemClick); // @@ -1317,20 +1326,20 @@ this.settingsToolStripMenuItem, this.changeLanguageToolStripMenuItem}); this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; - this.optionsToolStripMenuItem.Size = new System.Drawing.Size(69, 22); + this.optionsToolStripMenuItem.Size = new System.Drawing.Size(61, 20); this.optionsToolStripMenuItem.Text = "Options"; // // settingsToolStripMenuItem // this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; - this.settingsToolStripMenuItem.Size = new System.Drawing.Size(203, 22); + this.settingsToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.settingsToolStripMenuItem.Text = "Settings"; this.settingsToolStripMenuItem.Click += new System.EventHandler(this.SettingsToolStripMenuItemClick); // // changeLanguageToolStripMenuItem // this.changeLanguageToolStripMenuItem.Name = "changeLanguageToolStripMenuItem"; - this.changeLanguageToolStripMenuItem.Size = new System.Drawing.Size(203, 22); + this.changeLanguageToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.changeLanguageToolStripMenuItem.Text = "Change language..."; this.changeLanguageToolStripMenuItem.Click += new System.EventHandler(this.ChangeLanguageToolStripMenuItemClick); // @@ -1343,42 +1352,42 @@ this.showSessionKeyLogToolStripMenuItem, this.leaveSessionToolStripMenuItem}); this.toolStripMenuItemNetworking.Name = "toolStripMenuItemNetworking"; - this.toolStripMenuItemNetworking.Size = new System.Drawing.Size(91, 22); + this.toolStripMenuItemNetworking.Size = new System.Drawing.Size(82, 20); this.toolStripMenuItemNetworking.Text = "Networking"; this.toolStripMenuItemNetworking.DropDownOpening += new System.EventHandler(this.toolStripMenuItemNetworking_DropDownOpening); // // startServerToolStripMenuItem // this.startServerToolStripMenuItem.Name = "startServerToolStripMenuItem"; - this.startServerToolStripMenuItem.Size = new System.Drawing.Size(242, 22); + this.startServerToolStripMenuItem.Size = new System.Drawing.Size(215, 22); this.startServerToolStripMenuItem.Text = "Start new session"; this.startServerToolStripMenuItem.Click += new System.EventHandler(this.startServerToolStripMenuItem_Click); // // joinSessionToolStripMenuItem // this.joinSessionToolStripMenuItem.Name = "joinSessionToolStripMenuItem"; - this.joinSessionToolStripMenuItem.Size = new System.Drawing.Size(242, 22); + this.joinSessionToolStripMenuItem.Size = new System.Drawing.Size(215, 22); this.joinSessionToolStripMenuItem.Text = "Join session"; this.joinSessionToolStripMenuItem.Click += new System.EventHandler(this.joinSessionToolStripMenuItem_Click); // // chatToolStripMenuItem // this.chatToolStripMenuItem.Name = "chatToolStripMenuItem"; - this.chatToolStripMenuItem.Size = new System.Drawing.Size(242, 22); + this.chatToolStripMenuItem.Size = new System.Drawing.Size(215, 22); this.chatToolStripMenuItem.Text = "Chat"; this.chatToolStripMenuItem.Click += new System.EventHandler(this.chatToolStripMenuItem_Click); // // showSessionKeyLogToolStripMenuItem // this.showSessionKeyLogToolStripMenuItem.Name = "showSessionKeyLogToolStripMenuItem"; - this.showSessionKeyLogToolStripMenuItem.Size = new System.Drawing.Size(242, 22); + this.showSessionKeyLogToolStripMenuItem.Size = new System.Drawing.Size(215, 22); this.showSessionKeyLogToolStripMenuItem.Text = "Show session info and log"; this.showSessionKeyLogToolStripMenuItem.Click += new System.EventHandler(this.showSessionKeyLogToolStripMenuItem_Click); // // leaveSessionToolStripMenuItem // this.leaveSessionToolStripMenuItem.Name = "leaveSessionToolStripMenuItem"; - this.leaveSessionToolStripMenuItem.Size = new System.Drawing.Size(242, 22); + this.leaveSessionToolStripMenuItem.Size = new System.Drawing.Size(215, 22); this.leaveSessionToolStripMenuItem.Text = "Leave session"; this.leaveSessionToolStripMenuItem.Click += new System.EventHandler(this.LeaveSessionToolStripMenuItemClick); // @@ -1388,21 +1397,21 @@ this.helpToolStripMenuItem1, this.aboutToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; - this.helpToolStripMenuItem.Size = new System.Drawing.Size(48, 22); + this.helpToolStripMenuItem.Size = new System.Drawing.Size(43, 20); this.helpToolStripMenuItem.Text = "Help"; // // helpToolStripMenuItem1 // this.helpToolStripMenuItem1.Name = "helpToolStripMenuItem1"; this.helpToolStripMenuItem1.ShortcutKeys = System.Windows.Forms.Keys.F1; - this.helpToolStripMenuItem1.Size = new System.Drawing.Size(128, 22); + this.helpToolStripMenuItem1.Size = new System.Drawing.Size(118, 22); this.helpToolStripMenuItem1.Text = "Help"; this.helpToolStripMenuItem1.Click += new System.EventHandler(this.HelpToolStripMenuItem1Click); // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; - this.aboutToolStripMenuItem.Size = new System.Drawing.Size(128, 22); + this.aboutToolStripMenuItem.Size = new System.Drawing.Size(118, 22); this.aboutToolStripMenuItem.Text = "About"; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutToolStripMenuItemClick); // @@ -1423,13 +1432,13 @@ this.colorToolStripMenuItem1, this.fontNameToolStripMenuItem}); this.contextMenuStripTextBoxListView.Name = "contextMenuStripTextBoxListView"; - this.contextMenuStripTextBoxListView.Size = new System.Drawing.Size(191, 280); + this.contextMenuStripTextBoxListView.Size = new System.Drawing.Size(163, 258); // // cutToolStripMenuItem // this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); - this.cutToolStripMenuItem.Size = new System.Drawing.Size(190, 24); + this.cutToolStripMenuItem.Size = new System.Drawing.Size(162, 22); this.cutToolStripMenuItem.Text = "Cut"; this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); // @@ -1437,7 +1446,7 @@ // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); - this.copyToolStripMenuItem.Size = new System.Drawing.Size(190, 24); + this.copyToolStripMenuItem.Size = new System.Drawing.Size(162, 22); this.copyToolStripMenuItem.Text = "Copy"; this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // @@ -1445,74 +1454,74 @@ // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); - this.pasteToolStripMenuItem.Size = new System.Drawing.Size(190, 24); + this.pasteToolStripMenuItem.Size = new System.Drawing.Size(162, 22); this.pasteToolStripMenuItem.Text = "Paste"; this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); // // deleteToolStripMenuItem // this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; - this.deleteToolStripMenuItem.Size = new System.Drawing.Size(190, 24); + this.deleteToolStripMenuItem.Size = new System.Drawing.Size(162, 22); this.deleteToolStripMenuItem.Text = "Delete"; this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); // // toolStripSeparator18 // this.toolStripSeparator18.Name = "toolStripSeparator18"; - this.toolStripSeparator18.Size = new System.Drawing.Size(187, 6); + this.toolStripSeparator18.Size = new System.Drawing.Size(159, 6); // // selectAllToolStripMenuItem // this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; this.selectAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); - this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(190, 24); + this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(162, 22); this.selectAllToolStripMenuItem.Text = "Select all"; this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); // // toolStripSeparator17 // this.toolStripSeparator17.Name = "toolStripSeparator17"; - this.toolStripSeparator17.Size = new System.Drawing.Size(187, 6); + this.toolStripSeparator17.Size = new System.Drawing.Size(159, 6); // // normalToolStripMenuItem1 // this.normalToolStripMenuItem1.Name = "normalToolStripMenuItem1"; - this.normalToolStripMenuItem1.Size = new System.Drawing.Size(190, 24); + this.normalToolStripMenuItem1.Size = new System.Drawing.Size(162, 22); this.normalToolStripMenuItem1.Text = "Normal"; this.normalToolStripMenuItem1.Click += new System.EventHandler(this.normalToolStripMenuItem1_Click); // // boldToolStripMenuItem1 // this.boldToolStripMenuItem1.Name = "boldToolStripMenuItem1"; - this.boldToolStripMenuItem1.Size = new System.Drawing.Size(190, 24); + this.boldToolStripMenuItem1.Size = new System.Drawing.Size(162, 22); this.boldToolStripMenuItem1.Text = "Bold"; this.boldToolStripMenuItem1.Click += new System.EventHandler(this.boldToolStripMenuItem1_Click); // // italicToolStripMenuItem1 // this.italicToolStripMenuItem1.Name = "italicToolStripMenuItem1"; - this.italicToolStripMenuItem1.Size = new System.Drawing.Size(190, 24); + this.italicToolStripMenuItem1.Size = new System.Drawing.Size(162, 22); this.italicToolStripMenuItem1.Text = "Italic"; this.italicToolStripMenuItem1.Click += new System.EventHandler(this.italicToolStripMenuItem1_Click); // // underlineToolStripMenuItem1 // this.underlineToolStripMenuItem1.Name = "underlineToolStripMenuItem1"; - this.underlineToolStripMenuItem1.Size = new System.Drawing.Size(190, 24); + this.underlineToolStripMenuItem1.Size = new System.Drawing.Size(162, 22); this.underlineToolStripMenuItem1.Text = "Underline"; this.underlineToolStripMenuItem1.Click += new System.EventHandler(this.underlineToolStripMenuItem1_Click); // // colorToolStripMenuItem1 // this.colorToolStripMenuItem1.Name = "colorToolStripMenuItem1"; - this.colorToolStripMenuItem1.Size = new System.Drawing.Size(190, 24); + this.colorToolStripMenuItem1.Size = new System.Drawing.Size(162, 22); this.colorToolStripMenuItem1.Text = "Color..."; this.colorToolStripMenuItem1.Click += new System.EventHandler(this.colorToolStripMenuItem1_Click); // // fontNameToolStripMenuItem // this.fontNameToolStripMenuItem.Name = "fontNameToolStripMenuItem"; - this.fontNameToolStripMenuItem.Size = new System.Drawing.Size(190, 24); + this.fontNameToolStripMenuItem.Size = new System.Drawing.Size(162, 22); this.fontNameToolStripMenuItem.Text = "Font name..."; this.fontNameToolStripMenuItem.Click += new System.EventHandler(this.fontNameToolStripMenuItem_Click); // @@ -1549,46 +1558,46 @@ this.fixCommonErrorsInSelectedLinesToolStripMenuItem, this.changeCasingForSelectedLinesToolStripMenuItem}); this.contextMenuStripListview.Name = "contextMenuStripListview"; - this.contextMenuStripListview.Size = new System.Drawing.Size(331, 610); + this.contextMenuStripListview.Size = new System.Drawing.Size(276, 562); this.contextMenuStripListview.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuStripListviewOpening); // // toolStripMenuItemDelete // this.toolStripMenuItemDelete.Name = "toolStripMenuItemDelete"; - this.toolStripMenuItemDelete.Size = new System.Drawing.Size(330, 24); + this.toolStripMenuItemDelete.Size = new System.Drawing.Size(275, 22); this.toolStripMenuItemDelete.Text = "Delete"; this.toolStripMenuItemDelete.Click += new System.EventHandler(this.ToolStripMenuItemDeleteClick); // // toolStripMenuItemInsertBefore // this.toolStripMenuItemInsertBefore.Name = "toolStripMenuItemInsertBefore"; - this.toolStripMenuItemInsertBefore.Size = new System.Drawing.Size(330, 24); + this.toolStripMenuItemInsertBefore.Size = new System.Drawing.Size(275, 22); this.toolStripMenuItemInsertBefore.Text = "Insert before"; this.toolStripMenuItemInsertBefore.Click += new System.EventHandler(this.ToolStripMenuItemInsertBeforeClick); // // toolStripMenuItemInsertAfter // this.toolStripMenuItemInsertAfter.Name = "toolStripMenuItemInsertAfter"; - this.toolStripMenuItemInsertAfter.Size = new System.Drawing.Size(330, 24); + this.toolStripMenuItemInsertAfter.Size = new System.Drawing.Size(275, 22); this.toolStripMenuItemInsertAfter.Text = "Insert after"; this.toolStripMenuItemInsertAfter.Click += new System.EventHandler(this.ToolStripMenuItemInsertAfterClick); // // toolStripMenuItemInsertSubtitle // this.toolStripMenuItemInsertSubtitle.Name = "toolStripMenuItemInsertSubtitle"; - this.toolStripMenuItemInsertSubtitle.Size = new System.Drawing.Size(330, 24); + this.toolStripMenuItemInsertSubtitle.Size = new System.Drawing.Size(275, 22); this.toolStripMenuItemInsertSubtitle.Text = "Insert subtitle file after this line..."; this.toolStripMenuItemInsertSubtitle.Click += new System.EventHandler(this.toolStripMenuItemInsertSubtitle_Click); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; - this.toolStripSeparator7.Size = new System.Drawing.Size(327, 6); + this.toolStripSeparator7.Size = new System.Drawing.Size(272, 6); // // splitLineToolStripMenuItem // this.splitLineToolStripMenuItem.Name = "splitLineToolStripMenuItem"; - this.splitLineToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.splitLineToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.splitLineToolStripMenuItem.Text = "Split"; this.splitLineToolStripMenuItem.Click += new System.EventHandler(this.SplitLineToolStripMenuItemClick); // @@ -1597,153 +1606,153 @@ this.toolStripMenuItemMergeLines.Name = "toolStripMenuItemMergeLines"; this.toolStripMenuItemMergeLines.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.M))); - this.toolStripMenuItemMergeLines.Size = new System.Drawing.Size(330, 24); + this.toolStripMenuItemMergeLines.Size = new System.Drawing.Size(275, 22); this.toolStripMenuItemMergeLines.Text = "Merge selected lines"; this.toolStripMenuItemMergeLines.Click += new System.EventHandler(this.ToolStripMenuItemMergeLinesClick); // // mergeBeforeToolStripMenuItem // this.mergeBeforeToolStripMenuItem.Name = "mergeBeforeToolStripMenuItem"; - this.mergeBeforeToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.mergeBeforeToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.mergeBeforeToolStripMenuItem.Text = "Merge with line before"; this.mergeBeforeToolStripMenuItem.Click += new System.EventHandler(this.MergeBeforeToolStripMenuItemClick); // // mergeAfterToolStripMenuItem // this.mergeAfterToolStripMenuItem.Name = "mergeAfterToolStripMenuItem"; - this.mergeAfterToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.mergeAfterToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.mergeAfterToolStripMenuItem.Text = "Merge with line after"; this.mergeAfterToolStripMenuItem.Click += new System.EventHandler(this.MergeAfterToolStripMenuItemClick); // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; - this.toolStripSeparator8.Size = new System.Drawing.Size(327, 6); + this.toolStripSeparator8.Size = new System.Drawing.Size(272, 6); // // normalToolStripMenuItem // this.normalToolStripMenuItem.Name = "normalToolStripMenuItem"; - this.normalToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.normalToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.normalToolStripMenuItem.Text = "Normal"; this.normalToolStripMenuItem.Click += new System.EventHandler(this.NormalToolStripMenuItemClick); // // boldToolStripMenuItem // this.boldToolStripMenuItem.Name = "boldToolStripMenuItem"; - this.boldToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.boldToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.boldToolStripMenuItem.Text = "Bold"; this.boldToolStripMenuItem.Click += new System.EventHandler(this.BoldToolStripMenuItemClick); // // italicToolStripMenuItem // this.italicToolStripMenuItem.Name = "italicToolStripMenuItem"; - this.italicToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.italicToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.italicToolStripMenuItem.Text = "Italic"; this.italicToolStripMenuItem.Click += new System.EventHandler(this.ItalicToolStripMenuItemClick); // // underlineToolStripMenuItem // this.underlineToolStripMenuItem.Name = "underlineToolStripMenuItem"; - this.underlineToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.underlineToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.underlineToolStripMenuItem.Text = "Underline"; this.underlineToolStripMenuItem.Click += new System.EventHandler(this.UnderlineToolStripMenuItemClick); // // colorToolStripMenuItem // this.colorToolStripMenuItem.Name = "colorToolStripMenuItem"; - this.colorToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.colorToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.colorToolStripMenuItem.Text = "Color..."; this.colorToolStripMenuItem.Click += new System.EventHandler(this.ColorToolStripMenuItemClick); // // toolStripMenuItemFont // this.toolStripMenuItemFont.Name = "toolStripMenuItemFont"; - this.toolStripMenuItemFont.Size = new System.Drawing.Size(330, 24); + this.toolStripMenuItemFont.Size = new System.Drawing.Size(275, 22); this.toolStripMenuItemFont.Text = "Font name..."; this.toolStripMenuItemFont.Click += new System.EventHandler(this.toolStripMenuItemFont_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(327, 6); + this.toolStripSeparator2.Size = new System.Drawing.Size(272, 6); // // toolStripMenuItemAutoBreakLines // this.toolStripMenuItemAutoBreakLines.Name = "toolStripMenuItemAutoBreakLines"; - this.toolStripMenuItemAutoBreakLines.Size = new System.Drawing.Size(330, 24); + this.toolStripMenuItemAutoBreakLines.Size = new System.Drawing.Size(275, 22); this.toolStripMenuItemAutoBreakLines.Text = "Auto balance selected lines..."; this.toolStripMenuItemAutoBreakLines.Click += new System.EventHandler(this.ToolStripMenuItemAutoBreakLinesClick); // // toolStripMenuItemUnbreakLines // this.toolStripMenuItemUnbreakLines.Name = "toolStripMenuItemUnbreakLines"; - this.toolStripMenuItemUnbreakLines.Size = new System.Drawing.Size(330, 24); + this.toolStripMenuItemUnbreakLines.Size = new System.Drawing.Size(275, 22); this.toolStripMenuItemUnbreakLines.Text = "Remove line-breaks in selected lines..."; this.toolStripMenuItemUnbreakLines.Click += new System.EventHandler(this.ToolStripMenuItemUnbreakLinesClick); // // toolStripSeparatorBreakLines // this.toolStripSeparatorBreakLines.Name = "toolStripSeparatorBreakLines"; - this.toolStripSeparatorBreakLines.Size = new System.Drawing.Size(327, 6); + this.toolStripSeparatorBreakLines.Size = new System.Drawing.Size(272, 6); // // typeEffectToolStripMenuItem // this.typeEffectToolStripMenuItem.Name = "typeEffectToolStripMenuItem"; - this.typeEffectToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.typeEffectToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.typeEffectToolStripMenuItem.Text = "Typewriter effect..."; this.typeEffectToolStripMenuItem.Click += new System.EventHandler(this.TypeEffectToolStripMenuItemClick); // // karokeeEffectToolStripMenuItem // this.karokeeEffectToolStripMenuItem.Name = "karokeeEffectToolStripMenuItem"; - this.karokeeEffectToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.karokeeEffectToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.karokeeEffectToolStripMenuItem.Text = "Karaoke effect..."; this.karokeeEffectToolStripMenuItem.Click += new System.EventHandler(this.KarokeeEffectToolStripMenuItemClick); // // toolStripSeparatorAdvancedFunctions // this.toolStripSeparatorAdvancedFunctions.Name = "toolStripSeparatorAdvancedFunctions"; - this.toolStripSeparatorAdvancedFunctions.Size = new System.Drawing.Size(327, 6); + this.toolStripSeparatorAdvancedFunctions.Size = new System.Drawing.Size(272, 6); // // showSelectedLinesEarlierlaterToolStripMenuItem // this.showSelectedLinesEarlierlaterToolStripMenuItem.Name = "showSelectedLinesEarlierlaterToolStripMenuItem"; - this.showSelectedLinesEarlierlaterToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.showSelectedLinesEarlierlaterToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.showSelectedLinesEarlierlaterToolStripMenuItem.Text = "Show selected lines earlier/later..."; this.showSelectedLinesEarlierlaterToolStripMenuItem.Click += new System.EventHandler(this.ShowSelectedLinesEarlierlaterToolStripMenuItemClick); // // visualSyncSelectedLinesToolStripMenuItem // this.visualSyncSelectedLinesToolStripMenuItem.Name = "visualSyncSelectedLinesToolStripMenuItem"; - this.visualSyncSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.visualSyncSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.visualSyncSelectedLinesToolStripMenuItem.Text = "Visual sync selected lines..."; this.visualSyncSelectedLinesToolStripMenuItem.Click += new System.EventHandler(this.VisualSyncSelectedLinesToolStripMenuItemClick); // // googleTranslateSelectedLinesToolStripMenuItem // this.googleTranslateSelectedLinesToolStripMenuItem.Name = "googleTranslateSelectedLinesToolStripMenuItem"; - this.googleTranslateSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.googleTranslateSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.googleTranslateSelectedLinesToolStripMenuItem.Text = "Google translate selected lines..."; this.googleTranslateSelectedLinesToolStripMenuItem.Click += new System.EventHandler(this.GoogleTranslateSelectedLinesToolStripMenuItemClick); // // adjustDisplayTimeForSelectedLinesToolStripMenuItem // this.adjustDisplayTimeForSelectedLinesToolStripMenuItem.Name = "adjustDisplayTimeForSelectedLinesToolStripMenuItem"; - this.adjustDisplayTimeForSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.adjustDisplayTimeForSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.adjustDisplayTimeForSelectedLinesToolStripMenuItem.Text = "Adjust display time for selected lines..."; this.adjustDisplayTimeForSelectedLinesToolStripMenuItem.Click += new System.EventHandler(this.AdjustDisplayTimeForSelectedLinesToolStripMenuItemClick); // // fixCommonErrorsInSelectedLinesToolStripMenuItem // this.fixCommonErrorsInSelectedLinesToolStripMenuItem.Name = "fixCommonErrorsInSelectedLinesToolStripMenuItem"; - this.fixCommonErrorsInSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.fixCommonErrorsInSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.fixCommonErrorsInSelectedLinesToolStripMenuItem.Text = "Fix common errors in selected lines..."; this.fixCommonErrorsInSelectedLinesToolStripMenuItem.Click += new System.EventHandler(this.FixCommonErrorsInSelectedLinesToolStripMenuItemClick); // // changeCasingForSelectedLinesToolStripMenuItem // this.changeCasingForSelectedLinesToolStripMenuItem.Name = "changeCasingForSelectedLinesToolStripMenuItem"; - this.changeCasingForSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(330, 24); + this.changeCasingForSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(275, 22); this.changeCasingForSelectedLinesToolStripMenuItem.Text = "Change casing for selected lines..."; this.changeCasingForSelectedLinesToolStripMenuItem.Click += new System.EventHandler(this.ChangeCasingForSelectedLinesToolStripMenuItemClick); // @@ -1783,7 +1792,7 @@ this.checkBoxSyncListViewWithVideoWhilePlaying.AutoSize = true; this.checkBoxSyncListViewWithVideoWhilePlaying.Location = new System.Drawing.Point(561, 11); this.checkBoxSyncListViewWithVideoWhilePlaying.Name = "checkBoxSyncListViewWithVideoWhilePlaying"; - this.checkBoxSyncListViewWithVideoWhilePlaying.Size = new System.Drawing.Size(261, 21); + this.checkBoxSyncListViewWithVideoWhilePlaying.Size = new System.Drawing.Size(207, 17); this.checkBoxSyncListViewWithVideoWhilePlaying.TabIndex = 1; this.checkBoxSyncListViewWithVideoWhilePlaying.Text = "Sync listview with movie when playing"; this.checkBoxSyncListViewWithVideoWhilePlaying.UseVisualStyleBackColor = true; @@ -1833,9 +1842,9 @@ this.toolStripButtonWaveFormPause, this.toolStripButtonWaveFormPlay, this.toolStripButtonLockCenter}); - this.toolStripWaveControls.Location = new System.Drawing.Point(0, 0); + this.toolStripWaveControls.Location = new System.Drawing.Point(0, 3); this.toolStripWaveControls.Name = "toolStripWaveControls"; - this.toolStripWaveControls.Size = new System.Drawing.Size(165, 28); + this.toolStripWaveControls.Size = new System.Drawing.Size(165, 25); this.toolStripWaveControls.TabIndex = 0; this.toolStripWaveControls.Text = "toolStrip2"; // @@ -1845,7 +1854,7 @@ this.toolStripButtonWaveFormZoomOut.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonWaveFormZoomOut.Image"))); this.toolStripButtonWaveFormZoomOut.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonWaveFormZoomOut.Name = "toolStripButtonWaveFormZoomOut"; - this.toolStripButtonWaveFormZoomOut.Size = new System.Drawing.Size(23, 25); + this.toolStripButtonWaveFormZoomOut.Size = new System.Drawing.Size(23, 22); this.toolStripButtonWaveFormZoomOut.Text = "toolStripButton3"; this.toolStripButtonWaveFormZoomOut.Click += new System.EventHandler(this.toolStripButtonWaveFormZoomOut_Click); // @@ -1854,7 +1863,7 @@ this.toolStripComboBoxWaveForm.AutoSize = false; this.toolStripComboBoxWaveForm.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.toolStripComboBoxWaveForm.Name = "toolStripComboBoxWaveForm"; - this.toolStripComboBoxWaveForm.Size = new System.Drawing.Size(62, 28); + this.toolStripComboBoxWaveForm.Size = new System.Drawing.Size(62, 23); // // toolStripButtonWaveFormZoomIn // @@ -1862,14 +1871,14 @@ this.toolStripButtonWaveFormZoomIn.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonWaveFormZoomIn.Image"))); this.toolStripButtonWaveFormZoomIn.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonWaveFormZoomIn.Name = "toolStripButtonWaveFormZoomIn"; - this.toolStripButtonWaveFormZoomIn.Size = new System.Drawing.Size(23, 25); + this.toolStripButtonWaveFormZoomIn.Size = new System.Drawing.Size(23, 22); this.toolStripButtonWaveFormZoomIn.Text = "toolStripButton1"; this.toolStripButtonWaveFormZoomIn.Click += new System.EventHandler(this.toolStripButtonWaveFormZoomIn_Click); // // toolStripSeparator16 // this.toolStripSeparator16.Name = "toolStripSeparator16"; - this.toolStripSeparator16.Size = new System.Drawing.Size(6, 28); + this.toolStripSeparator16.Size = new System.Drawing.Size(6, 25); // // toolStripButtonWaveFormPause // @@ -1878,7 +1887,7 @@ this.toolStripButtonWaveFormPause.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonWaveFormPause.Image"))); this.toolStripButtonWaveFormPause.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonWaveFormPause.Name = "toolStripButtonWaveFormPause"; - this.toolStripButtonWaveFormPause.Size = new System.Drawing.Size(23, 25); + this.toolStripButtonWaveFormPause.Size = new System.Drawing.Size(23, 22); this.toolStripButtonWaveFormPause.Text = "toolStripButton1"; this.toolStripButtonWaveFormPause.Click += new System.EventHandler(this.toolStripButtonWaveFormPause_Click); // @@ -1889,7 +1898,7 @@ this.toolStripButtonWaveFormPlay.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonWaveFormPlay.Image"))); this.toolStripButtonWaveFormPlay.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonWaveFormPlay.Name = "toolStripButtonWaveFormPlay"; - this.toolStripButtonWaveFormPlay.Size = new System.Drawing.Size(23, 25); + this.toolStripButtonWaveFormPlay.Size = new System.Drawing.Size(23, 22); this.toolStripButtonWaveFormPlay.Text = "toolStripButton1"; this.toolStripButtonWaveFormPlay.Visible = false; this.toolStripButtonWaveFormPlay.Click += new System.EventHandler(this.toolStripButtonWaveFormPlay_Click); @@ -1900,7 +1909,7 @@ this.toolStripButtonLockCenter.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonLockCenter.Image"))); this.toolStripButtonLockCenter.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButtonLockCenter.Name = "toolStripButtonLockCenter"; - this.toolStripButtonLockCenter.Size = new System.Drawing.Size(23, 25); + this.toolStripButtonLockCenter.Size = new System.Drawing.Size(23, 22); this.toolStripButtonLockCenter.Text = "Center"; this.toolStripButtonLockCenter.Click += new System.EventHandler(this.toolStripButtonLockCenter_Click_1); // @@ -1954,10 +1963,10 @@ this.tabPageTranslate.Controls.Add(this.buttonPlayPrevious); this.tabPageTranslate.Controls.Add(this.buttonPlayCurrent); this.tabPageTranslate.Controls.Add(this.buttonPlayNext); - this.tabPageTranslate.Location = new System.Drawing.Point(4, 26); + this.tabPageTranslate.Location = new System.Drawing.Point(4, 22); this.tabPageTranslate.Name = "tabPageTranslate"; this.tabPageTranslate.Padding = new System.Windows.Forms.Padding(3); - this.tabPageTranslate.Size = new System.Drawing.Size(459, 253); + this.tabPageTranslate.Size = new System.Drawing.Size(459, 257); this.tabPageTranslate.TabIndex = 0; this.tabPageTranslate.Text = "Translate"; this.tabPageTranslate.UseVisualStyleBackColor = true; @@ -1968,7 +1977,7 @@ this.labelTranslateTip.ForeColor = System.Drawing.Color.Silver; this.labelTranslateTip.Location = new System.Drawing.Point(9, 232); this.labelTranslateTip.Name = "labelTranslateTip"; - this.labelTranslateTip.Size = new System.Drawing.Size(389, 17); + this.labelTranslateTip.Size = new System.Drawing.Size(307, 13); this.labelTranslateTip.TabIndex = 7; this.labelTranslateTip.Text = "Tip: Use to go to previous/next subtitle"; // @@ -2061,7 +2070,7 @@ "15"}); this.comboBoxAutoContinue.Location = new System.Drawing.Point(6, 59); this.comboBoxAutoContinue.Name = "comboBoxAutoContinue"; - this.comboBoxAutoContinue.Size = new System.Drawing.Size(91, 25); + this.comboBoxAutoContinue.Size = new System.Drawing.Size(91, 21); this.comboBoxAutoContinue.TabIndex = 2; // // labelAutoContinueDelay @@ -2069,7 +2078,7 @@ this.labelAutoContinueDelay.AutoSize = true; this.labelAutoContinueDelay.Location = new System.Drawing.Point(7, 43); this.labelAutoContinueDelay.Name = "labelAutoContinueDelay"; - this.labelAutoContinueDelay.Size = new System.Drawing.Size(106, 17); + this.labelAutoContinueDelay.Size = new System.Drawing.Size(84, 13); this.labelAutoContinueDelay.TabIndex = 1; this.labelAutoContinueDelay.Text = "Delay (seconds)"; // @@ -2078,7 +2087,7 @@ this.checkBoxAutoContinue.AutoSize = true; this.checkBoxAutoContinue.Location = new System.Drawing.Point(10, 19); this.checkBoxAutoContinue.Name = "checkBoxAutoContinue"; - this.checkBoxAutoContinue.Size = new System.Drawing.Size(136, 21); + this.checkBoxAutoContinue.Size = new System.Drawing.Size(108, 17); this.checkBoxAutoContinue.TabIndex = 0; this.checkBoxAutoContinue.Text = "Auto continue on"; this.checkBoxAutoContinue.UseVisualStyleBackColor = true; @@ -2122,7 +2131,7 @@ "9"}); this.comboBoxAutoRepeat.Location = new System.Drawing.Point(6, 60); this.comboBoxAutoRepeat.Name = "comboBoxAutoRepeat"; - this.comboBoxAutoRepeat.Size = new System.Drawing.Size(96, 25); + this.comboBoxAutoRepeat.Size = new System.Drawing.Size(96, 21); this.comboBoxAutoRepeat.TabIndex = 2; // // labelAutoRepeatCount @@ -2130,7 +2139,7 @@ this.labelAutoRepeatCount.AutoSize = true; this.labelAutoRepeatCount.Location = new System.Drawing.Point(6, 44); this.labelAutoRepeatCount.Name = "labelAutoRepeatCount"; - this.labelAutoRepeatCount.Size = new System.Drawing.Size(137, 17); + this.labelAutoRepeatCount.Size = new System.Drawing.Size(108, 13); this.labelAutoRepeatCount.TabIndex = 1; this.labelAutoRepeatCount.Text = "Repeat count (times)"; // @@ -2141,7 +2150,7 @@ this.checkBoxAutoRepeatOn.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxAutoRepeatOn.Location = new System.Drawing.Point(10, 19); this.checkBoxAutoRepeatOn.Name = "checkBoxAutoRepeatOn"; - this.checkBoxAutoRepeatOn.Size = new System.Drawing.Size(122, 21); + this.checkBoxAutoRepeatOn.Size = new System.Drawing.Size(99, 17); this.checkBoxAutoRepeatOn.TabIndex = 0; this.checkBoxAutoRepeatOn.Text = "Auto repeat on"; this.checkBoxAutoRepeatOn.UseVisualStyleBackColor = true; @@ -2199,10 +2208,10 @@ this.tabPageCreate.Controls.Add(this.numericUpDownSec1); this.tabPageCreate.Controls.Add(this.labelVideoPosition); this.tabPageCreate.Controls.Add(this.buttonSecBack1); - this.tabPageCreate.Location = new System.Drawing.Point(4, 26); + this.tabPageCreate.Location = new System.Drawing.Point(4, 22); this.tabPageCreate.Name = "tabPageCreate"; this.tabPageCreate.Padding = new System.Windows.Forms.Padding(3); - this.tabPageCreate.Size = new System.Drawing.Size(459, 253); + this.tabPageCreate.Size = new System.Drawing.Size(459, 257); this.tabPageCreate.TabIndex = 1; this.tabPageCreate.Text = "Create"; this.tabPageCreate.UseVisualStyleBackColor = true; @@ -2212,9 +2221,9 @@ this.timeUpDownVideoPosition.AutoSize = true; this.timeUpDownVideoPosition.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.timeUpDownVideoPosition.Location = new System.Drawing.Point(86, 192); - this.timeUpDownVideoPosition.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.timeUpDownVideoPosition.Margin = new System.Windows.Forms.Padding(4); this.timeUpDownVideoPosition.Name = "timeUpDownVideoPosition"; - this.timeUpDownVideoPosition.Size = new System.Drawing.Size(123, 29); + this.timeUpDownVideoPosition.Size = new System.Drawing.Size(92, 25); this.timeUpDownVideoPosition.TabIndex = 12; // // buttonGotoSub @@ -2273,7 +2282,7 @@ this.labelCreateF12.ForeColor = System.Drawing.Color.Silver; this.labelCreateF12.Location = new System.Drawing.Point(178, 114); this.labelCreateF12.Name = "labelCreateF12"; - this.labelCreateF12.Size = new System.Drawing.Size(31, 17); + this.labelCreateF12.Size = new System.Drawing.Size(25, 13); this.labelCreateF12.TabIndex = 65; this.labelCreateF12.Text = "F12"; // @@ -2283,7 +2292,7 @@ this.labelCreateF11.ForeColor = System.Drawing.Color.Silver; this.labelCreateF11.Location = new System.Drawing.Point(178, 88); this.labelCreateF11.Name = "labelCreateF11"; - this.labelCreateF11.Size = new System.Drawing.Size(31, 17); + this.labelCreateF11.Size = new System.Drawing.Size(25, 13); this.labelCreateF11.TabIndex = 64; this.labelCreateF11.Text = "F11"; // @@ -2293,7 +2302,7 @@ this.labelCreateF10.ForeColor = System.Drawing.Color.Silver; this.labelCreateF10.Location = new System.Drawing.Point(178, 36); this.labelCreateF10.Name = "labelCreateF10"; - this.labelCreateF10.Size = new System.Drawing.Size(31, 17); + this.labelCreateF10.Size = new System.Drawing.Size(25, 13); this.labelCreateF10.TabIndex = 63; this.labelCreateF10.Text = "F10"; // @@ -2303,7 +2312,7 @@ this.labelCreateF9.ForeColor = System.Drawing.Color.Silver; this.labelCreateF9.Location = new System.Drawing.Point(178, 10); this.labelCreateF9.Name = "labelCreateF9"; - this.labelCreateF9.Size = new System.Drawing.Size(23, 17); + this.labelCreateF9.Size = new System.Drawing.Size(19, 13); this.labelCreateF9.TabIndex = 62; this.labelCreateF9.Text = "F9"; // @@ -2332,7 +2341,7 @@ 0, 0}); this.numericUpDownSec2.Name = "numericUpDownSec2"; - this.numericUpDownSec2.Size = new System.Drawing.Size(51, 24); + this.numericUpDownSec2.Size = new System.Drawing.Size(51, 21); this.numericUpDownSec2.TabIndex = 9; this.numericUpDownSec2.Value = new decimal(new int[] { 5000, @@ -2356,7 +2365,7 @@ this.labelCreateTip.ForeColor = System.Drawing.Color.Silver; this.labelCreateTip.Location = new System.Drawing.Point(7, 230); this.labelCreateTip.Name = "labelCreateTip"; - this.labelCreateTip.Size = new System.Drawing.Size(232, 17); + this.labelCreateTip.Size = new System.Drawing.Size(186, 13); this.labelCreateTip.TabIndex = 13; this.labelCreateTip.Text = "Tip: Use keys"; // @@ -2385,7 +2394,7 @@ 0, 0}); this.numericUpDownSec1.Name = "numericUpDownSec1"; - this.numericUpDownSec1.Size = new System.Drawing.Size(51, 24); + this.numericUpDownSec1.Size = new System.Drawing.Size(51, 21); this.numericUpDownSec1.TabIndex = 6; this.numericUpDownSec1.Value = new decimal(new int[] { 500, @@ -2398,7 +2407,7 @@ this.labelVideoPosition.AutoSize = true; this.labelVideoPosition.Location = new System.Drawing.Point(9, 196); this.labelVideoPosition.Name = "labelVideoPosition"; - this.labelVideoPosition.Size = new System.Drawing.Size(97, 17); + this.labelVideoPosition.Size = new System.Drawing.Size(77, 13); this.labelVideoPosition.TabIndex = 11; this.labelVideoPosition.Text = "Video position:"; // @@ -2433,9 +2442,9 @@ this.tabPageAdjust.Controls.Add(this.labelVideoPosition2); this.tabPageAdjust.Controls.Add(this.buttonAdjustGoToPosAndPause); this.tabPageAdjust.Controls.Add(this.buttonAdjustPlayBefore); - this.tabPageAdjust.Location = new System.Drawing.Point(4, 26); + this.tabPageAdjust.Location = new System.Drawing.Point(4, 22); this.tabPageAdjust.Name = "tabPageAdjust"; - this.tabPageAdjust.Size = new System.Drawing.Size(459, 253); + this.tabPageAdjust.Size = new System.Drawing.Size(459, 257); this.tabPageAdjust.TabIndex = 2; this.tabPageAdjust.Text = "Adjust"; this.tabPageAdjust.UseVisualStyleBackColor = true; @@ -2445,9 +2454,9 @@ this.timeUpDownVideoPositionAdjust.AutoSize = true; this.timeUpDownVideoPositionAdjust.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.timeUpDownVideoPositionAdjust.Location = new System.Drawing.Point(87, 214); - this.timeUpDownVideoPositionAdjust.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.timeUpDownVideoPositionAdjust.Margin = new System.Windows.Forms.Padding(4); this.timeUpDownVideoPositionAdjust.Name = "timeUpDownVideoPositionAdjust"; - this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(123, 29); + this.timeUpDownVideoPositionAdjust.Size = new System.Drawing.Size(92, 25); this.timeUpDownVideoPositionAdjust.TabIndex = 13; // // buttonAdjustSetEndTime @@ -2496,7 +2505,7 @@ this.labelAdjustTip.ForeColor = System.Drawing.Color.Silver; this.labelAdjustTip.Location = new System.Drawing.Point(6, 239); this.labelAdjustTip.Name = "labelAdjustTip"; - this.labelAdjustTip.Size = new System.Drawing.Size(232, 17); + this.labelAdjustTip.Size = new System.Drawing.Size(186, 13); this.labelAdjustTip.TabIndex = 14; this.labelAdjustTip.Text = "Tip: Use keys"; // @@ -2506,7 +2515,7 @@ this.labelAdjustF12.ForeColor = System.Drawing.Color.Silver; this.labelAdjustF12.Location = new System.Drawing.Point(178, 88); this.labelAdjustF12.Name = "labelAdjustF12"; - this.labelAdjustF12.Size = new System.Drawing.Size(31, 17); + this.labelAdjustF12.Size = new System.Drawing.Size(25, 13); this.labelAdjustF12.TabIndex = 64; this.labelAdjustF12.Text = "F12"; // @@ -2516,7 +2525,7 @@ this.labelAdjustF11.ForeColor = System.Drawing.Color.Silver; this.labelAdjustF11.Location = new System.Drawing.Point(178, 62); this.labelAdjustF11.Name = "labelAdjustF11"; - this.labelAdjustF11.Size = new System.Drawing.Size(31, 17); + this.labelAdjustF11.Size = new System.Drawing.Size(25, 13); this.labelAdjustF11.TabIndex = 63; this.labelAdjustF11.Text = "F11"; // @@ -2526,7 +2535,7 @@ this.labelAdjustF10.ForeColor = System.Drawing.Color.Silver; this.labelAdjustF10.Location = new System.Drawing.Point(178, 36); this.labelAdjustF10.Name = "labelAdjustF10"; - this.labelAdjustF10.Size = new System.Drawing.Size(31, 17); + this.labelAdjustF10.Size = new System.Drawing.Size(25, 13); this.labelAdjustF10.TabIndex = 62; this.labelAdjustF10.Text = "F10"; // @@ -2536,7 +2545,7 @@ this.labelAdjustF9.ForeColor = System.Drawing.Color.Silver; this.labelAdjustF9.Location = new System.Drawing.Point(178, 10); this.labelAdjustF9.Name = "labelAdjustF9"; - this.labelAdjustF9.Size = new System.Drawing.Size(23, 17); + this.labelAdjustF9.Size = new System.Drawing.Size(19, 13); this.labelAdjustF9.TabIndex = 61; this.labelAdjustF9.Text = "F9"; // @@ -2565,7 +2574,7 @@ 0, 0}); this.numericUpDownSecAdjust2.Name = "numericUpDownSecAdjust2"; - this.numericUpDownSecAdjust2.Size = new System.Drawing.Size(51, 24); + this.numericUpDownSecAdjust2.Size = new System.Drawing.Size(51, 21); this.numericUpDownSecAdjust2.TabIndex = 10; this.numericUpDownSecAdjust2.Value = new decimal(new int[] { 5000, @@ -2608,7 +2617,7 @@ 0, 0}); this.numericUpDownSecAdjust1.Name = "numericUpDownSecAdjust1"; - this.numericUpDownSecAdjust1.Size = new System.Drawing.Size(51, 24); + this.numericUpDownSecAdjust1.Size = new System.Drawing.Size(51, 21); this.numericUpDownSecAdjust1.TabIndex = 7; this.numericUpDownSecAdjust1.Value = new decimal(new int[] { 500, @@ -2631,7 +2640,7 @@ this.labelVideoPosition2.AutoSize = true; this.labelVideoPosition2.Location = new System.Drawing.Point(9, 219); this.labelVideoPosition2.Name = "labelVideoPosition2"; - this.labelVideoPosition2.Size = new System.Drawing.Size(97, 17); + this.labelVideoPosition2.Size = new System.Drawing.Size(77, 13); this.labelVideoPosition2.TabIndex = 12; this.labelVideoPosition2.Text = "Video position:"; // @@ -2690,52 +2699,52 @@ this.toolStripSeparator11, this.toolStripMenuItemWaveFormPlaySelection}); this.contextMenuStripWaveForm.Name = "contextMenuStripWaveForm"; - this.contextMenuStripWaveForm.Size = new System.Drawing.Size(214, 154); + this.contextMenuStripWaveForm.Size = new System.Drawing.Size(183, 142); // // addParagraphHereToolStripMenuItem // this.addParagraphHereToolStripMenuItem.Name = "addParagraphHereToolStripMenuItem"; - this.addParagraphHereToolStripMenuItem.Size = new System.Drawing.Size(213, 24); + this.addParagraphHereToolStripMenuItem.Size = new System.Drawing.Size(182, 22); this.addParagraphHereToolStripMenuItem.Text = "Add paragraph here"; this.addParagraphHereToolStripMenuItem.Click += new System.EventHandler(this.addParagraphHereToolStripMenuItem_Click); // // deleteParagraphToolStripMenuItem // this.deleteParagraphToolStripMenuItem.Name = "deleteParagraphToolStripMenuItem"; - this.deleteParagraphToolStripMenuItem.Size = new System.Drawing.Size(213, 24); + this.deleteParagraphToolStripMenuItem.Size = new System.Drawing.Size(182, 22); this.deleteParagraphToolStripMenuItem.Text = "Delete paragraph"; this.deleteParagraphToolStripMenuItem.Click += new System.EventHandler(this.deleteParagraphToolStripMenuItem_Click); // // splitToolStripMenuItem1 // this.splitToolStripMenuItem1.Name = "splitToolStripMenuItem1"; - this.splitToolStripMenuItem1.Size = new System.Drawing.Size(213, 24); + this.splitToolStripMenuItem1.Size = new System.Drawing.Size(182, 22); this.splitToolStripMenuItem1.Text = "Split"; this.splitToolStripMenuItem1.Click += new System.EventHandler(this.splitToolStripMenuItem1_Click); // // mergeWithPreviousToolStripMenuItem // this.mergeWithPreviousToolStripMenuItem.Name = "mergeWithPreviousToolStripMenuItem"; - this.mergeWithPreviousToolStripMenuItem.Size = new System.Drawing.Size(213, 24); + this.mergeWithPreviousToolStripMenuItem.Size = new System.Drawing.Size(182, 22); this.mergeWithPreviousToolStripMenuItem.Text = "Merge with previous"; this.mergeWithPreviousToolStripMenuItem.Click += new System.EventHandler(this.mergeWithPreviousToolStripMenuItem_Click); // // mergeWithNextToolStripMenuItem // this.mergeWithNextToolStripMenuItem.Name = "mergeWithNextToolStripMenuItem"; - this.mergeWithNextToolStripMenuItem.Size = new System.Drawing.Size(213, 24); + this.mergeWithNextToolStripMenuItem.Size = new System.Drawing.Size(182, 22); this.mergeWithNextToolStripMenuItem.Text = "Merge with next"; this.mergeWithNextToolStripMenuItem.Click += new System.EventHandler(this.mergeWithNextToolStripMenuItem_Click); // // toolStripSeparator11 // this.toolStripSeparator11.Name = "toolStripSeparator11"; - this.toolStripSeparator11.Size = new System.Drawing.Size(210, 6); + this.toolStripSeparator11.Size = new System.Drawing.Size(179, 6); // // toolStripMenuItemWaveFormPlaySelection // this.toolStripMenuItemWaveFormPlaySelection.Name = "toolStripMenuItemWaveFormPlaySelection"; - this.toolStripMenuItemWaveFormPlaySelection.Size = new System.Drawing.Size(213, 24); + this.toolStripMenuItemWaveFormPlaySelection.Size = new System.Drawing.Size(182, 22); this.toolStripMenuItemWaveFormPlaySelection.Text = "Play selection"; this.toolStripMenuItemWaveFormPlaySelection.Click += new System.EventHandler(this.toolStripMenuItemWaveFormPlaySelection_Click); // @@ -2743,7 +2752,7 @@ // this.splitContainerMain.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerMain.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; - this.splitContainerMain.Location = new System.Drawing.Point(0, 66); + this.splitContainerMain.Location = new System.Drawing.Point(0, 64); this.splitContainerMain.Name = "splitContainerMain"; this.splitContainerMain.Orientation = System.Windows.Forms.Orientation.Horizontal; // @@ -2754,8 +2763,8 @@ // splitContainerMain.Panel2 // this.splitContainerMain.Panel2.Controls.Add(this.groupBoxVideo); - this.splitContainerMain.Size = new System.Drawing.Size(1244, 592); - this.splitContainerMain.SplitterDistance = 283; + this.splitContainerMain.Size = new System.Drawing.Size(1244, 594); + this.splitContainerMain.SplitterDistance = 285; this.splitContainerMain.TabIndex = 8; // // splitContainer1 @@ -2771,7 +2780,7 @@ // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.panelVideoPlayer); - this.splitContainer1.Size = new System.Drawing.Size(1244, 283); + this.splitContainer1.Size = new System.Drawing.Size(1244, 285); this.splitContainer1.SplitterDistance = 950; this.splitContainer1.TabIndex = 7; // @@ -2786,7 +2795,7 @@ this.tabControlSubtitle.Location = new System.Drawing.Point(3, 3); this.tabControlSubtitle.Name = "tabControlSubtitle"; this.tabControlSubtitle.SelectedIndex = 0; - this.tabControlSubtitle.Size = new System.Drawing.Size(945, 280); + this.tabControlSubtitle.Size = new System.Drawing.Size(945, 282); this.tabControlSubtitle.TabIndex = 0; this.tabControlSubtitle.SelectedIndexChanged += new System.EventHandler(this.TabControlSubtitleSelectedIndexChanged); // @@ -2794,10 +2803,10 @@ // this.tabPage1.Controls.Add(this.groupBoxEdit); this.tabPage1.Controls.Add(this.SubtitleListview1); - this.tabPage1.Location = new System.Drawing.Point(4, 26); + this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(937, 250); + this.tabPage1.Size = new System.Drawing.Size(937, 256); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "List view"; this.tabPage1.UseVisualStyleBackColor = true; @@ -2824,7 +2833,7 @@ this.groupBoxEdit.Controls.Add(this.textBoxListViewText); this.groupBoxEdit.Controls.Add(this.labelDuration); this.groupBoxEdit.Controls.Add(this.labelAutoDuration); - this.groupBoxEdit.Location = new System.Drawing.Point(3, 148); + this.groupBoxEdit.Location = new System.Drawing.Point(3, 154); this.groupBoxEdit.Name = "groupBoxEdit"; this.groupBoxEdit.Size = new System.Drawing.Size(926, 102); this.groupBoxEdit.TabIndex = 1; @@ -2875,9 +2884,9 @@ this.timeUpDownStartTime.AutoSize = true; this.timeUpDownStartTime.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.timeUpDownStartTime.Location = new System.Drawing.Point(9, 27); - this.timeUpDownStartTime.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.timeUpDownStartTime.Margin = new System.Windows.Forms.Padding(4); this.timeUpDownStartTime.Name = "timeUpDownStartTime"; - this.timeUpDownStartTime.Size = new System.Drawing.Size(123, 29); + this.timeUpDownStartTime.Size = new System.Drawing.Size(92, 25); this.timeUpDownStartTime.TabIndex = 0; // // buttonUndoListViewChanges @@ -2897,7 +2906,7 @@ this.labelStartTimeWarning.ForeColor = System.Drawing.Color.Red; this.labelStartTimeWarning.Location = new System.Drawing.Point(6, 53); this.labelStartTimeWarning.Name = "labelStartTimeWarning"; - this.labelStartTimeWarning.Size = new System.Drawing.Size(145, 17); + this.labelStartTimeWarning.Size = new System.Drawing.Size(115, 13); this.labelStartTimeWarning.TabIndex = 18; this.labelStartTimeWarning.Text = "labelStartTimeWarning"; // @@ -2907,7 +2916,7 @@ this.labelDurationWarning.ForeColor = System.Drawing.Color.Red; this.labelDurationWarning.Location = new System.Drawing.Point(120, 53); this.labelDurationWarning.Name = "labelDurationWarning"; - this.labelDurationWarning.Size = new System.Drawing.Size(139, 17); + this.labelDurationWarning.Size = new System.Drawing.Size(110, 13); this.labelDurationWarning.TabIndex = 17; this.labelDurationWarning.Text = "labelDurationWarning"; // @@ -2931,7 +2940,7 @@ 0, -2147483648}); this.numericUpDownDuration.Name = "numericUpDownDuration"; - this.numericUpDownDuration.Size = new System.Drawing.Size(54, 24); + this.numericUpDownDuration.Size = new System.Drawing.Size(54, 21); this.numericUpDownDuration.TabIndex = 1; this.numericUpDownDuration.ValueChanged += new System.EventHandler(this.NumericUpDownDurationValueChanged); // @@ -2940,7 +2949,7 @@ this.labelTextLineLengths.AutoSize = true; this.labelTextLineLengths.Location = new System.Drawing.Point(203, 86); this.labelTextLineLengths.Name = "labelTextLineLengths"; - this.labelTextLineLengths.Size = new System.Drawing.Size(135, 17); + this.labelTextLineLengths.Size = new System.Drawing.Size(108, 13); this.labelTextLineLengths.TabIndex = 12; this.labelTextLineLengths.Text = "labelTextLineLengths"; // @@ -2979,7 +2988,7 @@ this.labelText.AutoSize = true; this.labelText.Location = new System.Drawing.Point(203, 11); this.labelText.Name = "labelText"; - this.labelText.Size = new System.Drawing.Size(36, 17); + this.labelText.Size = new System.Drawing.Size(29, 13); this.labelText.TabIndex = 5; this.labelText.Text = "Text"; // @@ -2988,7 +2997,7 @@ this.labelStartTime.AutoSize = true; this.labelStartTime.Location = new System.Drawing.Point(6, 12); this.labelStartTime.Name = "labelStartTime"; - this.labelStartTime.Size = new System.Drawing.Size(68, 17); + this.labelStartTime.Size = new System.Drawing.Size(54, 13); this.labelStartTime.TabIndex = 3; this.labelStartTime.Text = "Start time"; // @@ -3015,7 +3024,7 @@ this.labelDuration.AutoSize = true; this.labelDuration.Location = new System.Drawing.Point(120, 12); this.labelDuration.Name = "labelDuration"; - this.labelDuration.Size = new System.Drawing.Size(61, 17); + this.labelDuration.Size = new System.Drawing.Size(48, 13); this.labelDuration.TabIndex = 4; this.labelDuration.Text = "Duration"; // @@ -3024,7 +3033,7 @@ this.labelAutoDuration.AutoSize = true; this.labelAutoDuration.Location = new System.Drawing.Point(93, 12); this.labelAutoDuration.Name = "labelAutoDuration"; - this.labelAutoDuration.Size = new System.Drawing.Size(37, 17); + this.labelAutoDuration.Size = new System.Drawing.Size(30, 13); this.labelAutoDuration.TabIndex = 30; this.labelAutoDuration.Text = "Auto"; // @@ -3042,7 +3051,7 @@ this.SubtitleListview1.HideSelection = false; this.SubtitleListview1.Location = new System.Drawing.Point(1, 3); this.SubtitleListview1.Name = "SubtitleListview1"; - this.SubtitleListview1.Size = new System.Drawing.Size(932, 144); + this.SubtitleListview1.Size = new System.Drawing.Size(932, 150); this.SubtitleListview1.SmallImageList = this.imageList1; this.SubtitleListview1.TabIndex = 0; this.SubtitleListview1.UseCompatibleStateImageBehavior = false; @@ -3056,10 +3065,10 @@ // tabPage2 // this.tabPage2.Controls.Add(this.textBoxSource); - this.tabPage2.Location = new System.Drawing.Point(4, 26); + this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(937, 250); + this.tabPage2.Size = new System.Drawing.Size(937, 256); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Source view"; this.tabPage2.UseVisualStyleBackColor = true; @@ -3076,7 +3085,7 @@ this.textBoxSource.Multiline = true; this.textBoxSource.Name = "textBoxSource"; this.textBoxSource.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.textBoxSource.Size = new System.Drawing.Size(932, 253); + this.textBoxSource.Size = new System.Drawing.Size(932, 259); this.textBoxSource.TabIndex = 12; this.textBoxSource.WordWrap = false; this.textBoxSource.Click += new System.EventHandler(this.TextBoxSourceClick); @@ -3094,7 +3103,7 @@ this.panelVideoPlayer.Controls.Add(this.mediaPlayer); this.panelVideoPlayer.Location = new System.Drawing.Point(1, 1); this.panelVideoPlayer.Name = "panelVideoPlayer"; - this.panelVideoPlayer.Size = new System.Drawing.Size(282, 278); + this.panelVideoPlayer.Size = new System.Drawing.Size(282, 280); this.panelVideoPlayer.TabIndex = 5; // // mediaPlayer @@ -3108,7 +3117,7 @@ this.mediaPlayer.Margin = new System.Windows.Forms.Padding(0); this.mediaPlayer.Name = "mediaPlayer"; this.mediaPlayer.ShowStopButton = true; - this.mediaPlayer.Size = new System.Drawing.Size(281, 278); + this.mediaPlayer.Size = new System.Drawing.Size(281, 280); this.mediaPlayer.SubtitleText = ""; this.mediaPlayer.TabIndex = 5; this.mediaPlayer.VideoPlayer = null; @@ -3118,7 +3127,7 @@ // // Main // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F); + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1244, 683); this.Controls.Add(this.splitContainerMain); @@ -3475,6 +3484,7 @@ private System.Windows.Forms.ToolStripSeparator toolStripSeparator19; private System.Windows.Forms.ToolStripButton toolStripButtonLockCenter; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemInsertSubtitle; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemAutoSplitLongLines; } } diff --git a/src/Forms/Main.cs b/src/Forms/Main.cs index 25635220b..99a88aa3f 100644 --- a/src/Forms/Main.cs +++ b/src/Forms/Main.cs @@ -500,6 +500,7 @@ namespace Nikse.SubtitleEdit.Forms toolStripMenuItemCompare.Text = _language.Menu.File.Compare; toolStripMenuItemImportDvdSubtitles.Text = _language.Menu.File.ImportOcrFromDvd; toolStripMenuItemSubIdx.Text = _language.Menu.File.ImportOcrVobSubSubtitle; + toolStripButtonGetFrameRate.ToolTipText = _language.GetFrameRateFromVideoFile; toolStripMenuItemImportBluRaySup.Text = _language.Menu.File.ImportBluRaySupFile; @@ -529,6 +530,7 @@ namespace Nikse.SubtitleEdit.Forms ChangeCasingToolStripMenuItem.Text = _language.Menu.Tools.ChangeCasing; toolStripMenuItemChangeFramerate.Text = _language.Menu.Tools.ChangeFrameRate; toolStripMenuItemAutoMergeShortLines.Text = _language.Menu.Tools.MergeShortLines; + toolStripMenuItemAutoSplitLongLines.Text = _language.Menu.Tools.SplitLongLines; setMinimumDisplayTimeBetweenParagraphsToolStripMenuItem.Text = _language.Menu.Tools.MinimumDisplayTimeBetweenParagraphs; toolStripMenuItem1.Text = _language.Menu.Tools.SortBy; sortNumberToolStripMenuItem.Text = _languageGeneral.Number; @@ -5479,6 +5481,33 @@ namespace Nikse.SubtitleEdit.Forms } } + private void toolStripMenuItemAutoSplitLongLines_Click(object sender, EventArgs e) + { + if (_subtitle != null && _subtitle.Paragraphs.Count > 1) + { + ReloadFromSourceView(); + var splitLongLines = new SplitLongLines(); + _formPositionsAndSizes.SetPositionAndSize(splitLongLines); + splitLongLines.Initialize(_subtitle); + if (splitLongLines.ShowDialog(this) == DialogResult.OK) + { + MakeHistoryForUndo(_language.BeforeMergeShortLines); + _subtitle = splitLongLines.SplittedSubtitle; + ShowStatus(string.Format(_language.MergedShortLinesX, splitLongLines.NumberOfSplits)); + SaveSubtitleListviewIndexes(); + ShowSource(); + SubtitleListview1.Fill(_subtitle, _subtitleAlternate); + RestoreSubtitleListviewIndexes(); + _change = true; + } + _formPositionsAndSizes.SavePositionAndSize(splitLongLines); + } + else + { + MessageBox.Show(_language.NoSubtitleLoaded, Title, MessageBoxButtons.OK, MessageBoxIcon.Warning); + } + } + private void setMinimalDisplayTimeDifferenceToolStripMenuItem_Click(object sender, EventArgs e) { SetMinimumDisplayTimeBetweenParagraphs setMinDisplayDiff = new SetMinimumDisplayTimeBetweenParagraphs(); @@ -8024,7 +8053,7 @@ namespace Nikse.SubtitleEdit.Forms RestoreSubtitleListviewIndexes(); } } - } + } } } \ No newline at end of file diff --git a/src/Forms/Main.resx b/src/Forms/Main.resx index 9d75803a4..29380b251 100644 --- a/src/Forms/Main.resx +++ b/src/Forms/Main.resx @@ -127,7 +127,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAATQSURBVFhH7ZfbT1xVFMax+qQv6l9h0sQHffNFHwxNpTNi + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAATQSURBVFhH7ZfbT1xVFMax+qQv6l9h0sQHffNFHwxNpTNi MRQpNLFFWiOUWnWstgajNSEaaxvrpSFyGWSEgsAAUjMdBpC0QygkJcUmarjfL8N9uA34ub+drnHP6Rxs Ex98cJIve591zlrfb+29wzkkJPz/+y+tQFdX1xPd3d1LwWAQzc3NWoFAAC0tLdGxtbUVVFtbW4wkbj7L XKnDmqxND9ue+UBvb+/W5uYmVldXtdbW1rC+vo6NjQ0wzjESiWBrawvb29tanDNmPsMc5kod5rI2PWwB @@ -154,7 +154,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAXJSURBVFhH7VRrbJMFFMVoTCT+MNE//hIU8QUIUTaZPIeK + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAXJSURBVFhH7VRrbJMFFMVoTCT+MNE//hIU8QUIUTaZPIeK DJAg8hLEsQDyMJk8FBgExgaKIJCITBNeMWQOmBtbKXuU2Y3Sje7JYKxd27Vb1617de3WdRsQkuM939YC VhOJ7h9NTr67e8/jfndphwx59Hl0gUcX+MsFsrOzL+v1emRmZiI9PT0E7HNO3qAcT6fT3aXx7du30dfX FwL2OQ/w/rclVCrVZfncTUtL8/f29oLo6ekJQWCmVqu7hY/U1NR/DV6UGmaFLK7VapU38/v9ILq7u/8R @@ -185,7 +185,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAWoSURBVFhH1ZZrTJdlGMZttrU+1Prq5ke/5BpbfmyWuMkH + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAWoSURBVFhH1ZZrTJdlGMZttrU+1Prq5ke/5BpbfmyWuMkH rEinsabzVIhJlIdsNSEEAjyAiggYm5wUnUghKJD/qUzloGEIcQ78y0nwDHLS0rar9/fMh4Hvf31o8KF3 u/Y+PPd9X9f1PM/9vH9mzPg/PXnX3/nop8Ylyq2Zr4wqPx2qmmvAmLmChiCRM21ryq9bosq+aDUPZKhj 8Lg6h4sMGDNX3R+jE7VLNW0GMq7MV3nvVp3rcdC9ZTKcOWIZV+f/NwNZWVnbysrKlJeXJ2c8juzsbOXk @@ -215,7 +215,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAX7SURBVFhHzZbZT5VXFMVv0yaN6ZC+2MTER1/aNKb6BzTy + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAX7SURBVFhHzZbZT5VXFMVv0yaN6ZC+2MTER1/aNKb6BzTy gNaCmFZbrVeLUYLWatrEEbleECHSIkJQqhapRNSWWpnKIEFqWgEtdUBAQRQHnEdEARWE1fM78BHshzUm mPRLVs655+y91jr72+fe6/H8n57VRa8v2FEVrDV7X1NkgUc+g1WFBkUe+Ys9itprxpLeMcqM0X1gPnCP WHLIhQMuOOFG46lnzqgMljr1XE9PT4+6u7v1+PFjdXV1qbOzU48ePdLDhw/14MEDdXR0qL29Xd0PDa3h @@ -247,7 +247,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAjfSURBVFhH1ZcJUBRXGsfNqlHxBgaYAQpEzkHCISDCOI2A + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAjfSURBVFhH1ZcJUBRXGsfNqlHxBgaYAQpEzkHCISDCOI2A CHIpDILMMDMwDLfAcIgSdcRAeeCNRlAMwSsoKh6geAV0w2FEOcKimdVQEmU9KrgaV1QG/vteSrNbqa0I 7lG1XfWr7up53d/vfd/Xr6dHjPh/3AJPDk78n3n7bB8cw02oibKOqSqcmXhWZRd3FtbyKtjGVmNW/MUf ZsjP7eHGnY/7r0iZx5zysJWdhK9CObiioA27Sh+gruol2muBlrp+VFc/xda9XZBIGvttok/BXFK98D+S @@ -291,7 +291,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAlySURBVFhH1VcJVJNXGo1TrTsqkLDpBAERAgjIIpsEERGE + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAlySURBVFhH1VcJVJNXGo1TrTsqkLDpBAERAgjIIpsEERGE iEIwQEIICcEIAgKuiAYstCJqK2oBcUppqxWFoowoLi2olUWigGVAGSkDlTq2FatFhbLcvmfV2lar9vTM OfOfc8+/5Hv/vd/9vvfyfgbj//FwWvX5+P+ZbqOY1pFGkWXh7LDSndqhJa3mshIYS4pgFl6MsYuLv2QK j+wxkJQudVq1968XZRBxxH2GtBje8cqhdZmN2J3fhcqj93G5Aqiv7EdZ2W28ndeOsLDqfpPwI2CLShf9 @@ -338,7 +338,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAbzSURBVFhH7VZnTFZXGCbaH036o4lN0zalKtHGWgOUJVAB + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAbzSURBVFhH7VZnTFZXGCbaH036o4lN0zalKtHGWgOUJVAB B8pSFBQ3onGgGAei4IqYiorIUEDcmoAVahFHVHAwBAoOZEitCQZQxIkIKgoi4+l53nrvh9QfbZMm/dGT PHnPuefe8z7vvMfI6P/xvwf+Cx7IyMiwXL9+fWfJ1KkoXboUpUuW4LfAQPySlobci3lIzPoZU0pXIbBs C4J+DccPJfHIz8tHQVYeAmOKEBBRhoAtpQgIL0PCj5eQn5+L48ePw83NDfPnzxcsWrQIp0+fRk5ODs6e @@ -374,7 +374,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAASkSURBVFhH7ZVZTGNlGIYZl2j0zisTY8yEC+ON8WKiN0a8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAASkSURBVFhH7ZVZTGNlGIYZl2j0zisTY8yEC+ON8WKiN0a8 MWZCmdJSli7QhVJogQIFSlvaHijQUhhACsMiHYrAMGyltGUpW+kM67AMFMIyMDpxJo7B6IWXxujrfxAS gvFiOnQujCd5859/Od/3vN932hMR8f/1X6xA7yLD5AqmYGiDi67luIcv3ONQUIrNox7s/+KCZ1uJ3jUe bt1lNr4QkL5V8SPvVgH2fh7C4pNa7Bw5ce9xM/pXZOi8x0FYIRyOqNcHVzOI+y4s/XAD098ZMfnQgLnH @@ -400,7 +400,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAVrSURBVFhHrZdHSG1XFIZfyoMUyCQho2QeyVAiJCQhgwTC + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAVrSURBVFhHrZdHSG1XFIZfyoMUyCQho2QeyVAiJCQhgwTC e5Nk4FicCI4cGBELiCKCPU/sFTtib2DvvXcRwV6wYI332ZKd9W3uvjka9SooLM46a/3/v9au9/jixRP/ Ojs7v+zt7a3p6+u76u/vVxg+MXJPlHs6vL29/W8M5uXlpcLwrfGnq97DaG5u/qmpqSlwZGTkpYF0dXWp 6+trdXx8rA4PD7XhEyNncHBaWloC0XhyQ5Cl8DmCMrILmVol769qamo+Imaz2dT+/r46ODjQhk+MHJjW @@ -429,7 +429,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAeXSURBVFhH7Vd7UNNXFkbbnV3bmd3pdnZb21pnO90+wgo2 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAeXSURBVFhH7Vd7UNNXFkbbnV3bmd3pdnZb21pnO90+wgo2 Glh8wFZBjKBoeUhACBApAhECGkQsRCWUh2J4ykMFLSooImpBQEWgBUXF6joOUwfqtC6rq1ZnRSUJQb49 50fCrA8e3b83M9/kzr3f951zzz3390usrP7/GW8FgAneyW0yWWZbk0jTMrBAU9/nnHgSDB7zHK8xx4q4 47Udm8eBtQ05flsaEZHXZNTV/oDd3/Sg/vIdXLzeK4DHPJdFa9EF7QZZ+mks0TZs12g0E8cOMApDmlI7 @@ -468,7 +468,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAf2SURBVFhH7Zd5TNTpHcaHpNkeAko8uQRUBBZnuAfm4JiB + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAf2SURBVFhH7Zd5TNTpHcaHpNkeAko8uQRUBBZnuAfm4JiB uZj7PhgYYEQRr26NrXWzbuqmaWI2mvVIjGt3G++w1qibrPEo3uKiiGgRXY1aNfG+Tf9oa55+vy8Opdvd /+r2n5I8ee/n88z7vr/5DRLJ///+1zuwb9++TNLTPXv2YMuWLdi8ebMQ17du3Sq0bdu24XLHjh3Yvn07 uBypWN/IubH13/ZlFjOZLTlw4MAX/f39/3j27BkePnwo9OjRI1E+fvwYT548wdOnT8HjrOfPn+PFixd4 @@ -508,7 +508,7 @@ iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAWRSURBVFhH7ZZLSFZbFMcDkS5paeaj8pGa7zQr7W1p+X6/ + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAWRSURBVFhH7ZZLSFZbFMcDkS5paeaj8pGa7zQr7W1p+X6/ UjPNhAyyJCGC4BKCBE3KwKJBCQ1qlDhQooGRYKZmopaTBkJpNImoQQgWaK7Ob133ud+X93YnCnfQgT9n n73WXv+111p77bNixe/ndwT+DxFYuXLl2K5du2T37t2SlJQkBw8elAMHDsj+/ftl1apVsnPnTkG+d+9e Gzt27JDw8HD93rNnjwK9hIQECQoKkm3btsm+ffvUBraMjouLi9qy9j1m7z0sLEw+f/6siocPH9ZFx48f @@ -538,7 +538,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIISURBVDhPpZP7S1NxGMbPPxKaXVUkMEq8IpKUCoY/hGgI ymqkDYYXcCjDZOANURSjCNGFQUTsl4GXVMxKk62YU4fXQpaIlygHQxBRH8/zwvyaIAYe+HLgnPN8nue9 HA3nvDTq63oW/jm13XOwvPTB3DYFY5MH+bXfcN8ygfTSMSSXfESicQDxBqdYHwH29g9w2tnZ3UcguIvN rR3417exuBJE5N1n/wfwLgXEOc38Bc6xNRHb+/y4nm49G0Bnit2zf9H6bkliE/jKuYxrd6oVgDWfjB+K @@ -583,7 +583,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAHUSURBVDhPrZLfS1NhHMb9f6Sb6A8IvQvCguqiGyHTMuiX + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHUSURBVDhPrZLfS1NhHMb9f6Sb6A8IvQvCguqiGyHTMuiX zTG1YDHHGMcp81gTzyzdnFtsMVsaYiC5tWOsRVirXBfijTaE1tJNKrFPvi8ow3MUhL7w3r3P53m+D9+a mv855com6UyW0UgMV+8ATo+X4bEwSf0NG+Uyh3oV1tYIReNEE1PkPi+yvr4h34fcpx1gFP9IkG+FgjlE fBTi2VSa/fN76y+lyjaRiWl8ml9CDUlEbOF8kHiluMXX1T8o6jDJVMoIEBFF7OrZdd4Vv1/6RfCZzqCm @@ -597,7 +597,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAHhSURBVDhPrZPfS1NxGMb9f6Kb6A8Iu4lALKgughA0TYVl + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHhSURBVDhPrZPfS1NxGMb9f6Kb6A8Iu4lALKgughA0TYVl 2RKxgsUcY5z9YMxYOVfq3GZuMrUmskTC3NFWEbNV0sUW0bxrHldGKvWp90DDPGsQ9ML38vk8z/vwfuvq /udom2XSmeeMjMexuwewubwEx6IsqitsaBo1vT58LBKOJYjNJMm9WaNc/qy/1dzrX8AYQ8Mh8oX31SHi LOKFJ2n2z/buD7St74xPzeEPDPGpVDJCJLY4750+dxR5Ii6Wdnm3voPiC5KanzcCJKLE3g+46hitiF/m @@ -611,7 +611,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAACvSURBVDhPY2AYBRgh0Lv57/+uDb/+Z09++Akkic4nGGQg + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACvSURBVDhPY2AYBRgh0Lv57/+uDb/+Z09++Akkic4nGGQg zVcf/vmvG7rqP0gxOp+gAW1rv/2/9fT3f1W/RWAD0PkEDWhc8fn/5Ye//8u5zQIbgM4naEDt4vf/T1z/ /V/MbhLYAHQ+QQMq5r36v/vCz//8Zt1gA9D5BA0omf38//qTP/9zGrSCDUDnEzSgYPrj/wv2fP7PqtMI NgCdT9AAUPyz6TbBDUDnEzRg6CkAAJHglk8ZsGXnAAAAAElFTkSuQmCC @@ -620,7 +620,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAD+SURBVDhPY2DAAkJX/WfGJk60WErHY5n6+v9MRGtAV1g4 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD+SURBVDhPY2DAAkJX/WfGJk60WErHY5n6+v9MRGtAV1g4 6/n/xGkflMg2JHfms/8J3ff+x096rUGWdzKmPP0/b//v/0ENN18ndD61JdmQhJ4n/2fv+/W/c+vf/26l l/8n9j6yJ8mQyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/Gkcv+OxScjifK JR5V9/+XzH0H16zo0vNfxntlINHRal96939gyzOwzSDN0t4rvIjWDFJokXfnv03BFbBmSZ9VNiRpBik2 @@ -631,7 +631,7 @@ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAJeSURBVDhPnZJbT1NBFIX5Rz75H7wkxsQYE2OMgonGYDQG + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJeSURBVDhPnZJbT1NBFIX5Rz75H7wkxsQYE2OMgonGYDQG 44XUVDQEJRWjhra0PfYCtLQUaPGWUrCgbXngxRgffIDaUEpAbKG3c3raM8s9c2o59dFJVuZhz3yz15rd 5YuuwhdJwxsl0e6JpHDlRV6oZ0RX9/MtUh7S9ApcQstwhhJwBj+hyxtZxb+LX4p/0xBdY7DFNZiDCo50 r4Ix1qGjx3t0gLFQqzNcphfn1zQEkgwv3zdg8ncC6g2GL1/zaAHSHYCywnDJksNUSoO0xGB528CDcVl0 diff --git a/src/Forms/SplitLongLines.Designer.cs b/src/Forms/SplitLongLines.Designer.cs new file mode 100644 index 000000000..9a8adc761 --- /dev/null +++ b/src/Forms/SplitLongLines.Designer.cs @@ -0,0 +1,309 @@ +namespace Nikse.SubtitleEdit.Forms +{ + partial class SplitLongLines + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.groupBoxLinesFound = new System.Windows.Forms.GroupBox(); + this.listViewFixes = new System.Windows.Forms.ListView(); + this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.numericUpDownSingleLineMaxCharacters = new System.Windows.Forms.NumericUpDown(); + this.labelLineMaxLength = new System.Windows.Forms.Label(); + this.labelSingleLineMaxLength = new System.Windows.Forms.Label(); + this.buttonOK = new System.Windows.Forms.Button(); + this.buttonCancel = new System.Windows.Forms.Button(); + this.numericUpDownLineMaxCharacters = new System.Windows.Forms.NumericUpDown(); + this.labelMaxSingleLineLengthIs = new System.Windows.Forms.Label(); + this.labelMaxLineLengthIs = new System.Windows.Forms.Label(); + this.comboBoxLineContinuationBegin = new System.Windows.Forms.ComboBox(); + this.labelLineContinuationBeginEnd = new System.Windows.Forms.Label(); + this.comboBoxLineContinuationEnd = new System.Windows.Forms.ComboBox(); + this.SubtitleListview1 = new Nikse.SubtitleEdit.Controls.SubtitleListView(); + this.groupBoxLinesFound.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownSingleLineMaxCharacters)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLineMaxCharacters)).BeginInit(); + this.SuspendLayout(); + // + // groupBoxLinesFound + // + this.groupBoxLinesFound.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.groupBoxLinesFound.Controls.Add(this.listViewFixes); + this.groupBoxLinesFound.Location = new System.Drawing.Point(6, 64); + this.groupBoxLinesFound.Name = "groupBoxLinesFound"; + this.groupBoxLinesFound.Size = new System.Drawing.Size(756, 200); + this.groupBoxLinesFound.TabIndex = 4; + this.groupBoxLinesFound.TabStop = false; + this.groupBoxLinesFound.Text = "Lines that will be splittet"; + // + // listViewFixes + // + this.listViewFixes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.listViewFixes.CheckBoxes = true; + this.listViewFixes.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.columnHeader4, + this.columnHeader5, + this.columnHeader7}); + this.listViewFixes.FullRowSelect = true; + this.listViewFixes.Location = new System.Drawing.Point(6, 23); + this.listViewFixes.Name = "listViewFixes"; + this.listViewFixes.Size = new System.Drawing.Size(744, 171); + this.listViewFixes.TabIndex = 0; + this.listViewFixes.UseCompatibleStateImageBehavior = false; + this.listViewFixes.View = System.Windows.Forms.View.Details; + this.listViewFixes.SelectedIndexChanged += new System.EventHandler(this.listViewFixes_SelectedIndexChanged); + // + // columnHeader4 + // + this.columnHeader4.Text = "Apply"; + this.columnHeader4.Width = 45; + // + // columnHeader5 + // + this.columnHeader5.Text = "Line#"; + this.columnHeader5.Width = 122; + // + // columnHeader7 + // + this.columnHeader7.Text = "New text"; + this.columnHeader7.Width = 500; + // + // numericUpDownSingleLineMaxCharacters + // + this.numericUpDownSingleLineMaxCharacters.Location = new System.Drawing.Point(250, 35); + this.numericUpDownSingleLineMaxCharacters.Maximum = new decimal(new int[] { + 200, + 0, + 0, + 0}); + this.numericUpDownSingleLineMaxCharacters.Minimum = new decimal(new int[] { + 10, + 0, + 0, + 0}); + this.numericUpDownSingleLineMaxCharacters.Name = "numericUpDownSingleLineMaxCharacters"; + this.numericUpDownSingleLineMaxCharacters.Size = new System.Drawing.Size(64, 20); + this.numericUpDownSingleLineMaxCharacters.TabIndex = 0; + this.numericUpDownSingleLineMaxCharacters.Value = new decimal(new int[] { + 50, + 0, + 0, + 0}); + this.numericUpDownSingleLineMaxCharacters.ValueChanged += new System.EventHandler(this.NumericUpDownMaxCharactersValueChanged); + // + // labelLineMaxLength + // + this.labelLineMaxLength.AutoSize = true; + this.labelLineMaxLength.Location = new System.Drawing.Point(428, 18); + this.labelLineMaxLength.Name = "labelLineMaxLength"; + this.labelLineMaxLength.Size = new System.Drawing.Size(105, 13); + this.labelLineMaxLength.TabIndex = 43; + this.labelLineMaxLength.Text = "Line maximum length"; + // + // labelSingleLineMaxLength + // + this.labelSingleLineMaxLength.AutoSize = true; + this.labelSingleLineMaxLength.Location = new System.Drawing.Point(247, 18); + this.labelSingleLineMaxLength.Name = "labelSingleLineMaxLength"; + this.labelSingleLineMaxLength.Size = new System.Drawing.Size(133, 13); + this.labelSingleLineMaxLength.TabIndex = 42; + this.labelSingleLineMaxLength.Text = "Single line maximum length"; + // + // buttonOK + // + this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonOK.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.buttonOK.Location = new System.Drawing.Point(600, 577); + this.buttonOK.Name = "buttonOK"; + this.buttonOK.Size = new System.Drawing.Size(75, 21); + this.buttonOK.TabIndex = 6; + this.buttonOK.Text = "&OK"; + this.buttonOK.UseVisualStyleBackColor = true; + this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); + // + // buttonCancel + // + this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.buttonCancel.Location = new System.Drawing.Point(681, 577); + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.Size = new System.Drawing.Size(75, 21); + this.buttonCancel.TabIndex = 7; + this.buttonCancel.Text = "C&ancel"; + this.buttonCancel.UseVisualStyleBackColor = true; + this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); + // + // numericUpDownLineMaxCharacters + // + this.numericUpDownLineMaxCharacters.Location = new System.Drawing.Point(431, 35); + this.numericUpDownLineMaxCharacters.Maximum = new decimal(new int[] { + 200, + 0, + 0, + 0}); + this.numericUpDownLineMaxCharacters.Minimum = new decimal(new int[] { + 10, + 0, + 0, + 0}); + this.numericUpDownLineMaxCharacters.Name = "numericUpDownLineMaxCharacters"; + this.numericUpDownLineMaxCharacters.Size = new System.Drawing.Size(64, 20); + this.numericUpDownLineMaxCharacters.TabIndex = 1; + this.numericUpDownLineMaxCharacters.Value = new decimal(new int[] { + 90, + 0, + 0, + 0}); + this.numericUpDownLineMaxCharacters.ValueChanged += new System.EventHandler(this.NumericUpDownMaxCharactersValueChanged); + // + // labelMaxSingleLineLengthIs + // + this.labelMaxSingleLineLengthIs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.labelMaxSingleLineLengthIs.AutoSize = true; + this.labelMaxSingleLineLengthIs.Location = new System.Drawing.Point(3, 577); + this.labelMaxSingleLineLengthIs.Name = "labelMaxSingleLineLengthIs"; + this.labelMaxSingleLineLengthIs.Size = new System.Drawing.Size(133, 13); + this.labelMaxSingleLineLengthIs.TabIndex = 45; + this.labelMaxSingleLineLengthIs.Text = "Single line maximum length"; + this.labelMaxSingleLineLengthIs.Click += new System.EventHandler(this.labelMaxSingleLineLengthIs_Click); + // + // labelMaxLineLengthIs + // + this.labelMaxLineLengthIs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.labelMaxLineLengthIs.AutoSize = true; + this.labelMaxLineLengthIs.Location = new System.Drawing.Point(3, 592); + this.labelMaxLineLengthIs.Name = "labelMaxLineLengthIs"; + this.labelMaxLineLengthIs.Size = new System.Drawing.Size(83, 13); + this.labelMaxLineLengthIs.TabIndex = 46; + this.labelMaxLineLengthIs.Text = "Maximum length"; + this.labelMaxLineLengthIs.Click += new System.EventHandler(this.labelMaxLineLengthIs_Click); + // + // comboBoxLineContinuationBegin + // + this.comboBoxLineContinuationBegin.FormattingEnabled = true; + this.comboBoxLineContinuationBegin.Items.AddRange(new object[] { + "- ", + "..."}); + this.comboBoxLineContinuationBegin.Location = new System.Drawing.Point(570, 33); + this.comboBoxLineContinuationBegin.Name = "comboBoxLineContinuationBegin"; + this.comboBoxLineContinuationBegin.Size = new System.Drawing.Size(80, 21); + this.comboBoxLineContinuationBegin.TabIndex = 2; + // + // labelLineContinuationBeginEnd + // + this.labelLineContinuationBeginEnd.AutoSize = true; + this.labelLineContinuationBeginEnd.Location = new System.Drawing.Point(567, 17); + this.labelLineContinuationBeginEnd.Name = "labelLineContinuationBeginEnd"; + this.labelLineContinuationBeginEnd.Size = new System.Drawing.Size(173, 13); + this.labelLineContinuationBeginEnd.TabIndex = 48; + this.labelLineContinuationBeginEnd.Text = "Line continuation begin/end strings"; + // + // comboBoxLineContinuationEnd + // + this.comboBoxLineContinuationEnd.FormattingEnabled = true; + this.comboBoxLineContinuationEnd.Items.AddRange(new object[] { + " -", + "..."}); + this.comboBoxLineContinuationEnd.Location = new System.Drawing.Point(656, 33); + this.comboBoxLineContinuationEnd.Name = "comboBoxLineContinuationEnd"; + this.comboBoxLineContinuationEnd.Size = new System.Drawing.Size(80, 21); + this.comboBoxLineContinuationEnd.TabIndex = 3; + // + // SubtitleListview1 + // + this.SubtitleListview1.AllowDrop = true; + this.SubtitleListview1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.SubtitleListview1.FirstVisibleIndex = -1; + this.SubtitleListview1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.SubtitleListview1.FullRowSelect = true; + this.SubtitleListview1.GridLines = true; + this.SubtitleListview1.HideSelection = false; + this.SubtitleListview1.Location = new System.Drawing.Point(4, 270); + this.SubtitleListview1.Name = "SubtitleListview1"; + this.SubtitleListview1.Size = new System.Drawing.Size(758, 301); + this.SubtitleListview1.TabIndex = 5; + this.SubtitleListview1.UseCompatibleStateImageBehavior = false; + this.SubtitleListview1.View = System.Windows.Forms.View.Details; + // + // SplitLongLines + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(774, 614); + this.Controls.Add(this.comboBoxLineContinuationEnd); + this.Controls.Add(this.labelLineContinuationBeginEnd); + this.Controls.Add(this.comboBoxLineContinuationBegin); + this.Controls.Add(this.labelMaxLineLengthIs); + this.Controls.Add(this.labelMaxSingleLineLengthIs); + this.Controls.Add(this.numericUpDownLineMaxCharacters); + this.Controls.Add(this.groupBoxLinesFound); + this.Controls.Add(this.numericUpDownSingleLineMaxCharacters); + this.Controls.Add(this.labelLineMaxLength); + this.Controls.Add(this.labelSingleLineMaxLength); + this.Controls.Add(this.SubtitleListview1); + this.Controls.Add(this.buttonOK); + this.Controls.Add(this.buttonCancel); + this.Name = "SplitLongLines"; + this.ShowIcon = false; + this.Text = "Split long lines"; + this.Shown += new System.EventHandler(this.SplitLongLines_Shown); + this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SplitLongLines_KeyDown); + this.groupBoxLinesFound.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownSingleLineMaxCharacters)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDownLineMaxCharacters)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.GroupBox groupBoxLinesFound; + private System.Windows.Forms.ListView listViewFixes; + private System.Windows.Forms.ColumnHeader columnHeader4; + private System.Windows.Forms.ColumnHeader columnHeader5; + private System.Windows.Forms.ColumnHeader columnHeader7; + private System.Windows.Forms.NumericUpDown numericUpDownSingleLineMaxCharacters; + private System.Windows.Forms.Label labelLineMaxLength; + private System.Windows.Forms.Label labelSingleLineMaxLength; + private Controls.SubtitleListView SubtitleListview1; + private System.Windows.Forms.Button buttonOK; + private System.Windows.Forms.Button buttonCancel; + private System.Windows.Forms.NumericUpDown numericUpDownLineMaxCharacters; + private System.Windows.Forms.Label labelMaxSingleLineLengthIs; + private System.Windows.Forms.Label labelMaxLineLengthIs; + private System.Windows.Forms.ComboBox comboBoxLineContinuationBegin; + private System.Windows.Forms.Label labelLineContinuationBeginEnd; + private System.Windows.Forms.ComboBox comboBoxLineContinuationEnd; + } +} \ No newline at end of file diff --git a/src/Forms/SplitLongLines.cs b/src/Forms/SplitLongLines.cs new file mode 100644 index 000000000..0192c7a79 --- /dev/null +++ b/src/Forms/SplitLongLines.cs @@ -0,0 +1,359 @@ +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Text; +using System.Windows.Forms; +using Nikse.SubtitleEdit.Logic; + +namespace Nikse.SubtitleEdit.Forms +{ + public sealed partial class SplitLongLines : Form + { + + Subtitle _subtitle; + private Subtitle _splittedSubtitle; + + public int NumberOfSplits { get; private set; } + + public Subtitle SplittedSubtitle + { + get { return _splittedSubtitle; } + } + + public SplitLongLines() + { + InitializeComponent(); + FixLargeFonts(); + } + + private void FixLargeFonts() + { + Graphics graphics = this.CreateGraphics(); + SizeF textSize = graphics.MeasureString(buttonOK.Text, this.Font); + if (textSize.Height > buttonOK.Height - 4) + { + int newButtonHeight = (int)(textSize.Height + 7 + 0.5); + Utilities.SetButtonHeight(this, newButtonHeight, 1); + } + } + + private void SplitLongLines_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Escape) + DialogResult = DialogResult.Cancel; + } + + public void Initialize(Subtitle subtitle) + { + if (subtitle.Paragraphs.Count > 0) + subtitle.Renumber(subtitle.Paragraphs[0].Number); + + Text = Configuration.Settings.Language.SplitLongLines.Title; + labelSingleLineMaxLength.Text = Configuration.Settings.Language.SplitLongLines.SingleLineMaximumLength; + labelLineMaxLength.Text = Configuration.Settings.Language.SplitLongLines.LineMaximumLength; + labelLineContinuationBeginEnd.Text = Configuration.Settings.Language.SplitLongLines.LineContinuationBeginEndStrings; + + listViewFixes.Columns[0].Text = Configuration.Settings.Language.General.Apply; + listViewFixes.Columns[1].Text = Configuration.Settings.Language.MergedShortLines.LineNumber; + listViewFixes.Columns[2].Text = Configuration.Settings.Language.MergedShortLines.MergedText; + + buttonOK.Text = Configuration.Settings.Language.General.OK; + buttonCancel.Text = Configuration.Settings.Language.General.Cancel; + SubtitleListview1.InitializeLanguage(Configuration.Settings.Language.General, Configuration.Settings); + SubtitleListview1.InitializeTimeStampColumWidths(this); + NumberOfSplits = 0; + numericUpDownSingleLineMaxCharacters.Value = Configuration.Settings.General.SubtitleLineMaximumLength; + _subtitle = subtitle; + } + + private void AddToListView(Paragraph p, string lineNumbers, string newText) + { + var item = new ListViewItem(string.Empty) { Tag = p, Checked = true }; + + var subItem = new ListViewItem.ListViewSubItem(item, lineNumbers); + item.SubItems.Add(subItem); + subItem = new ListViewItem.ListViewSubItem(item, newText.Replace(Environment.NewLine, Configuration.Settings.General.ListViewLineSeparatorString)); + item.SubItems.Add(subItem); + + listViewFixes.Items.Add(item); + } + + private void listViewFixes_ItemChecked(object sender, ItemCheckedEventArgs e) + { + GeneratePreview(false); + } + + private void GeneratePreview(bool clearFixes) + { + if (_subtitle == null) + return; + + var splittedIndexes = new List(); + var autoBreakedIndexes = new List(); + + NumberOfSplits = 0; + SubtitleListview1.Items.Clear(); + SubtitleListview1.BeginUpdate(); + int count; + _splittedSubtitle = SplitLongLinesInSubtitle(_subtitle, splittedIndexes, autoBreakedIndexes, out count, (int)numericUpDownLineMaxCharacters.Value, (int)numericUpDownSingleLineMaxCharacters.Value, clearFixes); + NumberOfSplits = count; + + SubtitleListview1.Fill(_splittedSubtitle); + + foreach (var index in splittedIndexes) + SubtitleListview1.SetBackgroundColor(index, Color.Green); + + foreach (var index in autoBreakedIndexes) + SubtitleListview1.SetBackgroundColor(index, Color.LightGreen); + + SubtitleListview1.EndUpdate(); + groupBoxLinesFound.Text = string.Format(Configuration.Settings.Language.SplitLongLines.NumberOfSplits, NumberOfSplits); + UpdateLongestLinesInfo(_splittedSubtitle); + } + + private void UpdateLongestLinesInfo(Subtitle subtitle) + { + int maxLength = -1; + int maxLengthIndex = -1; + int singleLineMaxLength = -1; + int singleLineMaxLengthIndex = -1; + int i = 0; + foreach (Paragraph p in subtitle.Paragraphs) + { + string s = Utilities.RemoveHtmlTags(p.Text); + if (s.Length > maxLength) + { + maxLength = s.Length; + maxLengthIndex = i; + } + string[] arr = s.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries); + foreach (string line in arr) + { + if (line.Length > singleLineMaxLengthIndex) + { + singleLineMaxLength = line.Length; + singleLineMaxLengthIndex = i; + } + } + i++; + } + labelMaxSingleLineLengthIs.Text = string.Format(Configuration.Settings.Language.SplitLongLines.LongestSingleLineIsXAtY, singleLineMaxLength, singleLineMaxLengthIndex + 1); + labelMaxSingleLineLengthIs.Tag = singleLineMaxLengthIndex.ToString(); + labelMaxLineLengthIs.Text = string.Format(Configuration.Settings.Language.SplitLongLines.LongestLineIsXAtY, maxLength, maxLengthIndex + 1); + labelMaxLineLengthIs.Tag = maxLengthIndex.ToString(); + } + + private bool IsFixAllowed(Paragraph p) + { + foreach (ListViewItem item in listViewFixes.Items) + { + if ((item.Tag as Paragraph) == p) + return item.Checked; + } + return true; + } + + public Subtitle SplitLongLinesInSubtitle(Subtitle subtitle, List splittedIndexes, List autoBreakedIndexes, out int numberOfSplits, int totalLineMaxCharacters, int singleLineMaxCharacters, bool clearFixes) + { + listViewFixes.ItemChecked -= listViewFixes_ItemChecked; + if (clearFixes) + listViewFixes.Items.Clear(); + numberOfSplits = 0; + Subtitle splittedSubtitle = new Subtitle(); + Paragraph p = null; + StringBuilder lineNumbers = new StringBuilder(); + for (int i = 0; i < subtitle.Paragraphs.Count; i++) + { + bool added = false; + p = subtitle.GetParagraphOrDefault(i); + if (p != null && p.Text != null) + { + string oldText = Utilities.RemoveHtmlTags(p.Text); + if (QualifiesForSplit(p.Text, singleLineMaxCharacters, totalLineMaxCharacters) && IsFixAllowed(p)) + { + if (!QualifiesForSplit(Utilities.AutoBreakLine(p.Text), singleLineMaxCharacters, totalLineMaxCharacters)) + { + Paragraph newParagraph = new Paragraph(p); + newParagraph.Text = Utilities.AutoBreakLine(p.Text); + if (clearFixes) + AddToListView(p, (splittedSubtitle.Paragraphs.Count + 1).ToString(), oldText); + autoBreakedIndexes.Add(splittedSubtitle.Paragraphs.Count); + splittedSubtitle.Paragraphs.Add(newParagraph); + added = true; + numberOfSplits++; + } + else + { + string text = Utilities.AutoBreakLine(p.Text); + if (text.Contains(Environment.NewLine)) + { + string[] arr = text.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries); + if (arr.Length == 2) + { + double duration = p.Duration.TotalMilliseconds / 2.0; + Paragraph newParagraph1 = new Paragraph(p); + Paragraph newParagraph2 = new Paragraph(p); + newParagraph1.Text = Utilities.AutoBreakLine(arr[0]); + newParagraph1.EndTime.TotalMilliseconds = p.StartTime.TotalMilliseconds + duration; + newParagraph2.Text = Utilities.AutoBreakLine(arr[1]); + newParagraph2.StartTime.TotalMilliseconds = newParagraph1.EndTime.TotalMilliseconds + 1; + + if (clearFixes) + AddToListView(p, (splittedSubtitle.Paragraphs.Count + 1).ToString(), oldText); + splittedIndexes.Add(splittedSubtitle.Paragraphs.Count); + splittedIndexes.Add(splittedSubtitle.Paragraphs.Count + 1); + + string p1 = Utilities.RemoveHtmlTags(newParagraph1.Text); + bool p1Ends = false; + if (p1.EndsWith(".") || p1.EndsWith("!") || p1.EndsWith("?") || p1.EndsWith(":") || p1.EndsWith(")") || p1.EndsWith("]") || p1.EndsWith("♪")) + p1Ends = true; + + if (!p1Ends) + { + string post = string.Empty; + if (newParagraph1.Text.EndsWith("")) + { + post = ""; + newParagraph1.Text = newParagraph1.Text.Remove(newParagraph1.Text.Length - post.Length); + } + newParagraph1.Text += comboBoxLineContinuationEnd.Text.TrimEnd() + post; + + string pre = string.Empty; + if (newParagraph2.Text.StartsWith("")) + { + pre = ""; + newParagraph2.Text = newParagraph2.Text.Remove(0, pre.Length); + } + newParagraph2.Text = pre + comboBoxLineContinuationBegin.Text + newParagraph2.Text; + } + + if (newParagraph1.Text.IndexOf("") >= 0 && newParagraph1.Text.IndexOf("") < 10 & newParagraph1.Text.IndexOf("") < 0 && + newParagraph2.Text.Contains("") && newParagraph2.Text.IndexOf("") < 0) + { + newParagraph1.Text += ""; + newParagraph2.Text = "" + newParagraph2.Text; + } + + splittedSubtitle.Paragraphs.Add(newParagraph1); + splittedSubtitle.Paragraphs.Add(newParagraph2); + added = true; + numberOfSplits++; + } + } + } + } + } + if (!added) + splittedSubtitle.Paragraphs.Add(new Paragraph(p)); + } + listViewFixes.ItemChecked += listViewFixes_ItemChecked; + splittedSubtitle.Renumber(1); + return splittedSubtitle; + } + + private static string GetEndTag(string text) + { + if (string.IsNullOrEmpty(text)) + return string.Empty; + text = text.Trim(); + if (!text.EndsWith(">")) + return string.Empty; + + string endTag = string.Empty; + int start = text.LastIndexOf(" 0 && start >= text.Length - 8) + { + endTag = text.Substring(start); + } + return endTag; + } + + private static string GetStartTag(string text) + { + if (string.IsNullOrEmpty(text)) + return string.Empty; + text = text.Trim(); + if (!text.StartsWith("<")) + return string.Empty; + + string startTag = string.Empty; + int end = text.IndexOf(">"); + if (end > 0 && end < 25) + { + startTag = text.Substring(0, end + 1); + } + return startTag; + } + + private static bool QualifiesForSplit(string text, int singleLineMaxCharacters, int totalLineMaxCharacters) + { + string s = Utilities.RemoveHtmlTags(text.Trim()); + if (s.Length > totalLineMaxCharacters) + return true; + + string[] arr = s.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries); + foreach (string line in arr) + { + if (line.Length > singleLineMaxCharacters) + return true; + } + return false; + } + + private void NumericUpDownMaxCharactersValueChanged(object sender, EventArgs e) + { + Cursor = Cursors.WaitCursor; + GeneratePreview(true); + Cursor = Cursors.Default; + } + + private void NumericUpDownMaxMillisecondsBetweenLinesValueChanged(object sender, EventArgs e) + { + Cursor = Cursors.WaitCursor; + GeneratePreview(true); + Cursor = Cursors.Default; + } + + private void listViewFixes_SelectedIndexChanged(object sender, EventArgs e) + { + if (listViewFixes.SelectedIndices.Count > 0) + { + int index = listViewFixes.SelectedIndices[0]; + ListViewItem item = listViewFixes.Items[index]; + index = int.Parse(item.SubItems[1].Text); + SubtitleListview1.EnsureVisible(index); + } + } + + private void SplitLongLines_Shown(object sender, EventArgs e) + { + GeneratePreview(true); + listViewFixes.Focus(); + if (listViewFixes.Items.Count > 0) + listViewFixes.Items[0].Selected = true; + } + + private void buttonOK_Click(object sender, EventArgs e) + { + DialogResult = DialogResult.OK; + } + + private void buttonCancel_Click(object sender, EventArgs e) + { + DialogResult = DialogResult.Cancel; + } + + private void labelMaxSingleLineLengthIs_Click(object sender, EventArgs e) + { + int index = int.Parse(labelMaxSingleLineLengthIs.Tag.ToString()); + SubtitleListview1.SelectIndexAndEnsureVisible(index); + } + + private void labelMaxLineLengthIs_Click(object sender, EventArgs e) + { + int index = int.Parse(labelMaxLineLengthIs.Tag.ToString()); + SubtitleListview1.SelectIndexAndEnsureVisible(index); + } + + } +} diff --git a/src/Forms/SplitLongLines.resx b/src/Forms/SplitLongLines.resx new file mode 100644 index 000000000..5ea0895e3 --- /dev/null +++ b/src/Forms/SplitLongLines.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/src/Logic/Language.cs b/src/Logic/Language.cs index e33822b2f..332eb4f31 100644 --- a/src/Logic/Language.cs +++ b/src/Logic/Language.cs @@ -50,6 +50,7 @@ namespace Nikse.SubtitleEdit.Logic public LanguageStructure.ShowEarlierLater ShowEarlierLater; public LanguageStructure.ShowHistory ShowHistory; public LanguageStructure.SpellCheck SpellCheck; + public LanguageStructure.SplitLongLines SplitLongLines; public LanguageStructure.SplitSubtitle SplitSubtitle; public LanguageStructure.StartNumberingFrom StartNumberingFrom; public LanguageStructure.PointSync PointSync; @@ -636,6 +637,7 @@ namespace Nikse.SubtitleEdit.Logic UnicodeMusicSymbolsAnsiWarning = "Subtitle contains unicode music notes. Saving using ANSI file encoding will lose these. Continue with saving?", NegativeTimeWarning = "Subtitle contains negative time codes. Continue with saving?", BeforeMergeShortLines = "Before merge short lines", + BeforeSplitLongLines = "Before split long lines", MergedShortLinesX = "Number of lines merged: {0}", BeforeSetMinimumDisplayTimeBetweenParagraphs = "Before set minimum display time between paragraphs", XMinimumDisplayTimeBetweenParagraphsChanged = "Number of lines with minimum display time between paragraphs changed: {0}", @@ -707,6 +709,7 @@ namespace Nikse.SubtitleEdit.Logic ChangeCasing = "Change casing...", ChangeFrameRate = "Change frame rate...", MergeShortLines = "Merge short lines...", + SplitLongLines = "Split long lines...", MinimumDisplayTimeBetweenParagraphs = "Minimum display time between paragraphs...", SortBy = "Sort by", TextAlphabetically = "Text - alphabetically", @@ -1157,6 +1160,17 @@ can edit in same subtitle file (collaboration)", SpellCheckAborted = "Spell check aborted", }; + SplitLongLines = new LanguageStructure.SplitLongLines + { + Title = "Split long lines", + SingleLineMaximumLength = "Single line maximum length", + LineMaximumLength = "Line maximum length", + LineContinuationBeginEndStrings = "Line continuation begin/end strings", + NumberOfSplits = "Number of splits: {0}", + LongestSingleLineIsXAtY = "Longest single line length is {0} at line {1}", + LongestLineIsXAtY = "Longest total line length is {0} at line {1}", + }; + SplitSubtitle = new LanguageStructure.SplitSubtitle { Title = "Split subtitle", diff --git a/src/Logic/LanguageStructure.cs b/src/Logic/LanguageStructure.cs index 09fff4980..7e79c5839 100644 --- a/src/Logic/LanguageStructure.cs +++ b/src/Logic/LanguageStructure.cs @@ -565,6 +565,7 @@ public string UnicodeMusicSymbolsAnsiWarning { get; set; } public string NegativeTimeWarning { get; set; } public string BeforeMergeShortLines { get; set; } + public string BeforeSplitLongLines { get; set; } public string MergedShortLinesX { get; set; } public string BeforeSetMinimumDisplayTimeBetweenParagraphs { get; set; } public string XMinimumDisplayTimeBetweenParagraphsChanged { get; set; } @@ -634,6 +635,7 @@ public string ChangeCasing { get; set; } public string ChangeFrameRate { get; set; } public string MergeShortLines { get; set; } + public string SplitLongLines { get; set; } public string MinimumDisplayTimeBetweenParagraphs { get; set; } public string SortBy { get; set; } public string TextAlphabetically { get; set; } @@ -840,7 +842,6 @@ public string MaximumMillisecondsBetween { get; set; } public string NumberOfMergesX { get; set; } public string LineNumber { get; set; } - public string MergedText { get; set; } } @@ -1094,6 +1095,17 @@ public string SpellCheckAborted { get; set; } } + public class SplitLongLines + { + public string Title { get; set; } + public string SingleLineMaximumLength { get; set; } + public string LineMaximumLength { get; set; } + public string LineContinuationBeginEndStrings { get; set; } + public string NumberOfSplits { get; set; } + public string LongestSingleLineIsXAtY { get; set; } + public string LongestLineIsXAtY { get; set; } + } + public class SplitSubtitle { public string Title { get; set; } diff --git a/src/Logic/Utilities.cs b/src/Logic/Utilities.cs index 6131723b0..efac97cfd 100644 --- a/src/Logic/Utilities.cs +++ b/src/Logic/Utilities.cs @@ -271,7 +271,7 @@ namespace Nikse.SubtitleEdit.Logic public static string AutoBreakLine(string text, int mininumLength) { - if (text.Length < 5) + if (text.Length < mininumLength) return text; string temp = RemoveHtmlTags(text); diff --git a/src/Resources/da-DK.xml b/src/Resources/da-DK.xml index e44ad4f7d..3bf8b7f0d 100644 --- a/src/Resources/da-DK.xml +++ b/src/Resources/da-DK.xml @@ -408,6 +408,7 @@ Skift store/små bogstaver... Skift frame rate... Flet korte linjer... + Split lange linjer... Minimum visningstid mellem tekster... Sorter efter Tekst - alfabetisk @@ -718,6 +719,7 @@ Fortsæt? Undertekst indeholder unicode tegn. Gemmes i ANSI filformat vil disse gå tabt. Fortsæt? Undertekst indeholder negative tidskoder. Gem? Før fusionere korte linjer + Før split lange linjer Antal linjer fusionerede: {0} Før ret minimum visningstid mellem tekster Antallet af linjer med minimum visningstid mellem tekster ændret: {0} @@ -982,6 +984,15 @@ Fortsæt? Stavekontrol færdig Stavekontrol afbrudt + + Split lange linjer + Enkelt linje maksimale længde + Line maksimale længde + Line fortsæt begynd/slut tekst + Antal splits: {0} + Længste enkelt linje længde er {0} på linie {1} + Længste samlet linjelængde er {0} på linie {1} + Split undertekst Indtast længden af første del af video-eller browse diff --git a/src/Resources/da-DK.xml.zip b/src/Resources/da-DK.xml.zip index dc0bf8315..8693db1f8 100644 Binary files a/src/Resources/da-DK.xml.zip and b/src/Resources/da-DK.xml.zip differ diff --git a/src/SubtitleEdit.csproj b/src/SubtitleEdit.csproj index e4f60957b..ff064f797 100644 --- a/src/SubtitleEdit.csproj +++ b/src/SubtitleEdit.csproj @@ -343,6 +343,12 @@ SpellCheck.cs + + Form + + + SplitLongLines.cs + Form @@ -702,6 +708,9 @@ SpellCheck.cs Designer + + SplitLongLines.cs + SplitSubtitle.cs Designer