Fix typo: math -> match (#3040)

This commit is contained in:
bormant 2024-02-09 00:03:50 +03:00 committed by GitHub
parent acc59f9c87
commit 84dc17a37c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 100 additions and 100 deletions

View file

@ -232,7 +232,7 @@ namespace VisualPascalABCPlugins
bool RedirectConsoleIO { get; set; }
bool ShowLineNums { get; set; }
bool EnableFolding { get; set; }
bool ShowMathBraket { get; set; }
bool ShowMatchBraket { get; set; }
bool ConverTabsToSpaces { get; set; }
bool DeleteEXEAfterExecute { get; set; }
bool DeletePDBAfterExecute { get; set; }

View file

@ -223,7 +223,7 @@ namespace VisualPascalABCPlugins
bool RedirectConsoleIO { get; set; }
bool ShowLineNums { get; set; }
bool EnableFolding { get; set; }
bool ShowMathBraket { get; set; }
bool ShowMatchBraket { get; set; }
bool ConverTabsToSpaces { get; set; }
bool DeleteEXEAfterExecute { get; set; }
bool DeletePDBAfterExecute { get; set; }

View file

@ -71,7 +71,7 @@ namespace VisualPascalABC
TextEditor.EnableFolding = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
// TextEditor.EnableFolding = MainForm.UserOptions.ShowLineNums;
TextEditor.ShowMatchingBracket = MainForm.UserOptions.ShowMathBraket;
TextEditor.ShowMatchingBracket = MainForm.UserOptions.ShowMatchBraket;
TextEditor.ActiveTextAreaControl.TextArea.MouseClick += new MouseEventHandler(edit_MouseClick);
TextEditor.Document.DocumentChanged += new ICSharpCode.TextEditor.Document.DocumentEventHandler(Document_DocumentChanged);
TextEditor.ActiveTextAreaControl.SelectionManager.SelectionChanged += new EventHandler(SelectionManager_SelectionChanged);

View file

@ -30,7 +30,7 @@
{
this.nudTabIndent = new System.Windows.Forms.NumericUpDown();
this.cbConvertTabsToSpaces = new System.Windows.Forms.CheckBox();
this.cbShowMathBracket = new System.Windows.Forms.CheckBox();
this.cbShowMatchBracket = new System.Windows.Forms.CheckBox();
this.cbEditorFontSize = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.cbShowLinesNum = new System.Windows.Forms.CheckBox();
@ -77,15 +77,15 @@
this.cbConvertTabsToSpaces.Text = "CONVERT_TABS_TO_SPACES";
this.cbConvertTabsToSpaces.UseVisualStyleBackColor = true;
//
// cbShowMathBracket
// cbShowMatchBracket
//
this.cbShowMathBracket.AutoSize = true;
this.cbShowMathBracket.Location = new System.Drawing.Point(5, 83);
this.cbShowMathBracket.Name = "cbShowMathBracket";
this.cbShowMathBracket.Size = new System.Drawing.Size(153, 17);
this.cbShowMathBracket.TabIndex = 25;
this.cbShowMathBracket.Text = "SHOW_MATH_BRACKET";
this.cbShowMathBracket.UseVisualStyleBackColor = true;
this.cbShowMatchBracket.AutoSize = true;
this.cbShowMatchBracket.Location = new System.Drawing.Point(5, 83);
this.cbShowMatchBracket.Name = "cbShowMatchBracket";
this.cbShowMatchBracket.Size = new System.Drawing.Size(153, 17);
this.cbShowMatchBracket.TabIndex = 25;
this.cbShowMatchBracket.Text = "SHOW_MATCH_BRACKET";
this.cbShowMatchBracket.UseVisualStyleBackColor = true;
//
// cbEditorFontSize
//
@ -178,7 +178,7 @@
this.Controls.Add(this.cbEnableFolding);
this.Controls.Add(this.nudTabIndent);
this.Controls.Add(this.cbConvertTabsToSpaces);
this.Controls.Add(this.cbShowMathBracket);
this.Controls.Add(this.cbShowMatchBracket);
this.Controls.Add(this.cbEditorFontSize);
this.Controls.Add(this.label3);
this.Controls.Add(this.cbShowLinesNum);
@ -199,7 +199,7 @@
private System.Windows.Forms.NumericUpDown nudTabIndent;
private System.Windows.Forms.CheckBox cbConvertTabsToSpaces;
private System.Windows.Forms.CheckBox cbShowMathBracket;
private System.Windows.Forms.CheckBox cbShowMatchBracket;
private System.Windows.Forms.ComboBox cbEditorFontSize;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckBox cbShowLinesNum;

View file

@ -74,7 +74,7 @@ namespace VisualPascalABC.OptionsContent
{
cbShowLinesNum.Checked = MainForm.UserOptions.ShowLineNums;
cbEnableFolding.Checked = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
cbShowMathBracket.Checked = MainForm.UserOptions.ShowMathBraket;
cbShowMatchBracket.Checked = MainForm.UserOptions.ShowMatchBraket;
cbConvertTabsToSpaces.Checked = MainForm.UserOptions.ConverTabsToSpaces;
cbEnableMatchOperBrackets.Checked = MainForm.UserOptions.HighlightOperatorBrackets;
nudTabIndent.Value = MainForm.UserOptions.TabIndent;
@ -110,7 +110,7 @@ namespace VisualPascalABC.OptionsContent
MainForm.UserOptions.TabIndent = (int)nudTabIndent.Value;
MainForm.UserOptions.ShowLineNums = cbShowLinesNum.Checked;
MainForm.UserOptions.EnableFolding = cbEnableFolding.Checked; // SSM 4.09.08
MainForm.UserOptions.ShowMathBraket = cbShowMathBracket.Checked;
MainForm.UserOptions.ShowMatchBraket = cbShowMatchBracket.Checked;
MainForm.UserOptions.HighlightOperatorBrackets = cbEnableMatchOperBrackets.Checked;
MainForm.ErrorCursorPosStrategy = SourceLocationAction.GotoBeg;//(SourceLocationAction)(cbErrorPos.SelectedItem as ObjectLocalisator).Value;
if (fcbFont.SelectedItem != null)

View file

@ -36,7 +36,7 @@ namespace VisualPascalABC
this.cbUseRegex = new System.Windows.Forms.CheckBox();
this.cbSearchUp = new System.Windows.Forms.CheckBox();
this.cbMathWord = new System.Windows.Forms.CheckBox();
this.cbMathCase = new System.Windows.Forms.CheckBox();
this.cbMatchCase = new System.Windows.Forms.CheckBox();
this.btReplace = new System.Windows.Forms.Button();
this.btReplaceAll = new System.Windows.Forms.Button();
this.tbTextToFind = new System.Windows.Forms.ComboBox();
@ -92,7 +92,7 @@ namespace VisualPascalABC
this.groupBox1.Controls.Add(this.cbUseRegex);
this.groupBox1.Controls.Add(this.cbSearchUp);
this.groupBox1.Controls.Add(this.cbMathWord);
this.groupBox1.Controls.Add(this.cbMathCase);
this.groupBox1.Controls.Add(this.cbMatchCase);
this.groupBox1.Location = new System.Drawing.Point(16, 64);
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBox1.Name = "groupBox1";
@ -132,19 +132,19 @@ namespace VisualPascalABC
this.cbMathWord.Name = "cbMathWord";
this.cbMathWord.Size = new System.Drawing.Size(177, 21);
this.cbMathWord.TabIndex = 1;
this.cbMathWord.Text = "MATH_WHOLE_WORD";
this.cbMathWord.Text = "MATCH_WHOLE_WORD";
this.cbMathWord.UseVisualStyleBackColor = true;
//
// cbMathCase
// cbMatchCase
//
this.cbMathCase.AutoSize = true;
this.cbMathCase.Location = new System.Drawing.Point(8, 23);
this.cbMathCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.cbMathCase.Name = "cbMathCase";
this.cbMathCase.Size = new System.Drawing.Size(110, 21);
this.cbMathCase.TabIndex = 0;
this.cbMathCase.Text = "MATH_CASE";
this.cbMathCase.UseVisualStyleBackColor = true;
this.cbMatchCase.AutoSize = true;
this.cbMatchCase.Location = new System.Drawing.Point(8, 23);
this.cbMatchCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.cbMatchCase.Name = "cbMatchCase";
this.cbMatchCase.Size = new System.Drawing.Size(110, 21);
this.cbMatchCase.TabIndex = 0;
this.cbMatchCase.Text = "MATCH_CASE";
this.cbMatchCase.UseVisualStyleBackColor = true;
//
// btReplace
//
@ -230,7 +230,7 @@ namespace VisualPascalABC
private System.Windows.Forms.Button btCancel;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.CheckBox cbMathWord;
private System.Windows.Forms.CheckBox cbMathCase;
private System.Windows.Forms.CheckBox cbMatchCase;
private System.Windows.Forms.CheckBox cbSearchUp;
private System.Windows.Forms.CheckBox cbUseRegex;
private System.Windows.Forms.Button btReplace;

View file

@ -77,7 +77,7 @@ namespace VisualPascalABC
resOffset = -1;
//resLength = -1;
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
if (!cbMathCase.Checked)
if (!cbMatchCase.Checked)
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
if (cbSearchUp.Checked)
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
@ -205,7 +205,7 @@ namespace VisualPascalABC
if (findSuccess)
{
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
if (!cbMathCase.Checked)
if (!cbMatchCase.Checked)
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
if (cbSearchUp.Checked)
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;

View file

@ -11,7 +11,7 @@ namespace VisualPascalABC
public bool RedirectConsoleIO = false;
public bool ShowLineNums = false;
public bool EnableFolding = false; // SSM 4.09.08
public bool ShowMathBraket = false;
public bool ShowMatchBraket = false;
public bool ConverTabsToSpaces = true;
public bool deleteEXEAfterExecute = false;
public bool deletePDBAfterExecute = true;
@ -226,10 +226,10 @@ namespace VisualPascalABC
set { ShowLineNums = value; }
}
bool VisualPascalABCPlugins.IUserOptions.ShowMathBraket
bool VisualPascalABCPlugins.IUserOptions.ShowMatchBraket
{
get { return ShowMathBraket; }
set { ShowMathBraket = value; }
get { return ShowMatchBraket; }
set { ShowMatchBraket = value; }
}
bool VisualPascalABCPlugins.IUserOptions.ShowQuickClassBrowserPanel

View file

@ -35,7 +35,7 @@ namespace VisualPascalABC
private string OptionsItemNameEditorFontFamily = "EditorFontFamily";
private string OptionsItemNameEditorFontSize = "EditorFontSize";
private string OptionsItemNameErrorsCursorPosStrategy = "ErrorsCursorPosStrategy";
private string OptionsItemNameShowMathBracket = "ShowMathBracket";
private string OptionsItemNameShowMatchBracket = "ShowMatchBracket";
private string OptionsItemNameShowMatchOperatorBracket = "ShowMatchOperatorBracket";
private string OptionsItemNameConvertTabsToSpaces = "ConvertTabsToSpaces";
private string OptionsItemNameTabIdent = "TabIdent";
@ -170,8 +170,8 @@ namespace VisualPascalABC
UserOptions.DeleteEXEAfterExecute = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameDeletePDBAfterExecute]) != null)
UserOptions.DeletePDBAfterExecute = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameShowMathBracket]) != null)
UserOptions.ShowMathBraket = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameShowMatchBracket]) != null)
UserOptions.ShowMatchBraket = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameShowMatchOperatorBracket]) != null)
UserOptions.HighlightOperatorBrackets = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameEditorFontFamily]) != null)
@ -301,7 +301,7 @@ namespace VisualPascalABC
Options.Add(OptionsItemNameTabIdent, UserOptions.TabIndent);
Options.Add(OptionsItemNameShowLinesNum, UserOptions.ShowLineNums);
Options.Add(OptionsItemNameEnableFolding, UserOptions.EnableFolding); // SSM 4.09.08
Options.Add(OptionsItemNameShowMathBracket, UserOptions.ShowMathBraket);
Options.Add(OptionsItemNameShowMatchBracket, UserOptions.ShowMatchBraket);
Options.Add(OptionsItemNameShowMatchOperatorBracket, UserOptions.HighlightOperatorBrackets);
Options.Add(OptionsItemNameEditorFontFamily, UserOptions.CurrentFontFamily);
Options.Add(OptionsItemNameEditorFontSize, UserOptions.EditorFontSize);
@ -339,8 +339,8 @@ namespace VisualPascalABC
si.TextEditor.EnableFolding = UserOptions.EnableFolding;
si.TextEditor.UpdateFolding();
}
if (si.TextEditor.ShowMatchingBracket != UserOptions.ShowMathBraket)
si.TextEditor.ShowMatchingBracket = UserOptions.ShowMathBraket;
if (si.TextEditor.ShowMatchingBracket != UserOptions.ShowMatchBraket)
si.TextEditor.ShowMatchingBracket = UserOptions.ShowMatchBraket;
if (si.FontSize != UserOptions.EditorFontSize)
si.FontSize = UserOptions.EditorFontSize;
if (si.TextEditor.ConvertTabsToSpaces != UserOptions.ConverTabsToSpaces)

