moved "max number of lines" setting from syntax color to "general"

This commit is contained in:
Nikolaj Olsson 2016-08-31 15:55:42 +02:00
parent e7df9cd27e
commit 294b3f646e
6 changed files with 124 additions and 98 deletions

View File

@ -1688,6 +1688,7 @@ can edit in same subtitle file (collaboration)</Information>
<DurationMinimumMilliseconds>Min. duration, milliseconds</DurationMinimumMilliseconds>
<DurationMaximumMilliseconds>Max. duration, milliseconds</DurationMaximumMilliseconds>
<MinimumGapMilliseconds>Min. gap between subtitles in ms</MinimumGapMilliseconds>
<MaximumLines>Max. number of lines</MaximumLines>
<SubtitleFont>Subtitle font</SubtitleFont>
<SubtitleFontSize>Subtitle font size</SubtitleFontSize>
<SubtitleBold>Bold</SubtitleBold>
@ -1879,7 +1880,7 @@ can edit in same subtitle file (collaboration)</Information>
<SyntaxColorDurationIfTooSmall>Color duration if too short</SyntaxColorDurationIfTooSmall>
<SyntaxColorDurationIfTooLarge>Color duration if too long</SyntaxColorDurationIfTooLarge>
<SyntaxColorTextIfTooLong>Color text if too long</SyntaxColorTextIfTooLong>
<SyntaxColorTextMoreThanXLines>Color text if more than lines:</SyntaxColorTextMoreThanXLines>
<SyntaxColorTextMoreThanMaxLines>Color text if more {0} lines</SyntaxColorTextMoreThanMaxLines>
<SyntaxColorOverlap>Color time code overlap</SyntaxColorOverlap>
<SyntaxErrorColor>Error color</SyntaxErrorColor>
<GoToFirstSelectedLine>Go to first selected line</GoToFirstSelectedLine>

View File

@ -1972,6 +1972,7 @@ can edit in same subtitle file (collaboration)",
DurationMinimumMilliseconds = "Min. duration, milliseconds",
DurationMaximumMilliseconds = "Max. duration, milliseconds",
MinimumGapMilliseconds = "Min. gap between subtitles in ms",
MaximumLines = "Max. number of lines",
SubtitleFont = "Subtitle font",
SubtitleFontSize = "Subtitle font size",
SubtitleBold = "Bold",
@ -2161,7 +2162,7 @@ can edit in same subtitle file (collaboration)",
SyntaxColorDurationIfTooSmall = "Color duration if too short",
SyntaxColorDurationIfTooLarge = "Color duration if too long",
SyntaxColorTextIfTooLong = "Color text if too long",
SyntaxColorTextMoreThanXLines = "Color text if more than lines:",
SyntaxColorTextMoreThanMaxLines = "Color text if more {0} lines",
SyntaxColorOverlap = "Color time code overlap",
SyntaxErrorColor = "Error color",
GoToFirstSelectedLine = "Go to first selected line",

View File

@ -4513,6 +4513,9 @@ namespace Nikse.SubtitleEdit.Core
case "Settings/MinimumGapMilliseconds":
language.Settings.MinimumGapMilliseconds = reader.Value;
break;
case "Settings/MaximumLines":
language.Settings.MaximumLines = reader.Value;
break;
case "Settings/SubtitleFont":
language.Settings.SubtitleFont = reader.Value;
break;
@ -5086,8 +5089,8 @@ namespace Nikse.SubtitleEdit.Core
case "Settings/SyntaxColorTextIfTooLong":
language.Settings.SyntaxColorTextIfTooLong = reader.Value;
break;
case "Settings/SyntaxColorTextMoreThanXLines":
language.Settings.SyntaxColorTextMoreThanXLines = reader.Value;
case "Settings/SyntaxColorTextMoreThanMaxLines":
language.Settings.SyntaxColorTextMoreThanMaxLines = reader.Value;
break;
case "Settings/SyntaxColorOverlap":
language.Settings.SyntaxColorOverlap = reader.Value;

View File

@ -1849,6 +1849,8 @@
public string DurationMinimumMilliseconds { get; set; }
public string DurationMaximumMilliseconds { get; set; }
public string MinimumGapMilliseconds { get; set; }
public string MaximumLines { get; set; }
public string SubtitleFont { get; set; }
public string SubtitleFontSize { get; set; }
public string SubtitleBold { get; set; }
@ -2041,7 +2043,7 @@
public string SyntaxColorDurationIfTooSmall { get; set; }
public string SyntaxColorDurationIfTooLarge { get; set; }
public string SyntaxColorTextIfTooLong { get; set; }
public string SyntaxColorTextMoreThanXLines { get; set; }
public string SyntaxColorTextMoreThanMaxLines { get; set; }
public string SyntaxColorOverlap { get; set; }
public string SyntaxErrorColor { get; set; }
public string GoToFirstSelectedLine { get; set; }

View File