View file

@ -71,7 +71,7 @@ namespace VisualPascalABC
TextEditor.EnableFolding = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
// TextEditor.EnableFolding = MainForm.UserOptions.ShowLineNums;
TextEditor.ShowMatchingBracket = MainForm.UserOptions.ShowMathBraket;
TextEditor.ShowMatchingBracket = MainForm.UserOptions.ShowMatchBraket;
TextEditor.ActiveTextAreaControl.TextArea.MouseClick += new MouseEventHandler(edit_MouseClick);
TextEditor.Document.DocumentChanged += new ICSharpCode.TextEditor.Document.DocumentEventHandler(Document_DocumentChanged);
TextEditor.ActiveTextAreaControl.SelectionManager.SelectionChanged += new EventHandler(SelectionManager_SelectionChanged);

View file

@ -30,7 +30,7 @@
{
this.nudTabIndent = new System.Windows.Forms.NumericUpDown();
this.cbConvertTabsToSpaces = new System.Windows.Forms.CheckBox();
this.cbShowMathBracket = new System.Windows.Forms.CheckBox();
this.cbShowMatchBracket = new System.Windows.Forms.CheckBox();
this.cbEditorFontSize = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.cbShowLinesNum = new System.Windows.Forms.CheckBox();
@ -77,15 +77,15 @@
this.cbConvertTabsToSpaces.Text = "CONVERT_TABS_TO_SPACES";
this.cbConvertTabsToSpaces.UseVisualStyleBackColor = true;
//
// cbShowMathBracket
// cbShowMatchBracket
//
this.cbShowMathBracket.AutoSize = true;
this.cbShowMathBracket.Location = new System.Drawing.Point(5, 83);
this.cbShowMathBracket.Name = "cbShowMathBracket";
this.cbShowMathBracket.Size = new System.Drawing.Size(153, 17);
this.cbShowMathBracket.TabIndex = 25;
this.cbShowMathBracket.Text = "SHOW_MATH_BRACKET";
this.cbShowMathBracket.UseVisualStyleBackColor = true;
this.cbShowMatchBracket.AutoSize = true;
this.cbShowMatchBracket.Location = new System.Drawing.Point(5, 83);
this.cbShowMatchBracket.Name = "cbShowMatchBracket";
this.cbShowMatchBracket.Size = new System.Drawing.Size(153, 17);
this.cbShowMatchBracket.TabIndex = 25;
this.cbShowMatchBracket.Text = "SHOW_MATCH_BRACKET";
this.cbShowMatchBracket.UseVisualStyleBackColor = true;
//
// cbEditorFontSize
//
@ -178,7 +178,7 @@
this.Controls.Add(this.cbEnableFolding);
this.Controls.Add(this.nudTabIndent);
this.Controls.Add(this.cbConvertTabsToSpaces);
this.Controls.Add(this.cbShowMathBracket);
this.Controls.Add(this.cbShowMatchBracket);
this.Controls.Add(this.cbEditorFontSize);
this.Controls.Add(this.label3);
this.Controls.Add(this.cbShowLinesNum);
@ -199,7 +199,7 @@
private System.Windows.Forms.NumericUpDown nudTabIndent;
private System.Windows.Forms.CheckBox cbConvertTabsToSpaces;
private System.Windows.Forms.CheckBox cbShowMathBracket;
private System.Windows.Forms.CheckBox cbShowMatchBracket;
private System.Windows.Forms.ComboBox cbEditorFontSize;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckBox cbShowLinesNum;

View file

@ -74,7 +74,7 @@ namespace VisualPascalABC.OptionsContent
{
cbShowLinesNum.Checked = MainForm.UserOptions.ShowLineNums;
cbEnableFolding.Checked = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
cbShowMathBracket.Checked = MainForm.UserOptions.ShowMathBraket;
cbShowMatchBracket.Checked = MainForm.UserOptions.ShowMatchBraket;
cbConvertTabsToSpaces.Checked = MainForm.UserOptions.ConverTabsToSpaces;
cbEnableMatchOperBrackets.Checked = MainForm.UserOptions.HighlightOperatorBrackets;
nudTabIndent.Value = MainForm.UserOptions.TabIndent;
@ -110,7 +110,7 @@ namespace VisualPascalABC.OptionsContent
MainForm.UserOptions.TabIndent = (int)nudTabIndent.Value;
MainForm.UserOptions.ShowLineNums = cbShowLinesNum.Checked;
MainForm.UserOptions.EnableFolding = cbEnableFolding.Checked; // SSM 4.09.08
MainForm.UserOptions.ShowMathBraket = cbShowMathBracket.Checked;
MainForm.UserOptions.ShowMatchBraket = cbShowMatchBracket.Checked;
MainForm.UserOptions.HighlightOperatorBrackets = cbEnableMatchOperBrackets.Checked;
MainForm.ErrorCursorPosStrategy = SourceLocationAction.GotoBeg;//(SourceLocationAction)(cbErrorPos.SelectedItem as ObjectLocalisator).Value;
if (fcbFont.SelectedItem != null)

View file

@ -36,7 +36,7 @@ namespace VisualPascalABC
this.cbUseRegex = new System.Windows.Forms.CheckBox();
this.cbSearchUp = new System.Windows.Forms.CheckBox();
this.cbMathWord = new System.Windows.Forms.CheckBox();
this.cbMathCase = new System.Windows.Forms.CheckBox();
this.cbMatchCase = new System.Windows.Forms.CheckBox();
this.btReplace = new System.Windows.Forms.Button();
this.btReplaceAll = new System.Windows.Forms.Button();
this.tbTextToFind = new System.Windows.Forms.ComboBox();
@ -92,7 +92,7 @@ namespace VisualPascalABC
this.groupBox1.Controls.Add(this.cbUseRegex);
this.groupBox1.Controls.Add(this.cbSearchUp);
this.groupBox1.Controls.Add(this.cbMathWord);
this.groupBox1.Controls.Add(this.cbMathCase);
this.groupBox1.Controls.Add(this.cbMatchCase);
this.groupBox1.Location = new System.Drawing.Point(16, 64);
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.groupBox1.Name = "groupBox1";
@ -132,19 +132,19 @@ namespace VisualPascalABC
this.cbMathWord.Name = "cbMathWord";
this.cbMathWord.Size = new System.Drawing.Size(177, 21);
this.cbMathWord.TabIndex = 1;
this.cbMathWord.Text = "MATH_WHOLE_WORD";
this.cbMathWord.Text = "MATCH_WHOLE_WORD";
this.cbMathWord.UseVisualStyleBackColor = true;
//
// cbMathCase
// cbMatchCase
//
this.cbMathCase.AutoSize = true;
this.cbMathCase.Location = new System.Drawing.Point(8, 23);
this.cbMathCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.cbMathCase.Name = "cbMathCase";
this.cbMathCase.Size = new System.Drawing.Size(110, 21);
this.cbMathCase.TabIndex = 0;
this.cbMathCase.Text = "MATH_CASE";
this.cbMathCase.UseVisualStyleBackColor = true;
this.cbMatchCase.AutoSize = true;
this.cbMatchCase.Location = new System.Drawing.Point(8, 23);
this.cbMatchCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.cbMatchCase.Name = "cbMatchCase";
this.cbMatchCase.Size = new System.Drawing.Size(110, 21);
this.cbMatchCase.TabIndex = 0;
this.cbMatchCase.Text = "MATCH_CASE";
this.cbMatchCase.UseVisualStyleBackColor = true;
//
// btReplace
//
@ -230,7 +230,7 @@ namespace VisualPascalABC
private System.Windows.Forms.Button btCancel;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.CheckBox cbMathWord;
private System.Windows.Forms.CheckBox cbMathCase;
private System.Windows.Forms.CheckBox cbMatchCase;
private System.Windows.Forms.CheckBox cbSearchUp;
private System.Windows.Forms.CheckBox cbUseRegex;
private System.Windows.Forms.Button btReplace;

View file

@ -77,7 +77,7 @@ namespace VisualPascalABC
resOffset = -1;
//resLength = -1;
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
if (!cbMathCase.Checked)
if (!cbMatchCase.Checked)
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
if (cbSearchUp.Checked)
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
@ -205,7 +205,7 @@ namespace VisualPascalABC
if (findSuccess)
{
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
if (!cbMathCase.Checked)
if (!cbMatchCase.Checked)
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
if (cbSearchUp.Checked)
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;

View file

@ -11,7 +11,7 @@ namespace VisualPascalABC
public bool RedirectConsoleIO = false;
public bool ShowLineNums = false;
public bool EnableFolding = false; // SSM 4.09.08
public bool ShowMathBraket = false;
public bool ShowMatchBraket = false;
public bool ConverTabsToSpaces = true;
public bool deleteEXEAfterExecute = false;
public bool deletePDBAfterExecute = true;
@ -226,10 +226,10 @@ namespace VisualPascalABC
set { ShowLineNums = value; }
}
bool VisualPascalABCPlugins.IUserOptions.ShowMathBraket
bool VisualPascalABCPlugins.IUserOptions.ShowMatchBraket
{
get { return ShowMathBraket; }
set { ShowMathBraket = value; }
get { return ShowMatchBraket; }
set { ShowMatchBraket = value; }
}
bool VisualPascalABCPlugins.IUserOptions.ShowQuickClassBrowserPanel

View file

@ -35,7 +35,7 @@ namespace VisualPascalABC
private string OptionsItemNameEditorFontFamily = "EditorFontFamily";
private string OptionsItemNameEditorFontSize = "EditorFontSize";
private string OptionsItemNameErrorsCursorPosStrategy = "ErrorsCursorPosStrategy";
private string OptionsItemNameShowMathBracket = "ShowMathBracket";
private string OptionsItemNameShowMatchBracket = "ShowMatchBracket";
private string OptionsItemNameShowMatchOperatorBracket = "ShowMatchOperatorBracket";
private string OptionsItemNameConvertTabsToSpaces = "ConvertTabsToSpaces";
private string OptionsItemNameTabIdent = "TabIdent";
@ -170,8 +170,8 @@ namespace VisualPascalABC
UserOptions.DeleteEXEAfterExecute = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameDeletePDBAfterExecute]) != null)
UserOptions.DeletePDBAfterExecute = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameShowMathBracket]) != null)
UserOptions.ShowMathBraket = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameShowMatchBracket]) != null)
UserOptions.ShowMatchBraket = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameShowMatchOperatorBracket]) != null)
UserOptions.HighlightOperatorBrackets = Convert.ToBoolean(value);
if ((value = (string)Options[OptionsItemNameEditorFontFamily]) != null)
@ -301,7 +301,7 @@ namespace VisualPascalABC
Options.Add(OptionsItemNameTabIdent, UserOptions.TabIndent);
Options.Add(OptionsItemNameShowLinesNum, UserOptions.ShowLineNums);
Options.Add(OptionsItemNameEnableFolding, UserOptions.EnableFolding); // SSM 4.09.08
Options.Add(OptionsItemNameShowMathBracket, UserOptions.ShowMathBraket);
Options.Add(OptionsItemNameShowMatchBracket, UserOptions.ShowMatchBraket);
Options.Add(OptionsItemNameShowMatchOperatorBracket, UserOptions.HighlightOperatorBrackets);
Options.Add(OptionsItemNameEditorFontFamily, UserOptions.CurrentFontFamily);
Options.Add(OptionsItemNameEditorFontSize, UserOptions.EditorFontSize);
@ -339,8 +339,8 @@ namespace VisualPascalABC
si.TextEditor.EnableFolding = UserOptions.EnableFolding;
si.TextEditor.UpdateFolding();
}
if (si.TextEditor.ShowMatchingBracket != UserOptions.ShowMathBraket)
si.TextEditor.ShowMatchingBracket = UserOptions.ShowMathBraket;
if (si.TextEditor.ShowMatchingBracket != UserOptions.ShowMatchBraket)
si.TextEditor.ShowMatchingBracket = UserOptions.ShowMatchBraket;
if (si.FontSize != UserOptions.EditorFontSize)
si.FontSize = UserOptions.EditorFontSize;
if (si.TextEditor.ConvertTabsToSpaces != UserOptions.ConverTabsToSpaces)