@ -33,6 +33,8 @@
this.tabControlSettings = new System.Windows.Forms.TabControl();
this.tabPageGeneral = new System.Windows.Forms.TabPage();
this.groupBoxMiscellaneous = new System.Windows.Forms.GroupBox();
this.numericUpDownMaxNumberOfLines = new System.Windows.Forms.NumericUpDown();
this.labelMaxLines = new System.Windows.Forms.Label();
this.comboBoxAutoBackupDeleteAfter = new System.Windows.Forms.ComboBox();
this.labelAutoBackupDeleteAfter = new System.Windows.Forms.Label();
this.checkBoxCheckForUpdates = new System.Windows.Forms.CheckBox();
@ -308,7 +310,6 @@
this.labelShortcut = new System.Windows.Forms.Label();
this.tabPageSyntaxColoring = new System.Windows.Forms.TabPage();
this.groupBoxListViewSyntaxColoring = new System.Windows.Forms.GroupBox();
this.numericUpDownSyntaxColorTextMoreThanXLines = new System.Windows.Forms.NumericUpDown();
this.checkBoxSyntaxColorTextMoreThanTwoLines = new System.Windows.Forms.CheckBox();
this.checkBoxSyntaxOverlap = new System.Windows.Forms.CheckBox();
this.checkBoxSyntaxColorDurationTooSmall = new System.Windows.Forms.CheckBox();
@ -322,6 +323,7 @@
this.tabControlSettings.SuspendLayout();
this.tabPageGeneral.SuspendLayout();
this.groupBoxMiscellaneous.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxNumberOfLines)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMinGapMs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSubtitleLineMaximumLength)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxCharsSec)).BeginInit();
@ -385,13 +387,13 @@
this.groupBoxShortcuts.SuspendLayout();
this.tabPageSyntaxColoring.SuspendLayout();
this.groupBoxListViewSyntaxColoring.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSyntaxColorTextMoreThanXLines)).BeginInit();
this.SuspendLayout();
//
// buttonOK
//
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
this.buttonOK.Location = new System.Drawing.Point(686, 489);
this.buttonOK.Location = new System.Drawing.Point(697, 502);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(75, 21);
this.buttonOK.TabIndex = 0;
@ -401,8 +403,9 @@
//
// 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.Location = new System.Drawing.Point(767, 489);
this.buttonCancel.Location = new System.Drawing.Point(778, 502);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 21);
this.buttonCancel.TabIndex = 1;
@ -428,7 +431,7 @@
this.tabControlSettings.Location = new System.Drawing.Point(13, 13);
this.tabControlSettings.Name = "tabControlSettings";
this.tabControlSettings.SelectedIndex = 0;
this.tabControlSettings.Size = new System.Drawing.Size(840, 470);
this.tabControlSettings.Size = new System.Drawing.Size(840, 483);
this.tabControlSettings.TabIndex = 2;
this.tabControlSettings.SelectedIndexChanged += new System.EventHandler(this.TabControlSettingsSelectedIndexChanged);
//
@ -438,7 +441,7 @@
this.tabPageGeneral.Location = new System.Drawing.Point(4, 22);
this.tabPageGeneral.Name = "tabPageGeneral";
this.tabPageGeneral.Padding = new System.Windows.Forms.Padding(3);
this.tabPageGeneral.Size = new System.Drawing.Size(832, 444);
this.tabPageGeneral.Size = new System.Drawing.Size(832, 457);
this.tabPageGeneral.TabIndex = 0;
this.tabPageGeneral.Text = "General";
this.tabPageGeneral.UseVisualStyleBackColor = true;
@ -448,6 +451,8 @@
this.groupBoxMiscellaneous.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.groupBoxMiscellaneous.Controls.Add(this.numericUpDownMaxNumberOfLines);
this.groupBoxMiscellaneous.Controls.Add(this.labelMaxLines);
this.groupBoxMiscellaneous.Controls.Add(this.comboBoxAutoBackupDeleteAfter);
this.groupBoxMiscellaneous.Controls.Add(this.labelAutoBackupDeleteAfter);
this.groupBoxMiscellaneous.Controls.Add(this.checkBoxCheckForUpdates);
@ -500,11 +505,42 @@
this.groupBoxMiscellaneous.Controls.Add(this.labelDefaultFrameRate);
this.groupBoxMiscellaneous.Location = new System.Drawing.Point(6, 6);
this.groupBoxMiscellaneous.Name = "groupBoxMiscellaneous";
this.groupBoxMiscellaneous.Size = new System.Drawing.Size(819, 432);
this.groupBoxMiscellaneous.Size = new System.Drawing.Size(819, 445);
this.groupBoxMiscellaneous.TabIndex = 0;
this.groupBoxMiscellaneous.TabStop = false;
this.groupBoxMiscellaneous.Text = "Miscellaneous";
//
// numericUpDownMaxNumberOfLines
//
this.numericUpDownMaxNumberOfLines.Location = new System.Drawing.Point(205, 248);
this.numericUpDownMaxNumberOfLines.Maximum = new decimal(new int[] {
25,
0,
0,
0});
this.numericUpDownMaxNumberOfLines.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.numericUpDownMaxNumberOfLines.Name = "numericUpDownMaxNumberOfLines";
this.numericUpDownMaxNumberOfLines.Size = new System.Drawing.Size(56, 21);
this.numericUpDownMaxNumberOfLines.TabIndex = 15;
this.numericUpDownMaxNumberOfLines.Value = new decimal(new int[] {
2,
0,
0,
0});
//
// labelMaxLines
//
this.labelMaxLines.AutoSize = true;
this.labelMaxLines.Location = new System.Drawing.Point(8, 250);
this.labelMaxLines.Name = "labelMaxLines";
this.labelMaxLines.Size = new System.Drawing.Size(107, 13);
this.labelMaxLines.TabIndex = 47;
this.labelMaxLines.Text = "Max. number of lines";
//
// comboBoxAutoBackupDeleteAfter
//
this.comboBoxAutoBackupDeleteAfter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
@ -539,7 +575,7 @@
//
// numericUpDownMinGapMs
//
this.numericUpDownMinGapMs.Location = new System.Drawing.Point(205, 226);
this.numericUpDownMinGapMs.Location = new System.Drawing.Point(205, 221);
this.numericUpDownMinGapMs.Maximum = new decimal(new int[] {
1000,
0,
@ -547,7 +583,7 @@
0});
this.numericUpDownMinGapMs.Name = "numericUpDownMinGapMs";
this.numericUpDownMinGapMs.Size = new System.Drawing.Size(56, 21);
this.numericUpDownMinGapMs.TabIndex = 15;
this.numericUpDownMinGapMs.TabIndex = 14;
this.numericUpDownMinGapMs.Value = new decimal(new int[] {
25,
0,
@ -557,7 +593,7 @@
// labelMinGapMs
//
this.labelMinGapMs.AutoSize = true;
this.labelMinGapMs.Location = new System.Drawing.Point(8, 228);
this.labelMinGapMs.Location = new System.Drawing.Point(8, 223);
this.labelMinGapMs.Name = "labelMinGapMs";
this.labelMinGapMs.Size = new System.Drawing.Size(136, 13);
this.labelMinGapMs.TabIndex = 14;
@ -576,7 +612,7 @@
// checkBoxSubtitleCenter
//
this.checkBoxSubtitleCenter.AutoSize = true;
this.checkBoxSubtitleCenter.Location = new System.Drawing.Point(271, 368);
this.checkBoxSubtitleCenter.Location = new System.Drawing.Point(271, 379);
this.checkBoxSubtitleCenter.Name = "checkBoxSubtitleCenter";
this.checkBoxSubtitleCenter.Size = new System.Drawing.Size(59, 17);
this.checkBoxSubtitleCenter.TabIndex = 23;
@ -585,7 +621,7 @@
//
// numericUpDownSubtitleLineMaximumLength
//
this.numericUpDownSubtitleLineMaximumLength.Location = new System.Drawing.Point(205, 122);
this.numericUpDownSubtitleLineMaximumLength.Location = new System.Drawing.Point(205, 117);
this.numericUpDownSubtitleLineMaximumLength.Maximum = new decimal(new int[] {
999,
0,
@ -613,7 +649,7 @@
0,
0,
65536});
this.numericUpDownMaxCharsSec.Location = new System.Drawing.Point(205, 148);
this.numericUpDownMaxCharsSec.Location = new System.Drawing.Point(205, 143);
this.numericUpDownMaxCharsSec.Minimum = new decimal(new int[] {
4,
0,
@ -631,7 +667,7 @@
// labelMaxCharsPerSecond
//
this.labelMaxCharsPerSecond.AutoSize = true;
this.labelMaxCharsPerSecond.Location = new System.Drawing.Point(8, 150);
this.labelMaxCharsPerSecond.Location = new System.Drawing.Point(8, 145);
this.labelMaxCharsPerSecond.Name = "labelMaxCharsPerSecond";
this.labelMaxCharsPerSecond.Size = new System.Drawing.Size(80, 13);
this.labelMaxCharsPerSecond.TabIndex = 8;
@ -685,10 +721,10 @@
//
this.comboBoxMergeShortLineLength.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxMergeShortLineLength.FormattingEnabled = true;
this.comboBoxMergeShortLineLength.Location = new System.Drawing.Point(205, 253);
this.comboBoxMergeShortLineLength.Location = new System.Drawing.Point(205, 275);
this.comboBoxMergeShortLineLength.Name = "comboBoxMergeShortLineLength";
this.comboBoxMergeShortLineLength.Size = new System.Drawing.Size(73, 21);
this.comboBoxMergeShortLineLength.TabIndex = 17;
this.comboBoxMergeShortLineLength.TabIndex = 16;
//
// textBoxShowLineBreaksAs
//
@ -711,7 +747,7 @@
// panelSubtitleFontColor
//
this.panelSubtitleFontColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelSubtitleFontColor.Location = new System.Drawing.Point(205, 390);
this.panelSubtitleFontColor.Location = new System.Drawing.Point(205, 401);
this.panelSubtitleFontColor.Name = "panelSubtitleFontColor";
this.panelSubtitleFontColor.Size = new System.Drawing.Size(46, 15);
this.panelSubtitleFontColor.TabIndex = 25;
@ -720,7 +756,7 @@
// panelSubtitleBackgroundColor
//
this.panelSubtitleBackgroundColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panelSubtitleBackgroundColor.Location = new System.Drawing.Point(205, 410);
this.panelSubtitleBackgroundColor.Location = new System.Drawing.Point(205, 421);
this.panelSubtitleBackgroundColor.Name = "panelSubtitleBackgroundColor";
this.panelSubtitleBackgroundColor.Size = new System.Drawing.Size(46, 15);
this.panelSubtitleBackgroundColor.TabIndex = 27;
@ -728,7 +764,7 @@
//
// numericUpDownDurationMax
//
this.numericUpDownDurationMax.Location = new System.Drawing.Point(205, 200);
this.numericUpDownDurationMax.Location = new System.Drawing.Point(205, 195);
this.numericUpDownDurationMax.Maximum = new decimal(new int[] {
50000,
0,
@ -750,7 +786,7 @@
//
// numericUpDownDurationMin
//
this.numericUpDownDurationMin.Location = new System.Drawing.Point(205, 174);
this.numericUpDownDurationMin.Location = new System.Drawing.Point(205, 169);
this.numericUpDownDurationMin.Maximum = new decimal(new int[] {
2000,
0,
@ -773,7 +809,7 @@
// labelMaxDuration
//
this.labelMaxDuration.AutoSize = true;
this.labelMaxDuration.Location = new System.Drawing.Point(8, 202);
this.labelMaxDuration.Location = new System.Drawing.Point(8, 197);
this.labelMaxDuration.Name = "labelMaxDuration";
this.labelMaxDuration.Size = new System.Drawing.Size(136, 13);
this.labelMaxDuration.TabIndex = 12;
@ -782,7 +818,7 @@
// labelMinDuration
//
this.labelMinDuration.AutoSize = true;
this.labelMinDuration.Location = new System.Drawing.Point(8, 176);
this.labelMinDuration.Location = new System.Drawing.Point(8, 171);
this.labelMinDuration.Name = "labelMinDuration";
this.labelMinDuration.Size = new System.Drawing.Size(132, 13);
this.labelMinDuration.TabIndex = 10;
@ -801,7 +837,7 @@
// labelMergeShortLines
//
this.labelMergeShortLines.AutoSize = true;
this.labelMergeShortLines.Location = new System.Drawing.Point(8, 256);
this.labelMergeShortLines.Location = new System.Drawing.Point(8, 278);
this.labelMergeShortLines.Name = "labelMergeShortLines";
this.labelMergeShortLines.Size = new System.Drawing.Size(124, 13);
this.labelMergeShortLines.TabIndex = 16;
@ -833,7 +869,7 @@
// labelSubtitleFontBackgroundColor
//
this.labelSubtitleFontBackgroundColor.AutoSize = true;
this.labelSubtitleFontBackgroundColor.Location = new System.Drawing.Point(8, 409);
this.labelSubtitleFontBackgroundColor.Location = new System.Drawing.Point(8, 420);
this.labelSubtitleFontBackgroundColor.Name = "labelSubtitleFontBackgroundColor";
this.labelSubtitleFontBackgroundColor.Size = new System.Drawing.Size(151, 13);
this.labelSubtitleFontBackgroundColor.TabIndex = 26;
@ -842,7 +878,7 @@
// labelSubtitleFontColor
//
this.labelSubtitleFontColor.AutoSize = true;
this.labelSubtitleFontColor.Location = new System.Drawing.Point(8, 389);
this.labelSubtitleFontColor.Location = new System.Drawing.Point(8, 400);
this.labelSubtitleFontColor.Name = "labelSubtitleFontColor";
this.labelSubtitleFontColor.Size = new System.Drawing.Size(92, 13);
this.labelSubtitleFontColor.TabIndex = 24;
@ -945,7 +981,7 @@
// labelSubMaxLen
//
this.labelSubMaxLen.AutoSize = true;
this.labelSubMaxLen.Location = new System.Drawing.Point(8, 124);
this.labelSubMaxLen.Location = new System.Drawing.Point(8, 119);
this.labelSubMaxLen.Name = "labelSubMaxLen";
this.labelSubMaxLen.Size = new System.Drawing.Size(103, 13);
this.labelSubMaxLen.TabIndex = 6;
@ -954,7 +990,7 @@
// labelSubtitleFontSize
//
this.labelSubtitleFontSize.AutoSize = true;
this.labelSubtitleFontSize.Location = new System.Drawing.Point(8, 344);
this.labelSubtitleFontSize.Location = new System.Drawing.Point(8, 355);
this.labelSubtitleFontSize.Name = "labelSubtitleFontSize";
this.labelSubtitleFontSize.Size = new System.Drawing.Size(87, 13);
this.labelSubtitleFontSize.TabIndex = 20;
@ -964,7 +1000,7 @@
//
this.comboBoxSubtitleFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxSubtitleFont.FormattingEnabled = true;
this.comboBoxSubtitleFont.Location = new System.Drawing.Point(205, 313);
this.comboBoxSubtitleFont.Location = new System.Drawing.Point(205, 324);
this.comboBoxSubtitleFont.Name = "comboBoxSubtitleFont";
this.comboBoxSubtitleFont.Size = new System.Drawing.Size(188, 21);
this.comboBoxSubtitleFont.TabIndex = 19;
@ -1003,7 +1039,7 @@
// checkBoxSubtitleFontBold
//
this.checkBoxSubtitleFontBold.AutoSize = true;
this.checkBoxSubtitleFontBold.Location = new System.Drawing.Point(205, 368);
this.checkBoxSubtitleFontBold.Location = new System.Drawing.Point(205, 379);
this.checkBoxSubtitleFontBold.Name = "checkBoxSubtitleFontBold";
this.checkBoxSubtitleFontBold.Size = new System.Drawing.Size(46, 17);
this.checkBoxSubtitleFontBold.TabIndex = 22;
@ -1029,7 +1065,7 @@
"18",
"19",
"20"});
this.comboBoxSubtitleFontSize.Location = new System.Drawing.Point(205, 341);
this.comboBoxSubtitleFontSize.Location = new System.Drawing.Point(205, 352);
this.comboBoxSubtitleFontSize.Name = "comboBoxSubtitleFontSize";
this.comboBoxSubtitleFontSize.Size = new System.Drawing.Size(121, 21);
this.comboBoxSubtitleFontSize.TabIndex = 21;
@ -1037,7 +1073,7 @@
// labelSubtitleFont
//
this.labelSubtitleFont.AutoSize = true;
this.labelSubtitleFont.Location = new System.Drawing.Point(8, 319);
this.labelSubtitleFont.Location = new System.Drawing.Point(8, 330);
this.labelSubtitleFont.Name = "labelSubtitleFont";
this.labelSubtitleFont.Size = new System.Drawing.Size(66, 13);
this.labelSubtitleFont.TabIndex = 18;
@ -1076,7 +1112,7 @@
this.tabPageToolBar.Location = new System.Drawing.Point(4, 22);
this.tabPageToolBar.Name = "tabPageToolBar";
this.tabPageToolBar.Padding = new System.Windows.Forms.Padding(3);
this.tabPageToolBar.Size = new System.Drawing.Size(832, 444);
this.tabPageToolBar.Size = new System.Drawing.Size(832, 457);
this.tabPageToolBar.TabIndex = 7;
this.tabPageToolBar.Text = "Toolbar ";
this.tabPageToolBar.UseVisualStyleBackColor = true;
@ -1088,7 +1124,7 @@
this.groupBox2.Controls.Add(this.checkBoxShowFrameRate);
this.groupBox2.Location = new System.Drawing.Point(7, 248);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(818, 190);
this.groupBox2.Size = new System.Drawing.Size(818, 200);
this.groupBox2.TabIndex = 35;
this.groupBox2.TabStop = false;
//
@ -1481,7 +1517,7 @@
this.tabPageVideoPlayer.Location = new System.Drawing.Point(4, 22);
this.tabPageVideoPlayer.Name = "tabPageVideoPlayer";
this.tabPageVideoPlayer.Padding = new System.Windows.Forms.Padding(3);
this.tabPageVideoPlayer.Size = new System.Drawing.Size(832, 444);
this.tabPageVideoPlayer.Size = new System.Drawing.Size(832, 457);
this.tabPageVideoPlayer.TabIndex = 2;
this.tabPageVideoPlayer.Text = "Video player";
this.tabPageVideoPlayer.UseVisualStyleBackColor = true;
@ -1511,7 +1547,7 @@
this.groupBoxMainWindowVideoControls.Controls.Add(this.comboBoxCustomSearch1);
this.groupBoxMainWindowVideoControls.Location = new System.Drawing.Point(7, 239);
this.groupBoxMainWindowVideoControls.Name = "groupBoxMainWindowVideoControls";
this.groupBoxMainWindowVideoControls.Size = new System.Drawing.Size(819, 199);
this.groupBoxMainWindowVideoControls.Size = new System.Drawing.Size(819, 209);
this.groupBoxMainWindowVideoControls.TabIndex = 15;
this.groupBoxMainWindowVideoControls.TabStop = false;
this.groupBoxMainWindowVideoControls.Text = "Main window video controls";
@ -1998,7 +2034,7 @@
this.tabPageWaveform.Controls.Add(this.groupBoxWaveformAppearence);
this.tabPageWaveform.Location = new System.Drawing.Point(4, 22);
this.tabPageWaveform.Name = "tabPageWaveform";
this.tabPageWaveform.Size = new System.Drawing.Size(832, 444);
this.tabPageWaveform.Size = new System.Drawing.Size(832, 457);
this.tabPageWaveform.TabIndex = 6;
this.tabPageWaveform.Text = "Waveform/spectrogram";
this.tabPageWaveform.UseVisualStyleBackColor = true;
@ -2013,7 +2049,7 @@
this.groupBox3.Controls.Add(this.checkBoxUseFFmpeg);
this.groupBox3.Location = new System.Drawing.Point(406, 325);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(419, 116);
this.groupBox3.Size = new System.Drawing.Size(419, 129);
this.groupBox3.TabIndex = 3;
this.groupBox3.TabStop = false;
//
@ -2105,7 +2141,7 @@
this.groupBox1.Controls.Add(this.labelWaveformsFolderInfo);
this.groupBox1.Location = new System.Drawing.Point(6, 325);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(394, 116);
this.groupBox1.Size = new System.Drawing.Size(394, 129);
this.groupBox1.TabIndex = 2;
this.groupBox1.TabStop = false;
//
@ -2394,7 +2430,7 @@
this.tabPageTools.Location = new System.Drawing.Point(4, 22);
this.tabPageTools.Name = "tabPageTools";
this.tabPageTools.Padding = new System.Windows.Forms.Padding(3);
this.tabPageTools.Size = new System.Drawing.Size(832, 444);
this.tabPageTools.Size = new System.Drawing.Size(832, 457);
this.tabPageTools.TabIndex = 5;
this.tabPageTools.Text = "Tools";
this.tabPageTools.UseVisualStyleBackColor = true;
@ -2411,7 +2447,7 @@
this.groupBoxBing.Controls.Add(this.label1);
this.groupBoxBing.Location = new System.Drawing.Point(374, 259);
this.groupBoxBing.Name = "groupBoxBing";
this.groupBoxBing.Size = new System.Drawing.Size(451, 179);
this.groupBoxBing.Size = new System.Drawing.Size(451, 189);
this.groupBoxBing.TabIndex = 6;
this.groupBoxBing.TabStop = false;
this.groupBoxBing.Text = "Bing translator";
@ -2474,7 +2510,7 @@
this.groupBoxToolsMisc.Controls.Add(this.checkBoxUseDoNotBreakAfterList);
this.groupBoxToolsMisc.Location = new System.Drawing.Point(7, 331);
this.groupBoxToolsMisc.Name = "groupBoxToolsMisc";
this.groupBoxToolsMisc.Size = new System.Drawing.Size(361, 107);
this.groupBoxToolsMisc.Size = new System.Drawing.Size(361, 120);
this.groupBoxToolsMisc.TabIndex = 4;
this.groupBoxToolsMisc.TabStop = false;
this.groupBoxToolsMisc.Text = "Misc";
@ -2729,7 +2765,7 @@
this.tabPageWordLists.Location = new System.Drawing.Point(4, 22);
this.tabPageWordLists.Name = "tabPageWordLists";
this.tabPageWordLists.Padding = new System.Windows.Forms.Padding(3);
this.tabPageWordLists.Size = new System.Drawing.Size(832, 444);
this.tabPageWordLists.Size = new System.Drawing.Size(832, 457);
this.tabPageWordLists.TabIndex = 3;
this.tabPageWordLists.Text = "Word lists";
this.tabPageWordLists.UseVisualStyleBackColor = true;
@ -2748,7 +2784,7 @@
this.groupBoxWordLists.Controls.Add(this.comboBoxWordListLanguage);
this.groupBoxWordLists.Location = new System.Drawing.Point(6, 6);
this.groupBoxWordLists.Name = "groupBoxWordLists";
this.groupBoxWordLists.Size = new System.Drawing.Size(819, 432);
this.groupBoxWordLists.Size = new System.Drawing.Size(819, 445);
this.groupBoxWordLists.TabIndex = 2;
this.groupBoxWordLists.TabStop = false;
this.groupBoxWordLists.Text = "Word lists";
@ -2756,7 +2792,7 @@
// linkLabelOpenDictionaryFolder
//
this.linkLabelOpenDictionaryFolder.AutoSize = true;
this.linkLabelOpenDictionaryFolder.Location = new System.Drawing.Point(7, 409);
this.linkLabelOpenDictionaryFolder.Location = new System.Drawing.Point(6, 419);
this.linkLabelOpenDictionaryFolder.Name = "linkLabelOpenDictionaryFolder";
this.linkLabelOpenDictionaryFolder.Size = new System.Drawing.Size(126, 13);
this.linkLabelOpenDictionaryFolder.TabIndex = 29;
@ -2985,7 +3021,7 @@
this.tabPageSsaStyle.Location = new System.Drawing.Point(4, 22);
this.tabPageSsaStyle.Name = "tabPageSsaStyle";
this.tabPageSsaStyle.Padding = new System.Windows.Forms.Padding(3);
this.tabPageSsaStyle.Size = new System.Drawing.Size(832, 444);
this.tabPageSsaStyle.Size = new System.Drawing.Size(832, 457);
this.tabPageSsaStyle.TabIndex = 1;
this.tabPageSsaStyle.Text = "SSA style";
this.tabPageSsaStyle.UseVisualStyleBackColor = true;
@ -3000,7 +3036,7 @@
this.groupBoxSsaStyle.Controls.Add(this.groupBoxPreview);
this.groupBoxSsaStyle.Location = new System.Drawing.Point(6, 6);
this.groupBoxSsaStyle.Name = "groupBoxSsaStyle";
this.groupBoxSsaStyle.Size = new System.Drawing.Size(819, 432);
this.groupBoxSsaStyle.Size = new System.Drawing.Size(819, 442);
this.groupBoxSsaStyle.TabIndex = 0;
this.groupBoxSsaStyle.TabStop = false;
this.groupBoxSsaStyle.Text = "Sub Station Alpha style";
@ -3250,7 +3286,7 @@
this.groupBoxPreview.Controls.Add(this.pictureBoxPreview);
this.groupBoxPreview.Location = new System.Drawing.Point(6, 114);
this.groupBoxPreview.Name = "groupBoxPreview";
this.groupBoxPreview.Size = new System.Drawing.Size(807, 312);
this.groupBoxPreview.Size = new System.Drawing.Size(807, 322);
this.groupBoxPreview.TabIndex = 10;
this.groupBoxPreview.TabStop = false;
this.groupBoxPreview.Text = "Preview";
@ -3260,7 +3296,7 @@
this.pictureBoxPreview.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBoxPreview.Location = new System.Drawing.Point(3, 17);
this.pictureBoxPreview.Name = "pictureBoxPreview";
this.pictureBoxPreview.Size = new System.Drawing.Size(801, 292);
this.pictureBoxPreview.Size = new System.Drawing.Size(801, 302);
this.pictureBoxPreview.TabIndex = 0;
this.pictureBoxPreview.TabStop = false;
//
@ -3271,7 +3307,7 @@
this.tabPageNetwork.Location = new System.Drawing.Point(4, 22);
this.tabPageNetwork.Name = "tabPageNetwork";
this.tabPageNetwork.Padding = new System.Windows.Forms.Padding(3);
this.tabPageNetwork.Size = new System.Drawing.Size(832, 444);
this.tabPageNetwork.Size = new System.Drawing.Size(832, 457);
this.tabPageNetwork.TabIndex = 4;
this.tabPageNetwork.Text = "Network";
this.tabPageNetwork.UseVisualStyleBackColor = true;
@ -3285,7 +3321,7 @@
this.groupBoxNetworkSession.Controls.Add(this.labelNetworkSessionNewMessageSound);
this.groupBoxNetworkSession.Location = new System.Drawing.Point(6, 189);
this.groupBoxNetworkSession.Name = "groupBoxNetworkSession";
this.groupBoxNetworkSession.Size = new System.Drawing.Size(819, 249);
this.groupBoxNetworkSession.Size = new System.Drawing.Size(819, 259);
this.groupBoxNetworkSession.TabIndex = 30;
this.groupBoxNetworkSession.TabStop = false;
this.groupBoxNetworkSession.Text = "Network session settings";
@ -3416,7 +3452,7 @@
this.tabPageShortcuts.Location = new System.Drawing.Point(4, 22);
this.tabPageShortcuts.Name = "tabPageShortcuts";
this.tabPageShortcuts.Padding = new System.Windows.Forms.Padding(3);
this.tabPageShortcuts.Size = new System.Drawing.Size(832, 444);
this.tabPageShortcuts.Size = new System.Drawing.Size(832, 457);
this.tabPageShortcuts.TabIndex = 8;
this.tabPageShortcuts.Text = "Shortcuts";
this.tabPageShortcuts.UseVisualStyleBackColor = true;
@ -3436,7 +3472,7 @@
this.groupBoxShortcuts.Controls.Add(this.labelShortcut);
this.groupBoxShortcuts.Location = new System.Drawing.Point(6, 6);
this.groupBoxShortcuts.Name = "groupBoxShortcuts";
this.groupBoxShortcuts.Size = new System.Drawing.Size(819, 432);
this.groupBoxShortcuts.Size = new System.Drawing.Size(819, 445);
this.groupBoxShortcuts.TabIndex = 2;
this.groupBoxShortcuts.TabStop = false;
this.groupBoxShortcuts.Text = "Shortcuts";
@ -3580,7 +3616,7 @@
"F22",
"F23",
"F24"});
this.comboBoxShortcutKey.Location = new System.Drawing.Point(353, 405);
this.comboBoxShortcutKey.Location = new System.Drawing.Point(353, 418);
this.comboBoxShortcutKey.Name = "comboBoxShortcutKey";
this.comboBoxShortcutKey.Size = new System.Drawing.Size(92, 21);
this.comboBoxShortcutKey.TabIndex = 4;
@ -3590,7 +3626,7 @@
// labelShortcutKey
//
this.labelShortcutKey.AutoSize = true;
this.labelShortcutKey.Location = new System.Drawing.Point(322, 407);
this.labelShortcutKey.Location = new System.Drawing.Point(322, 420);
this.labelShortcutKey.Name = "labelShortcutKey";
this.labelShortcutKey.Size = new System.Drawing.Size(25, 13);
this.labelShortcutKey.TabIndex = 35;
@ -3600,7 +3636,7 @@
//
this.checkBoxShortcutsShift.AutoSize = true;
this.checkBoxShortcutsShift.Enabled = false;
this.checkBoxShortcutsShift.Location = new System.Drawing.Point(245, 407);
this.checkBoxShortcutsShift.Location = new System.Drawing.Point(245, 420);
this.checkBoxShortcutsShift.Name = "checkBoxShortcutsShift";
this.checkBoxShortcutsShift.Size = new System.Drawing.Size(48, 17);
this.checkBoxShortcutsShift.TabIndex = 3;
@ -3612,7 +3648,7 @@
//
this.checkBoxShortcutsAlt.AutoSize = true;
this.checkBoxShortcutsAlt.Enabled = false;
this.checkBoxShortcutsAlt.Location = new System.Drawing.Point(176, 407);
this.checkBoxShortcutsAlt.Location = new System.Drawing.Point(176, 420);
this.checkBoxShortcutsAlt.Name = "checkBoxShortcutsAlt";
this.checkBoxShortcutsAlt.Size = new System.Drawing.Size(39, 17);
this.checkBoxShortcutsAlt.TabIndex = 2;
@ -3624,7 +3660,7 @@
//
this.checkBoxShortcutsControl.AutoSize = true;
this.checkBoxShortcutsControl.Enabled = false;
this.checkBoxShortcutsControl.Location = new System.Drawing.Point(89, 407);
this.checkBoxShortcutsControl.Location = new System.Drawing.Point(89, 420);
this.checkBoxShortcutsControl.Name = "checkBoxShortcutsControl";
this.checkBoxShortcutsControl.Size = new System.Drawing.Size(61, 17);
this.checkBoxShortcutsControl.TabIndex = 1;
@ -3635,7 +3671,7 @@
// buttonUpdateShortcut
//
this.buttonUpdateShortcut.Enabled = false;
this.buttonUpdateShortcut.Location = new System.Drawing.Point(485, 404);
this.buttonUpdateShortcut.Location = new System.Drawing.Point(485, 417);
this.buttonUpdateShortcut.Name = "buttonUpdateShortcut";
this.buttonUpdateShortcut.Size = new System.Drawing.Size(111, 23);
this.buttonUpdateShortcut.TabIndex = 5;
@ -3651,14 +3687,14 @@
this.treeViewShortcuts.HideSelection = false;
this.treeViewShortcuts.Location = new System.Drawing.Point(16, 21);
this.treeViewShortcuts.Name = "treeViewShortcuts";
this.treeViewShortcuts.Size = new System.Drawing.Size(797, 376);
this.treeViewShortcuts.Size = new System.Drawing.Size(797, 389);
this.treeViewShortcuts.TabIndex = 0;
this.treeViewShortcuts.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewShortcuts_AfterSelect);
//
// labelShortcut
//
this.labelShortcut.AutoSize = true;
this.labelShortcut.Location = new System.Drawing.Point(15, 407);
this.labelShortcut.Location = new System.Drawing.Point(15, 420);
this.labelShortcut.Name = "labelShortcut";
this.labelShortcut.Size = new System.Drawing.Size(52, 13);
this.labelShortcut.TabIndex = 3;
@ -3670,7 +3706,7 @@
this.tabPageSyntaxColoring.Location = new System.Drawing.Point(4, 22);
this.tabPageSyntaxColoring.Name = "tabPageSyntaxColoring";
this.tabPageSyntaxColoring.Padding = new System.Windows.Forms.Padding(3);
this.tabPageSyntaxColoring.Size = new System.Drawing.Size(832, 444);
this.tabPageSyntaxColoring.Size = new System.Drawing.Size(832, 457);
this.tabPageSyntaxColoring.TabIndex = 9;
this.tabPageSyntaxColoring.Text = "Syntax coloring";
this.tabPageSyntaxColoring.UseVisualStyleBackColor = true;
@ -3680,7 +3716,6 @@
this.groupBoxListViewSyntaxColoring.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.groupBoxListViewSyntaxColoring.Controls.Add(this.numericUpDownSyntaxColorTextMoreThanXLines);
this.groupBoxListViewSyntaxColoring.Controls.Add(this.checkBoxSyntaxColorTextMoreThanTwoLines);
this.groupBoxListViewSyntaxColoring.Controls.Add(this.checkBoxSyntaxOverlap);
this.groupBoxListViewSyntaxColoring.Controls.Add(this.checkBoxSyntaxColorDurationTooSmall);
@ -3690,33 +3725,11 @@
this.groupBoxListViewSyntaxColoring.Controls.Add(this.panelListViewSyntaxColorError);
this.groupBoxListViewSyntaxColoring.Location = new System.Drawing.Point(6, 6);
this.groupBoxListViewSyntaxColoring.Name = "groupBoxListViewSyntaxColoring";
this.groupBoxListViewSyntaxColoring.Size = new System.Drawing.Size(820, 432);
this.groupBoxListViewSyntaxColoring.Size = new System.Drawing.Size(820, 445);
this.groupBoxListViewSyntaxColoring.TabIndex = 0;
this.groupBoxListViewSyntaxColoring.TabStop = false;
this.groupBoxListViewSyntaxColoring.Text = "List view syntax coloring";
//
// numericUpDownSyntaxColorTextMoreThanXLines
//
this.numericUpDownSyntaxColorTextMoreThanXLines.Location = new System.Drawing.Point(196, 112);
this.numericUpDownSyntaxColorTextMoreThanXLines.Maximum = new decimal(new int[] {
10,
0,
0,
0});
this.numericUpDownSyntaxColorTextMoreThanXLines.Minimum = new decimal(new int[] {
1,
0,
0,
0});
this.numericUpDownSyntaxColorTextMoreThanXLines.Name = "numericUpDownSyntaxColorTextMoreThanXLines";
this.numericUpDownSyntaxColorTextMoreThanXLines.Size = new System.Drawing.Size(48, 21);
this.numericUpDownSyntaxColorTextMoreThanXLines.TabIndex = 4;
this.numericUpDownSyntaxColorTextMoreThanXLines.Value = new decimal(new int[] {
10,
0,
0,
0});
//
// checkBoxSyntaxColorTextMoreThanTwoLines
//
this.checkBoxSyntaxColorTextMoreThanTwoLines.AutoSize = true;
@ -3788,8 +3801,9 @@
//
// labelStatus
//
this.labelStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelStatus.AutoSize = true;
this.labelStatus.Location = new System.Drawing.Point(14, 493);
this.labelStatus.Location = new System.Drawing.Point(12, 510);
this.labelStatus.Name = "labelStatus";
this.labelStatus.Size = new System.Drawing.Size(60, 13);
this.labelStatus.TabIndex = 3;
@ -3803,7 +3817,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(865, 522);
this.ClientSize = new System.Drawing.Size(865, 535);
this.Controls.Add(this.labelStatus);
this.Controls.Add(this.tabControlSettings);
this.Controls.Add(this.buttonCancel);
@ -3822,6 +3836,7 @@
this.tabPageGeneral.ResumeLayout(false);
this.groupBoxMiscellaneous.ResumeLayout(false);
this.groupBoxMiscellaneous.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxNumberOfLines)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMinGapMs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSubtitleLineMaximumLength)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxCharsSec)).EndInit();
@ -3912,7 +3927,6 @@
this.tabPageSyntaxColoring.ResumeLayout(false);
this.groupBoxListViewSyntaxColoring.ResumeLayout(false);
this.groupBoxListViewSyntaxColoring.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSyntaxColorTextMoreThanXLines)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@ -4115,7 +4129,6 @@
private System.Windows.Forms.Label labelMaxCharsPerSecond;
private System.Windows.Forms.NumericUpDown numericUpDownMaxCharsSec;
private System.Windows.Forms.NumericUpDown numericUpDownSubtitleLineMaximumLength;
private System.Windows.Forms.NumericUpDown numericUpDownSyntaxColorTextMoreThanXLines;
private System.Windows.Forms.CheckBox checkBoxSubtitleCenter;
private System.Windows.Forms.CheckBox checkBoxVideoPlayerShowFullscreenButton;
private System.Windows.Forms.CheckBox checkBoxVideoPlayerShowMuteButton;
@ -4211,5 +4224,7 @@
private System.Windows.Forms.Label labelTBRemoveTextForHi;
private System.Windows.Forms.PictureBox pictureBoxTBRemoveTextForHi;
private System.Windows.Forms.CheckBox checkBoxTBRemoveTextForHi;
private System.Windows.Forms.NumericUpDown numericUpDownMaxNumberOfLines;
private System.Windows.Forms.Label labelMaxLines;
}
}