View file

@ -373,7 +373,7 @@ NAME=Text Editor
DESCRIPTION=Text Editor Options
ERROR_CURSOR_POS=Position cursor by error
SHOW_LINES_NUM=Show line numbers
SHOW_MATH_BRACKET=Highlight matching bracket
SHOW_MATCH_BRACKET=Highlight matching bracket
SHOW_MATCH_OPERATOR_BRACKET=Highlight matching operator bracket
ENABLE_FOLDING=Enable folding
FONT=Font
@ -440,8 +440,8 @@ COPYRIGHT=
FORMTEXT=Find
L_FIND=Find what:
G_OPTIONS=Options
MATH_CASE=Match case
MATH_WHOLE_WORD=Match whole word
MATCH_CASE=Match case
MATCH_WHOLE_WORD=Match whole word
SEARCH_UP=Search up
USE_REGEX=Regular expressions
FINDNEXT=Find Next
@ -452,8 +452,8 @@ FORMTEXT=Replace
L_FIND=Find what:
L_REPLACETO=Replace to
G_OPTIONS=Options
MATH_CASE=Math case
MATH_WHOLE_WORD=Math whole word
MATCH_CASE=Match case
MATCH_WHOLE_WORD=Match whole word
SEARCH_UP=Search up
USE_REGEX=Regular expressions
FINDNEXT=Find Next

View file

@ -373,7 +373,7 @@ NAME=Редактор
DESCRIPTION=Настройки редактора
ERROR_CURSOR_POS=При ошибке позиционировать курсор
SHOW_LINES_NUM=Показывать номера строк
SHOW_MATH_BRACKET=Подсвечивать парные скобки
SHOW_MATCH_BRACKET=Подсвечивать парные скобки
SHOW_MATCH_OPERATOR_BRACKET=Подсвечивать парные операторные скобки
ENABLE_FOLDING=Разрешить сворачивание кода
FONT_SIZE=Размер шрифта
@ -440,8 +440,8 @@ COPYRIGHT=
FORMTEXT=Поиск
L_FIND=Искать
G_OPTIONS=Параметры
MATH_CASE=Учитывать регистр
MATH_WHOLE_WORD=Слово целиком
MATCH_CASE=Учитывать регистр
MATCH_WHOLE_WORD=Слово целиком
SEARCH_UP=Искать вверх
USE_REGEX=Регулярные выражения
FINDNEXT=Искать далее
@ -452,8 +452,8 @@ FORMTEXT=Замена
L_FIND=Искать
L_REPLACETO=Заменить на
G_OPTIONS=Параметры поиска
MATH_CASE=Учитывать регистр
MATH_WHOLE_WORD=Слово целиком
MATCH_CASE=Учитывать регистр
MATCH_WHOLE_WORD=Слово целиком
SEARCH_UP=Искать вверх
USE_REGEX=Регулярные выражения
FINDNEXT=Искать далее