View File

@ -222,7 +222,11 @@ namespace Nikse.SubtitleEdit.Forms
checkBoxSyntaxColorDurationTooLarge.Checked = Configuration.Settings.Tools.ListViewSyntaxColorDurationBig;
checkBoxSyntaxColorTextTooLong.Checked = Configuration.Settings.Tools.ListViewSyntaxColorLongLines;
checkBoxSyntaxColorTextMoreThanTwoLines.Checked = Configuration.Settings.Tools.ListViewSyntaxMoreThanXLines;
numericUpDownSyntaxColorTextMoreThanXLines.Value = Configuration.Settings.Tools.ListViewSyntaxMoreThanXLinesX;
if (Configuration.Settings.Tools.ListViewSyntaxMoreThanXLinesX >= numericUpDownMaxNumberOfLines.Minimum &&
Configuration.Settings.Tools.ListViewSyntaxMoreThanXLinesX <= numericUpDownMaxNumberOfLines.Maximum)
{
numericUpDownMaxNumberOfLines.Value = Configuration.Settings.Tools.ListViewSyntaxMoreThanXLinesX;
}
checkBoxSyntaxOverlap.Checked = Configuration.Settings.Tools.ListViewSyntaxColorOverlap;
panelListViewSyntaxColorError.BackColor = Configuration.Settings.Tools.ListViewSyntaxErrorColor;
@ -277,6 +281,7 @@ namespace Nikse.SubtitleEdit.Forms
labelMinDuration.Text = language.DurationMinimumMilliseconds;
labelMaxDuration.Text = language.DurationMaximumMilliseconds;
labelMinGapMs.Text = language.MinimumGapMilliseconds;
labelMaxLines.Text = language.MaximumLines;
if (labelSubMaxLen.Left + labelSubMaxLen.Width > numericUpDownSubtitleLineMaximumLength.Left)
numericUpDownSubtitleLineMaximumLength.Left = labelSubMaxLen.Left + labelSubMaxLen.Width + 3;
if (labelMaxCharsPerSecond.Left + labelMaxCharsPerSecond.Width > numericUpDownMaxCharsSec.Left)
@ -836,8 +841,7 @@ namespace Nikse.SubtitleEdit.Forms
checkBoxSyntaxColorDurationTooSmall.Text = language.SyntaxColorDurationIfTooSmall;
checkBoxSyntaxColorDurationTooLarge.Text = language.SyntaxColorDurationIfTooLarge;
checkBoxSyntaxColorTextTooLong.Text = language.SyntaxColorTextIfTooLong;
checkBoxSyntaxColorTextMoreThanTwoLines.Text = language.SyntaxColorTextMoreThanXLines;
numericUpDownSyntaxColorTextMoreThanXLines.Left = checkBoxSyntaxColorTextMoreThanTwoLines.Left + checkBoxSyntaxColorTextMoreThanTwoLines.Width + 4;
checkBoxSyntaxColorTextMoreThanTwoLines.Text = string.Format(language.SyntaxColorTextMoreThanMaxLines, Configuration.Settings.Tools.ListViewSyntaxMoreThanXLinesX);
checkBoxSyntaxOverlap.Text = language.SyntaxColorOverlap;
buttonListViewSyntaxColorError.Text = language.SyntaxErrorColor;
@ -1233,7 +1237,7 @@ namespace Nikse.SubtitleEdit.Forms
Configuration.Settings.Tools.ListViewSyntaxColorDurationBig = checkBoxSyntaxColorDurationTooLarge.Checked;
Configuration.Settings.Tools.ListViewSyntaxColorLongLines = checkBoxSyntaxColorTextTooLong.Checked;
Configuration.Settings.Tools.ListViewSyntaxMoreThanXLines = checkBoxSyntaxColorTextMoreThanTwoLines.Checked;
Configuration.Settings.Tools.ListViewSyntaxMoreThanXLinesX = (int)numericUpDownSyntaxColorTextMoreThanXLines.Value;
Configuration.Settings.Tools.ListViewSyntaxMoreThanXLinesX = (int)numericUpDownMaxNumberOfLines.Value;
Configuration.Settings.Tools.ListViewSyntaxColorOverlap = checkBoxSyntaxOverlap.Checked;
Configuration.Settings.Tools.ListViewSyntaxErrorColor = panelListViewSyntaxColorError.BackColor;