View file

@ -367,7 +367,7 @@ NAME=Редактор
DESCRIPTION=Налаштування редактора
ERROR_CURSOR_POS=При помилці позиціонувати курсор
SHOW_LINES_NUM=Показувати номери рядків
SHOW_MATH_BRACKET=Підсвічувати парні дужки
SHOW_MATCH_BRACKET=Підсвічувати парні дужки
SHOW_MATCH_OPERATOR_BRACKET=Підсвічувати парні операторні дужки
ENABLE_FOLDING=Дозволити згортання коду
FONT_SIZE=Розмір шрифту
@ -434,8 +434,8 @@ COPYRIGHT=
FORMTEXT=Пошук
L_FIND=Шукати
G_OPTIONS=Параметри
MATH_CASE=Враховувати регістр
MATH_WHOLE_WORD=Слово повністю
MATCH_CASE=Враховувати регістр
MATCH_WHOLE_WORD=Слово повністю
SEARCH_UP=Шукати вгору
USE_REGEX=Регулярні вирази
FINDNEXT=Шукати далі
@ -446,8 +446,8 @@ FORMTEXT=Заміна
L_FIND=Шукати
L_REPLACETO=Замінити на
G_OPTIONS=Параметри пошуку
MATH_CASE=Враховувати регістр
MATH_WHOLE_WORD=Слово повністю
MATCH_CASE=Враховувати регістр
MATCH_WHOLE_WORD=Слово повністю
SEARCH_UP=Шукати вгору
USE_REGEX=Регулярні вирази
FINDNEXT=Шукати далі

View file

@ -373,7 +373,7 @@ NAME=文本编辑器
DESCRIPTION=文本编辑器选项
ERROR_CURSOR_POS=错误定位光标
SHOW_LINES_NUM=显示行号
SHOW_MATH_BRACKET=高亮匹配括号
SHOW_MATCH_BRACKET=高亮匹配括号
SHOW_MATCH_OPERATOR_BRACKET=高亮匹配运算符括号
ENABLE_FOLDING=启用折叠
FONT=字体
@ -440,8 +440,8 @@ COPYRIGHT=
FORMTEXT=查找
L_FIND=查找什么:
G_OPTIONS=选项
MATH_CASE=匹配大小写
MATH_WHOLE_WORD=匹配整个单词
MATCH_CASE=匹配大小写
MATCH_WHOLE_WORD=匹配整个单词
SEARCH_UP=向上搜索
USE_REGEX=正则表达式
FINDNEXT=查找下一个
@ -452,8 +452,8 @@ FORMTEXT=替换
L_FIND=查找什么:
L_REPLACETO=替换为
G_OPTIONS=选项
MATH_CASE=匹配大小写
MATH_WHOLE_WORD=匹配整个单词
MATCH_CASE=匹配大小写
MATCH_WHOLE_WORD=匹配整个单词
SEARCH_UP=向上搜索
USE_REGEX=正则表达式
FINDNEXT=查找下一个