Fix typo: math -> match (#3040)
This commit is contained in:
parent
acc59f9c87
commit
84dc17a37c
|
|
@ -232,7 +232,7 @@ namespace VisualPascalABCPlugins
|
||||||
bool RedirectConsoleIO { get; set; }
|
bool RedirectConsoleIO { get; set; }
|
||||||
bool ShowLineNums { get; set; }
|
bool ShowLineNums { get; set; }
|
||||||
bool EnableFolding { get; set; }
|
bool EnableFolding { get; set; }
|
||||||
bool ShowMathBraket { get; set; }
|
bool ShowMatchBraket { get; set; }
|
||||||
bool ConverTabsToSpaces { get; set; }
|
bool ConverTabsToSpaces { get; set; }
|
||||||
bool DeleteEXEAfterExecute { get; set; }
|
bool DeleteEXEAfterExecute { get; set; }
|
||||||
bool DeletePDBAfterExecute { get; set; }
|
bool DeletePDBAfterExecute { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -223,7 +223,7 @@ namespace VisualPascalABCPlugins
|
||||||
bool RedirectConsoleIO { get; set; }
|
bool RedirectConsoleIO { get; set; }
|
||||||
bool ShowLineNums { get; set; }
|
bool ShowLineNums { get; set; }
|
||||||
bool EnableFolding { get; set; }
|
bool EnableFolding { get; set; }
|
||||||
bool ShowMathBraket { get; set; }
|
bool ShowMatchBraket { get; set; }
|
||||||
bool ConverTabsToSpaces { get; set; }
|
bool ConverTabsToSpaces { get; set; }
|
||||||
bool DeleteEXEAfterExecute { get; set; }
|
bool DeleteEXEAfterExecute { get; set; }
|
||||||
bool DeletePDBAfterExecute { get; set; }
|
bool DeletePDBAfterExecute { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ namespace VisualPascalABC
|
||||||
TextEditor.EnableFolding = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
|
TextEditor.EnableFolding = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
|
||||||
|
|
||||||
// TextEditor.EnableFolding = MainForm.UserOptions.ShowLineNums;
|
// TextEditor.EnableFolding = MainForm.UserOptions.ShowLineNums;
|
||||||
TextEditor.ShowMatchingBracket = MainForm.UserOptions.ShowMathBraket;
|
TextEditor.ShowMatchingBracket = MainForm.UserOptions.ShowMatchBraket;
|
||||||
TextEditor.ActiveTextAreaControl.TextArea.MouseClick += new MouseEventHandler(edit_MouseClick);
|
TextEditor.ActiveTextAreaControl.TextArea.MouseClick += new MouseEventHandler(edit_MouseClick);
|
||||||
TextEditor.Document.DocumentChanged += new ICSharpCode.TextEditor.Document.DocumentEventHandler(Document_DocumentChanged);
|
TextEditor.Document.DocumentChanged += new ICSharpCode.TextEditor.Document.DocumentEventHandler(Document_DocumentChanged);
|
||||||
TextEditor.ActiveTextAreaControl.SelectionManager.SelectionChanged += new EventHandler(SelectionManager_SelectionChanged);
|
TextEditor.ActiveTextAreaControl.SelectionManager.SelectionChanged += new EventHandler(SelectionManager_SelectionChanged);
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
{
|
{
|
||||||
this.nudTabIndent = new System.Windows.Forms.NumericUpDown();
|
this.nudTabIndent = new System.Windows.Forms.NumericUpDown();
|
||||||
this.cbConvertTabsToSpaces = new System.Windows.Forms.CheckBox();
|
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.cbEditorFontSize = new System.Windows.Forms.ComboBox();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.cbShowLinesNum = new System.Windows.Forms.CheckBox();
|
this.cbShowLinesNum = new System.Windows.Forms.CheckBox();
|
||||||
|
|
@ -77,15 +77,15 @@
|
||||||
this.cbConvertTabsToSpaces.Text = "CONVERT_TABS_TO_SPACES";
|
this.cbConvertTabsToSpaces.Text = "CONVERT_TABS_TO_SPACES";
|
||||||
this.cbConvertTabsToSpaces.UseVisualStyleBackColor = true;
|
this.cbConvertTabsToSpaces.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cbShowMathBracket
|
// cbShowMatchBracket
|
||||||
//
|
//
|
||||||
this.cbShowMathBracket.AutoSize = true;
|
this.cbShowMatchBracket.AutoSize = true;
|
||||||
this.cbShowMathBracket.Location = new System.Drawing.Point(5, 83);
|
this.cbShowMatchBracket.Location = new System.Drawing.Point(5, 83);
|
||||||
this.cbShowMathBracket.Name = "cbShowMathBracket";
|
this.cbShowMatchBracket.Name = "cbShowMatchBracket";
|
||||||
this.cbShowMathBracket.Size = new System.Drawing.Size(153, 17);
|
this.cbShowMatchBracket.Size = new System.Drawing.Size(153, 17);
|
||||||
this.cbShowMathBracket.TabIndex = 25;
|
this.cbShowMatchBracket.TabIndex = 25;
|
||||||
this.cbShowMathBracket.Text = "SHOW_MATH_BRACKET";
|
this.cbShowMatchBracket.Text = "SHOW_MATCH_BRACKET";
|
||||||
this.cbShowMathBracket.UseVisualStyleBackColor = true;
|
this.cbShowMatchBracket.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cbEditorFontSize
|
// cbEditorFontSize
|
||||||
//
|
//
|
||||||
|
|
@ -178,7 +178,7 @@
|
||||||
this.Controls.Add(this.cbEnableFolding);
|
this.Controls.Add(this.cbEnableFolding);
|
||||||
this.Controls.Add(this.nudTabIndent);
|
this.Controls.Add(this.nudTabIndent);
|
||||||
this.Controls.Add(this.cbConvertTabsToSpaces);
|
this.Controls.Add(this.cbConvertTabsToSpaces);
|
||||||
this.Controls.Add(this.cbShowMathBracket);
|
this.Controls.Add(this.cbShowMatchBracket);
|
||||||
this.Controls.Add(this.cbEditorFontSize);
|
this.Controls.Add(this.cbEditorFontSize);
|
||||||
this.Controls.Add(this.label3);
|
this.Controls.Add(this.label3);
|
||||||
this.Controls.Add(this.cbShowLinesNum);
|
this.Controls.Add(this.cbShowLinesNum);
|
||||||
|
|
@ -199,7 +199,7 @@
|
||||||
|
|
||||||
private System.Windows.Forms.NumericUpDown nudTabIndent;
|
private System.Windows.Forms.NumericUpDown nudTabIndent;
|
||||||
private System.Windows.Forms.CheckBox cbConvertTabsToSpaces;
|
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.ComboBox cbEditorFontSize;
|
||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.CheckBox cbShowLinesNum;
|
private System.Windows.Forms.CheckBox cbShowLinesNum;
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ namespace VisualPascalABC.OptionsContent
|
||||||
{
|
{
|
||||||
cbShowLinesNum.Checked = MainForm.UserOptions.ShowLineNums;
|
cbShowLinesNum.Checked = MainForm.UserOptions.ShowLineNums;
|
||||||
cbEnableFolding.Checked = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
|
cbEnableFolding.Checked = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
|
||||||
cbShowMathBracket.Checked = MainForm.UserOptions.ShowMathBraket;
|
cbShowMatchBracket.Checked = MainForm.UserOptions.ShowMatchBraket;
|
||||||
cbConvertTabsToSpaces.Checked = MainForm.UserOptions.ConverTabsToSpaces;
|
cbConvertTabsToSpaces.Checked = MainForm.UserOptions.ConverTabsToSpaces;
|
||||||
cbEnableMatchOperBrackets.Checked = MainForm.UserOptions.HighlightOperatorBrackets;
|
cbEnableMatchOperBrackets.Checked = MainForm.UserOptions.HighlightOperatorBrackets;
|
||||||
nudTabIndent.Value = MainForm.UserOptions.TabIndent;
|
nudTabIndent.Value = MainForm.UserOptions.TabIndent;
|
||||||
|
|
@ -110,7 +110,7 @@ namespace VisualPascalABC.OptionsContent
|
||||||
MainForm.UserOptions.TabIndent = (int)nudTabIndent.Value;
|
MainForm.UserOptions.TabIndent = (int)nudTabIndent.Value;
|
||||||
MainForm.UserOptions.ShowLineNums = cbShowLinesNum.Checked;
|
MainForm.UserOptions.ShowLineNums = cbShowLinesNum.Checked;
|
||||||
MainForm.UserOptions.EnableFolding = cbEnableFolding.Checked; // SSM 4.09.08
|
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.UserOptions.HighlightOperatorBrackets = cbEnableMatchOperBrackets.Checked;
|
||||||
MainForm.ErrorCursorPosStrategy = SourceLocationAction.GotoBeg;//(SourceLocationAction)(cbErrorPos.SelectedItem as ObjectLocalisator).Value;
|
MainForm.ErrorCursorPosStrategy = SourceLocationAction.GotoBeg;//(SourceLocationAction)(cbErrorPos.SelectedItem as ObjectLocalisator).Value;
|
||||||
if (fcbFont.SelectedItem != null)
|
if (fcbFont.SelectedItem != null)
|
||||||
|
|
|
||||||
26
VisualPascalABCNET/ReplaceForm.Designer.cs
generated
26
VisualPascalABCNET/ReplaceForm.Designer.cs
generated
|
|
@ -36,7 +36,7 @@ namespace VisualPascalABC
|
||||||
this.cbUseRegex = new System.Windows.Forms.CheckBox();
|
this.cbUseRegex = new System.Windows.Forms.CheckBox();
|
||||||
this.cbSearchUp = new System.Windows.Forms.CheckBox();
|
this.cbSearchUp = new System.Windows.Forms.CheckBox();
|
||||||
this.cbMathWord = 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.btReplace = new System.Windows.Forms.Button();
|
||||||
this.btReplaceAll = new System.Windows.Forms.Button();
|
this.btReplaceAll = new System.Windows.Forms.Button();
|
||||||
this.tbTextToFind = new System.Windows.Forms.ComboBox();
|
this.tbTextToFind = new System.Windows.Forms.ComboBox();
|
||||||
|
|
@ -92,7 +92,7 @@ namespace VisualPascalABC
|
||||||
this.groupBox1.Controls.Add(this.cbUseRegex);
|
this.groupBox1.Controls.Add(this.cbUseRegex);
|
||||||
this.groupBox1.Controls.Add(this.cbSearchUp);
|
this.groupBox1.Controls.Add(this.cbSearchUp);
|
||||||
this.groupBox1.Controls.Add(this.cbMathWord);
|
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.Location = new System.Drawing.Point(16, 64);
|
||||||
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.groupBox1.Name = "groupBox1";
|
this.groupBox1.Name = "groupBox1";
|
||||||
|
|
@ -132,19 +132,19 @@ namespace VisualPascalABC
|
||||||
this.cbMathWord.Name = "cbMathWord";
|
this.cbMathWord.Name = "cbMathWord";
|
||||||
this.cbMathWord.Size = new System.Drawing.Size(177, 21);
|
this.cbMathWord.Size = new System.Drawing.Size(177, 21);
|
||||||
this.cbMathWord.TabIndex = 1;
|
this.cbMathWord.TabIndex = 1;
|
||||||
this.cbMathWord.Text = "MATH_WHOLE_WORD";
|
this.cbMathWord.Text = "MATCH_WHOLE_WORD";
|
||||||
this.cbMathWord.UseVisualStyleBackColor = true;
|
this.cbMathWord.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cbMathCase
|
// cbMatchCase
|
||||||
//
|
//
|
||||||
this.cbMathCase.AutoSize = true;
|
this.cbMatchCase.AutoSize = true;
|
||||||
this.cbMathCase.Location = new System.Drawing.Point(8, 23);
|
this.cbMatchCase.Location = new System.Drawing.Point(8, 23);
|
||||||
this.cbMathCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.cbMatchCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.cbMathCase.Name = "cbMathCase";
|
this.cbMatchCase.Name = "cbMatchCase";
|
||||||
this.cbMathCase.Size = new System.Drawing.Size(110, 21);
|
this.cbMatchCase.Size = new System.Drawing.Size(110, 21);
|
||||||
this.cbMathCase.TabIndex = 0;
|
this.cbMatchCase.TabIndex = 0;
|
||||||
this.cbMathCase.Text = "MATH_CASE";
|
this.cbMatchCase.Text = "MATCH_CASE";
|
||||||
this.cbMathCase.UseVisualStyleBackColor = true;
|
this.cbMatchCase.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// btReplace
|
// btReplace
|
||||||
//
|
//
|
||||||
|
|
@ -230,7 +230,7 @@ namespace VisualPascalABC
|
||||||
private System.Windows.Forms.Button btCancel;
|
private System.Windows.Forms.Button btCancel;
|
||||||
private System.Windows.Forms.GroupBox groupBox1;
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
private System.Windows.Forms.CheckBox cbMathWord;
|
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 cbSearchUp;
|
||||||
private System.Windows.Forms.CheckBox cbUseRegex;
|
private System.Windows.Forms.CheckBox cbUseRegex;
|
||||||
private System.Windows.Forms.Button btReplace;
|
private System.Windows.Forms.Button btReplace;
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ namespace VisualPascalABC
|
||||||
resOffset = -1;
|
resOffset = -1;
|
||||||
//resLength = -1;
|
//resLength = -1;
|
||||||
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
|
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
|
||||||
if (!cbMathCase.Checked)
|
if (!cbMatchCase.Checked)
|
||||||
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
|
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
|
||||||
if (cbSearchUp.Checked)
|
if (cbSearchUp.Checked)
|
||||||
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
|
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
|
||||||
|
|
@ -205,7 +205,7 @@ namespace VisualPascalABC
|
||||||
if (findSuccess)
|
if (findSuccess)
|
||||||
{
|
{
|
||||||
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
|
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
|
||||||
if (!cbMathCase.Checked)
|
if (!cbMatchCase.Checked)
|
||||||
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
|
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
|
||||||
if (cbSearchUp.Checked)
|
if (cbSearchUp.Checked)
|
||||||
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
|
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ namespace VisualPascalABC
|
||||||
public bool RedirectConsoleIO = false;
|
public bool RedirectConsoleIO = false;
|
||||||
public bool ShowLineNums = false;
|
public bool ShowLineNums = false;
|
||||||
public bool EnableFolding = false; // SSM 4.09.08
|
public bool EnableFolding = false; // SSM 4.09.08
|
||||||
public bool ShowMathBraket = false;
|
public bool ShowMatchBraket = false;
|
||||||
public bool ConverTabsToSpaces = true;
|
public bool ConverTabsToSpaces = true;
|
||||||
public bool deleteEXEAfterExecute = false;
|
public bool deleteEXEAfterExecute = false;
|
||||||
public bool deletePDBAfterExecute = true;
|
public bool deletePDBAfterExecute = true;
|
||||||
|
|
@ -226,10 +226,10 @@ namespace VisualPascalABC
|
||||||
set { ShowLineNums = value; }
|
set { ShowLineNums = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VisualPascalABCPlugins.IUserOptions.ShowMathBraket
|
bool VisualPascalABCPlugins.IUserOptions.ShowMatchBraket
|
||||||
{
|
{
|
||||||
get { return ShowMathBraket; }
|
get { return ShowMatchBraket; }
|
||||||
set { ShowMathBraket = value; }
|
set { ShowMatchBraket = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VisualPascalABCPlugins.IUserOptions.ShowQuickClassBrowserPanel
|
bool VisualPascalABCPlugins.IUserOptions.ShowQuickClassBrowserPanel
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ namespace VisualPascalABC
|
||||||
private string OptionsItemNameEditorFontFamily = "EditorFontFamily";
|
private string OptionsItemNameEditorFontFamily = "EditorFontFamily";
|
||||||
private string OptionsItemNameEditorFontSize = "EditorFontSize";
|
private string OptionsItemNameEditorFontSize = "EditorFontSize";
|
||||||
private string OptionsItemNameErrorsCursorPosStrategy = "ErrorsCursorPosStrategy";
|
private string OptionsItemNameErrorsCursorPosStrategy = "ErrorsCursorPosStrategy";
|
||||||
private string OptionsItemNameShowMathBracket = "ShowMathBracket";
|
private string OptionsItemNameShowMatchBracket = "ShowMatchBracket";
|
||||||
private string OptionsItemNameShowMatchOperatorBracket = "ShowMatchOperatorBracket";
|
private string OptionsItemNameShowMatchOperatorBracket = "ShowMatchOperatorBracket";
|
||||||
private string OptionsItemNameConvertTabsToSpaces = "ConvertTabsToSpaces";
|
private string OptionsItemNameConvertTabsToSpaces = "ConvertTabsToSpaces";
|
||||||
private string OptionsItemNameTabIdent = "TabIdent";
|
private string OptionsItemNameTabIdent = "TabIdent";
|
||||||
|
|
@ -170,8 +170,8 @@ namespace VisualPascalABC
|
||||||
UserOptions.DeleteEXEAfterExecute = Convert.ToBoolean(value);
|
UserOptions.DeleteEXEAfterExecute = Convert.ToBoolean(value);
|
||||||
if ((value = (string)Options[OptionsItemNameDeletePDBAfterExecute]) != null)
|
if ((value = (string)Options[OptionsItemNameDeletePDBAfterExecute]) != null)
|
||||||
UserOptions.DeletePDBAfterExecute = Convert.ToBoolean(value);
|
UserOptions.DeletePDBAfterExecute = Convert.ToBoolean(value);
|
||||||
if ((value = (string)Options[OptionsItemNameShowMathBracket]) != null)
|
if ((value = (string)Options[OptionsItemNameShowMatchBracket]) != null)
|
||||||
UserOptions.ShowMathBraket = Convert.ToBoolean(value);
|
UserOptions.ShowMatchBraket = Convert.ToBoolean(value);
|
||||||
if ((value = (string)Options[OptionsItemNameShowMatchOperatorBracket]) != null)
|
if ((value = (string)Options[OptionsItemNameShowMatchOperatorBracket]) != null)
|
||||||
UserOptions.HighlightOperatorBrackets = Convert.ToBoolean(value);
|
UserOptions.HighlightOperatorBrackets = Convert.ToBoolean(value);
|
||||||
if ((value = (string)Options[OptionsItemNameEditorFontFamily]) != null)
|
if ((value = (string)Options[OptionsItemNameEditorFontFamily]) != null)
|
||||||
|
|
@ -301,7 +301,7 @@ namespace VisualPascalABC
|
||||||
Options.Add(OptionsItemNameTabIdent, UserOptions.TabIndent);
|
Options.Add(OptionsItemNameTabIdent, UserOptions.TabIndent);
|
||||||
Options.Add(OptionsItemNameShowLinesNum, UserOptions.ShowLineNums);
|
Options.Add(OptionsItemNameShowLinesNum, UserOptions.ShowLineNums);
|
||||||
Options.Add(OptionsItemNameEnableFolding, UserOptions.EnableFolding); // SSM 4.09.08
|
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(OptionsItemNameShowMatchOperatorBracket, UserOptions.HighlightOperatorBrackets);
|
||||||
Options.Add(OptionsItemNameEditorFontFamily, UserOptions.CurrentFontFamily);
|
Options.Add(OptionsItemNameEditorFontFamily, UserOptions.CurrentFontFamily);
|
||||||
Options.Add(OptionsItemNameEditorFontSize, UserOptions.EditorFontSize);
|
Options.Add(OptionsItemNameEditorFontSize, UserOptions.EditorFontSize);
|
||||||
|
|
@ -339,8 +339,8 @@ namespace VisualPascalABC
|
||||||
si.TextEditor.EnableFolding = UserOptions.EnableFolding;
|
si.TextEditor.EnableFolding = UserOptions.EnableFolding;
|
||||||
si.TextEditor.UpdateFolding();
|
si.TextEditor.UpdateFolding();
|
||||||
}
|
}
|
||||||
if (si.TextEditor.ShowMatchingBracket != UserOptions.ShowMathBraket)
|
if (si.TextEditor.ShowMatchingBracket != UserOptions.ShowMatchBraket)
|
||||||
si.TextEditor.ShowMatchingBracket = UserOptions.ShowMathBraket;
|
si.TextEditor.ShowMatchingBracket = UserOptions.ShowMatchBraket;
|
||||||
if (si.FontSize != UserOptions.EditorFontSize)
|
if (si.FontSize != UserOptions.EditorFontSize)
|
||||||
si.FontSize = UserOptions.EditorFontSize;
|
si.FontSize = UserOptions.EditorFontSize;
|
||||||
if (si.TextEditor.ConvertTabsToSpaces != UserOptions.ConverTabsToSpaces)
|
if (si.TextEditor.ConvertTabsToSpaces != UserOptions.ConverTabsToSpaces)
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ namespace VisualPascalABC
|
||||||
TextEditor.EnableFolding = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
|
TextEditor.EnableFolding = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
|
||||||
|
|
||||||
// TextEditor.EnableFolding = MainForm.UserOptions.ShowLineNums;
|
// TextEditor.EnableFolding = MainForm.UserOptions.ShowLineNums;
|
||||||
TextEditor.ShowMatchingBracket = MainForm.UserOptions.ShowMathBraket;
|
TextEditor.ShowMatchingBracket = MainForm.UserOptions.ShowMatchBraket;
|
||||||
TextEditor.ActiveTextAreaControl.TextArea.MouseClick += new MouseEventHandler(edit_MouseClick);
|
TextEditor.ActiveTextAreaControl.TextArea.MouseClick += new MouseEventHandler(edit_MouseClick);
|
||||||
TextEditor.Document.DocumentChanged += new ICSharpCode.TextEditor.Document.DocumentEventHandler(Document_DocumentChanged);
|
TextEditor.Document.DocumentChanged += new ICSharpCode.TextEditor.Document.DocumentEventHandler(Document_DocumentChanged);
|
||||||
TextEditor.ActiveTextAreaControl.SelectionManager.SelectionChanged += new EventHandler(SelectionManager_SelectionChanged);
|
TextEditor.ActiveTextAreaControl.SelectionManager.SelectionChanged += new EventHandler(SelectionManager_SelectionChanged);
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
{
|
{
|
||||||
this.nudTabIndent = new System.Windows.Forms.NumericUpDown();
|
this.nudTabIndent = new System.Windows.Forms.NumericUpDown();
|
||||||
this.cbConvertTabsToSpaces = new System.Windows.Forms.CheckBox();
|
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.cbEditorFontSize = new System.Windows.Forms.ComboBox();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.cbShowLinesNum = new System.Windows.Forms.CheckBox();
|
this.cbShowLinesNum = new System.Windows.Forms.CheckBox();
|
||||||
|
|
@ -77,15 +77,15 @@
|
||||||
this.cbConvertTabsToSpaces.Text = "CONVERT_TABS_TO_SPACES";
|
this.cbConvertTabsToSpaces.Text = "CONVERT_TABS_TO_SPACES";
|
||||||
this.cbConvertTabsToSpaces.UseVisualStyleBackColor = true;
|
this.cbConvertTabsToSpaces.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cbShowMathBracket
|
// cbShowMatchBracket
|
||||||
//
|
//
|
||||||
this.cbShowMathBracket.AutoSize = true;
|
this.cbShowMatchBracket.AutoSize = true;
|
||||||
this.cbShowMathBracket.Location = new System.Drawing.Point(5, 83);
|
this.cbShowMatchBracket.Location = new System.Drawing.Point(5, 83);
|
||||||
this.cbShowMathBracket.Name = "cbShowMathBracket";
|
this.cbShowMatchBracket.Name = "cbShowMatchBracket";
|
||||||
this.cbShowMathBracket.Size = new System.Drawing.Size(153, 17);
|
this.cbShowMatchBracket.Size = new System.Drawing.Size(153, 17);
|
||||||
this.cbShowMathBracket.TabIndex = 25;
|
this.cbShowMatchBracket.TabIndex = 25;
|
||||||
this.cbShowMathBracket.Text = "SHOW_MATH_BRACKET";
|
this.cbShowMatchBracket.Text = "SHOW_MATCH_BRACKET";
|
||||||
this.cbShowMathBracket.UseVisualStyleBackColor = true;
|
this.cbShowMatchBracket.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cbEditorFontSize
|
// cbEditorFontSize
|
||||||
//
|
//
|
||||||
|
|
@ -178,7 +178,7 @@
|
||||||
this.Controls.Add(this.cbEnableFolding);
|
this.Controls.Add(this.cbEnableFolding);
|
||||||
this.Controls.Add(this.nudTabIndent);
|
this.Controls.Add(this.nudTabIndent);
|
||||||
this.Controls.Add(this.cbConvertTabsToSpaces);
|
this.Controls.Add(this.cbConvertTabsToSpaces);
|
||||||
this.Controls.Add(this.cbShowMathBracket);
|
this.Controls.Add(this.cbShowMatchBracket);
|
||||||
this.Controls.Add(this.cbEditorFontSize);
|
this.Controls.Add(this.cbEditorFontSize);
|
||||||
this.Controls.Add(this.label3);
|
this.Controls.Add(this.label3);
|
||||||
this.Controls.Add(this.cbShowLinesNum);
|
this.Controls.Add(this.cbShowLinesNum);
|
||||||
|
|
@ -199,7 +199,7 @@
|
||||||
|
|
||||||
private System.Windows.Forms.NumericUpDown nudTabIndent;
|
private System.Windows.Forms.NumericUpDown nudTabIndent;
|
||||||
private System.Windows.Forms.CheckBox cbConvertTabsToSpaces;
|
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.ComboBox cbEditorFontSize;
|
||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.CheckBox cbShowLinesNum;
|
private System.Windows.Forms.CheckBox cbShowLinesNum;
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ namespace VisualPascalABC.OptionsContent
|
||||||
{
|
{
|
||||||
cbShowLinesNum.Checked = MainForm.UserOptions.ShowLineNums;
|
cbShowLinesNum.Checked = MainForm.UserOptions.ShowLineNums;
|
||||||
cbEnableFolding.Checked = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
|
cbEnableFolding.Checked = MainForm.UserOptions.EnableFolding; // SSM 4.09.08
|
||||||
cbShowMathBracket.Checked = MainForm.UserOptions.ShowMathBraket;
|
cbShowMatchBracket.Checked = MainForm.UserOptions.ShowMatchBraket;
|
||||||
cbConvertTabsToSpaces.Checked = MainForm.UserOptions.ConverTabsToSpaces;
|
cbConvertTabsToSpaces.Checked = MainForm.UserOptions.ConverTabsToSpaces;
|
||||||
cbEnableMatchOperBrackets.Checked = MainForm.UserOptions.HighlightOperatorBrackets;
|
cbEnableMatchOperBrackets.Checked = MainForm.UserOptions.HighlightOperatorBrackets;
|
||||||
nudTabIndent.Value = MainForm.UserOptions.TabIndent;
|
nudTabIndent.Value = MainForm.UserOptions.TabIndent;
|
||||||
|
|
@ -110,7 +110,7 @@ namespace VisualPascalABC.OptionsContent
|
||||||
MainForm.UserOptions.TabIndent = (int)nudTabIndent.Value;
|
MainForm.UserOptions.TabIndent = (int)nudTabIndent.Value;
|
||||||
MainForm.UserOptions.ShowLineNums = cbShowLinesNum.Checked;
|
MainForm.UserOptions.ShowLineNums = cbShowLinesNum.Checked;
|
||||||
MainForm.UserOptions.EnableFolding = cbEnableFolding.Checked; // SSM 4.09.08
|
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.UserOptions.HighlightOperatorBrackets = cbEnableMatchOperBrackets.Checked;
|
||||||
MainForm.ErrorCursorPosStrategy = SourceLocationAction.GotoBeg;//(SourceLocationAction)(cbErrorPos.SelectedItem as ObjectLocalisator).Value;
|
MainForm.ErrorCursorPosStrategy = SourceLocationAction.GotoBeg;//(SourceLocationAction)(cbErrorPos.SelectedItem as ObjectLocalisator).Value;
|
||||||
if (fcbFont.SelectedItem != null)
|
if (fcbFont.SelectedItem != null)
|
||||||
|
|
|
||||||
26
VisualPascalABCNETLinux/ReplaceForm.Designer.cs
generated
26
VisualPascalABCNETLinux/ReplaceForm.Designer.cs
generated
|
|
@ -36,7 +36,7 @@ namespace VisualPascalABC
|
||||||
this.cbUseRegex = new System.Windows.Forms.CheckBox();
|
this.cbUseRegex = new System.Windows.Forms.CheckBox();
|
||||||
this.cbSearchUp = new System.Windows.Forms.CheckBox();
|
this.cbSearchUp = new System.Windows.Forms.CheckBox();
|
||||||
this.cbMathWord = 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.btReplace = new System.Windows.Forms.Button();
|
||||||
this.btReplaceAll = new System.Windows.Forms.Button();
|
this.btReplaceAll = new System.Windows.Forms.Button();
|
||||||
this.tbTextToFind = new System.Windows.Forms.ComboBox();
|
this.tbTextToFind = new System.Windows.Forms.ComboBox();
|
||||||
|
|
@ -92,7 +92,7 @@ namespace VisualPascalABC
|
||||||
this.groupBox1.Controls.Add(this.cbUseRegex);
|
this.groupBox1.Controls.Add(this.cbUseRegex);
|
||||||
this.groupBox1.Controls.Add(this.cbSearchUp);
|
this.groupBox1.Controls.Add(this.cbSearchUp);
|
||||||
this.groupBox1.Controls.Add(this.cbMathWord);
|
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.Location = new System.Drawing.Point(16, 64);
|
||||||
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.groupBox1.Name = "groupBox1";
|
this.groupBox1.Name = "groupBox1";
|
||||||
|
|
@ -132,19 +132,19 @@ namespace VisualPascalABC
|
||||||
this.cbMathWord.Name = "cbMathWord";
|
this.cbMathWord.Name = "cbMathWord";
|
||||||
this.cbMathWord.Size = new System.Drawing.Size(177, 21);
|
this.cbMathWord.Size = new System.Drawing.Size(177, 21);
|
||||||
this.cbMathWord.TabIndex = 1;
|
this.cbMathWord.TabIndex = 1;
|
||||||
this.cbMathWord.Text = "MATH_WHOLE_WORD";
|
this.cbMathWord.Text = "MATCH_WHOLE_WORD";
|
||||||
this.cbMathWord.UseVisualStyleBackColor = true;
|
this.cbMathWord.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// cbMathCase
|
// cbMatchCase
|
||||||
//
|
//
|
||||||
this.cbMathCase.AutoSize = true;
|
this.cbMatchCase.AutoSize = true;
|
||||||
this.cbMathCase.Location = new System.Drawing.Point(8, 23);
|
this.cbMatchCase.Location = new System.Drawing.Point(8, 23);
|
||||||
this.cbMathCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
this.cbMatchCase.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||||
this.cbMathCase.Name = "cbMathCase";
|
this.cbMatchCase.Name = "cbMatchCase";
|
||||||
this.cbMathCase.Size = new System.Drawing.Size(110, 21);
|
this.cbMatchCase.Size = new System.Drawing.Size(110, 21);
|
||||||
this.cbMathCase.TabIndex = 0;
|
this.cbMatchCase.TabIndex = 0;
|
||||||
this.cbMathCase.Text = "MATH_CASE";
|
this.cbMatchCase.Text = "MATCH_CASE";
|
||||||
this.cbMathCase.UseVisualStyleBackColor = true;
|
this.cbMatchCase.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// btReplace
|
// btReplace
|
||||||
//
|
//
|
||||||
|
|
@ -230,7 +230,7 @@ namespace VisualPascalABC
|
||||||
private System.Windows.Forms.Button btCancel;
|
private System.Windows.Forms.Button btCancel;
|
||||||
private System.Windows.Forms.GroupBox groupBox1;
|
private System.Windows.Forms.GroupBox groupBox1;
|
||||||
private System.Windows.Forms.CheckBox cbMathWord;
|
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 cbSearchUp;
|
||||||
private System.Windows.Forms.CheckBox cbUseRegex;
|
private System.Windows.Forms.CheckBox cbUseRegex;
|
||||||
private System.Windows.Forms.Button btReplace;
|
private System.Windows.Forms.Button btReplace;
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ namespace VisualPascalABC
|
||||||
resOffset = -1;
|
resOffset = -1;
|
||||||
//resLength = -1;
|
//resLength = -1;
|
||||||
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
|
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
|
||||||
if (!cbMathCase.Checked)
|
if (!cbMatchCase.Checked)
|
||||||
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
|
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
|
||||||
if (cbSearchUp.Checked)
|
if (cbSearchUp.Checked)
|
||||||
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
|
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
|
||||||
|
|
@ -205,7 +205,7 @@ namespace VisualPascalABC
|
||||||
if (findSuccess)
|
if (findSuccess)
|
||||||
{
|
{
|
||||||
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
|
System.Text.RegularExpressions.RegexOptions options = System.Text.RegularExpressions.RegexOptions.None;
|
||||||
if (!cbMathCase.Checked)
|
if (!cbMatchCase.Checked)
|
||||||
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
|
options = options | System.Text.RegularExpressions.RegexOptions.IgnoreCase;
|
||||||
if (cbSearchUp.Checked)
|
if (cbSearchUp.Checked)
|
||||||
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
|
options = options | System.Text.RegularExpressions.RegexOptions.RightToLeft;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ namespace VisualPascalABC
|
||||||
public bool RedirectConsoleIO = false;
|
public bool RedirectConsoleIO = false;
|
||||||
public bool ShowLineNums = false;
|
public bool ShowLineNums = false;
|
||||||
public bool EnableFolding = false; // SSM 4.09.08
|
public bool EnableFolding = false; // SSM 4.09.08
|
||||||
public bool ShowMathBraket = false;
|
public bool ShowMatchBraket = false;
|
||||||
public bool ConverTabsToSpaces = true;
|
public bool ConverTabsToSpaces = true;
|
||||||
public bool deleteEXEAfterExecute = false;
|
public bool deleteEXEAfterExecute = false;
|
||||||
public bool deletePDBAfterExecute = true;
|
public bool deletePDBAfterExecute = true;
|
||||||
|
|
@ -226,10 +226,10 @@ namespace VisualPascalABC
|
||||||
set { ShowLineNums = value; }
|
set { ShowLineNums = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VisualPascalABCPlugins.IUserOptions.ShowMathBraket
|
bool VisualPascalABCPlugins.IUserOptions.ShowMatchBraket
|
||||||
{
|
{
|
||||||
get { return ShowMathBraket; }
|
get { return ShowMatchBraket; }
|
||||||
set { ShowMathBraket = value; }
|
set { ShowMatchBraket = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
bool VisualPascalABCPlugins.IUserOptions.ShowQuickClassBrowserPanel
|
bool VisualPascalABCPlugins.IUserOptions.ShowQuickClassBrowserPanel
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ namespace VisualPascalABC
|
||||||
private string OptionsItemNameEditorFontFamily = "EditorFontFamily";
|
private string OptionsItemNameEditorFontFamily = "EditorFontFamily";
|
||||||
private string OptionsItemNameEditorFontSize = "EditorFontSize";
|
private string OptionsItemNameEditorFontSize = "EditorFontSize";
|
||||||
private string OptionsItemNameErrorsCursorPosStrategy = "ErrorsCursorPosStrategy";
|
private string OptionsItemNameErrorsCursorPosStrategy = "ErrorsCursorPosStrategy";
|
||||||
private string OptionsItemNameShowMathBracket = "ShowMathBracket";
|
private string OptionsItemNameShowMatchBracket = "ShowMatchBracket";
|
||||||
private string OptionsItemNameShowMatchOperatorBracket = "ShowMatchOperatorBracket";
|
private string OptionsItemNameShowMatchOperatorBracket = "ShowMatchOperatorBracket";
|
||||||
private string OptionsItemNameConvertTabsToSpaces = "ConvertTabsToSpaces";
|
private string OptionsItemNameConvertTabsToSpaces = "ConvertTabsToSpaces";
|
||||||
private string OptionsItemNameTabIdent = "TabIdent";
|
private string OptionsItemNameTabIdent = "TabIdent";
|
||||||
|
|
@ -170,8 +170,8 @@ namespace VisualPascalABC
|
||||||
UserOptions.DeleteEXEAfterExecute = Convert.ToBoolean(value);
|
UserOptions.DeleteEXEAfterExecute = Convert.ToBoolean(value);
|
||||||
if ((value = (string)Options[OptionsItemNameDeletePDBAfterExecute]) != null)
|
if ((value = (string)Options[OptionsItemNameDeletePDBAfterExecute]) != null)
|
||||||
UserOptions.DeletePDBAfterExecute = Convert.ToBoolean(value);
|
UserOptions.DeletePDBAfterExecute = Convert.ToBoolean(value);
|
||||||
if ((value = (string)Options[OptionsItemNameShowMathBracket]) != null)
|
if ((value = (string)Options[OptionsItemNameShowMatchBracket]) != null)
|
||||||
UserOptions.ShowMathBraket = Convert.ToBoolean(value);
|
UserOptions.ShowMatchBraket = Convert.ToBoolean(value);
|
||||||
if ((value = (string)Options[OptionsItemNameShowMatchOperatorBracket]) != null)
|
if ((value = (string)Options[OptionsItemNameShowMatchOperatorBracket]) != null)
|
||||||
UserOptions.HighlightOperatorBrackets = Convert.ToBoolean(value);
|
UserOptions.HighlightOperatorBrackets = Convert.ToBoolean(value);
|
||||||
if ((value = (string)Options[OptionsItemNameEditorFontFamily]) != null)
|
if ((value = (string)Options[OptionsItemNameEditorFontFamily]) != null)
|
||||||
|
|
@ -301,7 +301,7 @@ namespace VisualPascalABC
|
||||||
Options.Add(OptionsItemNameTabIdent, UserOptions.TabIndent);
|
Options.Add(OptionsItemNameTabIdent, UserOptions.TabIndent);
|
||||||
Options.Add(OptionsItemNameShowLinesNum, UserOptions.ShowLineNums);
|
Options.Add(OptionsItemNameShowLinesNum, UserOptions.ShowLineNums);
|
||||||
Options.Add(OptionsItemNameEnableFolding, UserOptions.EnableFolding); // SSM 4.09.08
|
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(OptionsItemNameShowMatchOperatorBracket, UserOptions.HighlightOperatorBrackets);
|
||||||
Options.Add(OptionsItemNameEditorFontFamily, UserOptions.CurrentFontFamily);
|
Options.Add(OptionsItemNameEditorFontFamily, UserOptions.CurrentFontFamily);
|
||||||
Options.Add(OptionsItemNameEditorFontSize, UserOptions.EditorFontSize);
|
Options.Add(OptionsItemNameEditorFontSize, UserOptions.EditorFontSize);
|
||||||
|
|
@ -339,8 +339,8 @@ namespace VisualPascalABC
|
||||||
si.TextEditor.EnableFolding = UserOptions.EnableFolding;
|
si.TextEditor.EnableFolding = UserOptions.EnableFolding;
|
||||||
si.TextEditor.UpdateFolding();
|
si.TextEditor.UpdateFolding();
|
||||||
}
|
}
|
||||||
if (si.TextEditor.ShowMatchingBracket != UserOptions.ShowMathBraket)
|
if (si.TextEditor.ShowMatchingBracket != UserOptions.ShowMatchBraket)
|
||||||
si.TextEditor.ShowMatchingBracket = UserOptions.ShowMathBraket;
|
si.TextEditor.ShowMatchingBracket = UserOptions.ShowMatchBraket;
|
||||||
if (si.FontSize != UserOptions.EditorFontSize)
|
if (si.FontSize != UserOptions.EditorFontSize)
|
||||||
si.FontSize = UserOptions.EditorFontSize;
|
si.FontSize = UserOptions.EditorFontSize;
|
||||||
if (si.TextEditor.ConvertTabsToSpaces != UserOptions.ConverTabsToSpaces)
|
if (si.TextEditor.ConvertTabsToSpaces != UserOptions.ConverTabsToSpaces)
|
||||||
|
|
|
||||||
|
|
@ -373,7 +373,7 @@ NAME=Text Editor
|
||||||
DESCRIPTION=Text Editor Options
|
DESCRIPTION=Text Editor Options
|
||||||
ERROR_CURSOR_POS=Position cursor by error
|
ERROR_CURSOR_POS=Position cursor by error
|
||||||
SHOW_LINES_NUM=Show line numbers
|
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
|
SHOW_MATCH_OPERATOR_BRACKET=Highlight matching operator bracket
|
||||||
ENABLE_FOLDING=Enable folding
|
ENABLE_FOLDING=Enable folding
|
||||||
FONT=Font
|
FONT=Font
|
||||||
|
|
@ -440,8 +440,8 @@ COPYRIGHT=
|
||||||
FORMTEXT=Find
|
FORMTEXT=Find
|
||||||
L_FIND=Find what:
|
L_FIND=Find what:
|
||||||
G_OPTIONS=Options
|
G_OPTIONS=Options
|
||||||
MATH_CASE=Match case
|
MATCH_CASE=Match case
|
||||||
MATH_WHOLE_WORD=Match whole word
|
MATCH_WHOLE_WORD=Match whole word
|
||||||
SEARCH_UP=Search up
|
SEARCH_UP=Search up
|
||||||
USE_REGEX=Regular expressions
|
USE_REGEX=Regular expressions
|
||||||
FINDNEXT=Find Next
|
FINDNEXT=Find Next
|
||||||
|
|
@ -452,8 +452,8 @@ FORMTEXT=Replace
|
||||||
L_FIND=Find what:
|
L_FIND=Find what:
|
||||||
L_REPLACETO=Replace to
|
L_REPLACETO=Replace to
|
||||||
G_OPTIONS=Options
|
G_OPTIONS=Options
|
||||||
MATH_CASE=Math case
|
MATCH_CASE=Match case
|
||||||
MATH_WHOLE_WORD=Math whole word
|
MATCH_WHOLE_WORD=Match whole word
|
||||||
SEARCH_UP=Search up
|
SEARCH_UP=Search up
|
||||||
USE_REGEX=Regular expressions
|
USE_REGEX=Regular expressions
|
||||||
FINDNEXT=Find Next
|
FINDNEXT=Find Next
|
||||||
|
|
|
||||||
|
|
@ -373,7 +373,7 @@ NAME=Редактор
|
||||||
DESCRIPTION=Настройки редактора
|
DESCRIPTION=Настройки редактора
|
||||||
ERROR_CURSOR_POS=При ошибке позиционировать курсор
|
ERROR_CURSOR_POS=При ошибке позиционировать курсор
|
||||||
SHOW_LINES_NUM=Показывать номера строк
|
SHOW_LINES_NUM=Показывать номера строк
|
||||||
SHOW_MATH_BRACKET=Подсвечивать парные скобки
|
SHOW_MATCH_BRACKET=Подсвечивать парные скобки
|
||||||
SHOW_MATCH_OPERATOR_BRACKET=Подсвечивать парные операторные скобки
|
SHOW_MATCH_OPERATOR_BRACKET=Подсвечивать парные операторные скобки
|
||||||
ENABLE_FOLDING=Разрешить сворачивание кода
|
ENABLE_FOLDING=Разрешить сворачивание кода
|
||||||
FONT_SIZE=Размер шрифта
|
FONT_SIZE=Размер шрифта
|
||||||
|
|
@ -440,8 +440,8 @@ COPYRIGHT=
|
||||||
FORMTEXT=Поиск
|
FORMTEXT=Поиск
|
||||||
L_FIND=Искать
|
L_FIND=Искать
|
||||||
G_OPTIONS=Параметры
|
G_OPTIONS=Параметры
|
||||||
MATH_CASE=Учитывать регистр
|
MATCH_CASE=Учитывать регистр
|
||||||
MATH_WHOLE_WORD=Слово целиком
|
MATCH_WHOLE_WORD=Слово целиком
|
||||||
SEARCH_UP=Искать вверх
|
SEARCH_UP=Искать вверх
|
||||||
USE_REGEX=Регулярные выражения
|
USE_REGEX=Регулярные выражения
|
||||||
FINDNEXT=Искать далее
|
FINDNEXT=Искать далее
|
||||||
|
|
@ -452,8 +452,8 @@ FORMTEXT=Замена
|
||||||
L_FIND=Искать
|
L_FIND=Искать
|
||||||
L_REPLACETO=Заменить на
|
L_REPLACETO=Заменить на
|
||||||
G_OPTIONS=Параметры поиска
|
G_OPTIONS=Параметры поиска
|
||||||
MATH_CASE=Учитывать регистр
|
MATCH_CASE=Учитывать регистр
|
||||||
MATH_WHOLE_WORD=Слово целиком
|
MATCH_WHOLE_WORD=Слово целиком
|
||||||
SEARCH_UP=Искать вверх
|
SEARCH_UP=Искать вверх
|
||||||
USE_REGEX=Регулярные выражения
|
USE_REGEX=Регулярные выражения
|
||||||
FINDNEXT=Искать далее
|
FINDNEXT=Искать далее
|
||||||
|
|
|
||||||
|
|
@ -367,7 +367,7 @@ NAME=Редактор
|
||||||
DESCRIPTION=Налаштування редактора
|
DESCRIPTION=Налаштування редактора
|
||||||
ERROR_CURSOR_POS=При помилці позиціонувати курсор
|
ERROR_CURSOR_POS=При помилці позиціонувати курсор
|
||||||
SHOW_LINES_NUM=Показувати номери рядків
|
SHOW_LINES_NUM=Показувати номери рядків
|
||||||
SHOW_MATH_BRACKET=Підсвічувати парні дужки
|
SHOW_MATCH_BRACKET=Підсвічувати парні дужки
|
||||||
SHOW_MATCH_OPERATOR_BRACKET=Підсвічувати парні операторні дужки
|
SHOW_MATCH_OPERATOR_BRACKET=Підсвічувати парні операторні дужки
|
||||||
ENABLE_FOLDING=Дозволити згортання коду
|
ENABLE_FOLDING=Дозволити згортання коду
|
||||||
FONT_SIZE=Розмір шрифту
|
FONT_SIZE=Розмір шрифту
|
||||||
|
|
@ -434,8 +434,8 @@ COPYRIGHT=
|
||||||
FORMTEXT=Пошук
|
FORMTEXT=Пошук
|
||||||
L_FIND=Шукати
|
L_FIND=Шукати
|
||||||
G_OPTIONS=Параметри
|
G_OPTIONS=Параметри
|
||||||
MATH_CASE=Враховувати регістр
|
MATCH_CASE=Враховувати регістр
|
||||||
MATH_WHOLE_WORD=Слово повністю
|
MATCH_WHOLE_WORD=Слово повністю
|
||||||
SEARCH_UP=Шукати вгору
|
SEARCH_UP=Шукати вгору
|
||||||
USE_REGEX=Регулярні вирази
|
USE_REGEX=Регулярні вирази
|
||||||
FINDNEXT=Шукати далі
|
FINDNEXT=Шукати далі
|
||||||
|
|
@ -446,8 +446,8 @@ FORMTEXT=Заміна
|
||||||
L_FIND=Шукати
|
L_FIND=Шукати
|
||||||
L_REPLACETO=Замінити на
|
L_REPLACETO=Замінити на
|
||||||
G_OPTIONS=Параметри пошуку
|
G_OPTIONS=Параметри пошуку
|
||||||
MATH_CASE=Враховувати регістр
|
MATCH_CASE=Враховувати регістр
|
||||||
MATH_WHOLE_WORD=Слово повністю
|
MATCH_WHOLE_WORD=Слово повністю
|
||||||
SEARCH_UP=Шукати вгору
|
SEARCH_UP=Шукати вгору
|
||||||
USE_REGEX=Регулярні вирази
|
USE_REGEX=Регулярні вирази
|
||||||
FINDNEXT=Шукати далі
|
FINDNEXT=Шукати далі
|
||||||
|
|
|
||||||
|
|
@ -373,7 +373,7 @@ NAME=文本编辑器
|
||||||
DESCRIPTION=文本编辑器选项
|
DESCRIPTION=文本编辑器选项
|
||||||
ERROR_CURSOR_POS=错误定位光标
|
ERROR_CURSOR_POS=错误定位光标
|
||||||
SHOW_LINES_NUM=显示行号
|
SHOW_LINES_NUM=显示行号
|
||||||
SHOW_MATH_BRACKET=高亮匹配括号
|
SHOW_MATCH_BRACKET=高亮匹配括号
|
||||||
SHOW_MATCH_OPERATOR_BRACKET=高亮匹配运算符括号
|
SHOW_MATCH_OPERATOR_BRACKET=高亮匹配运算符括号
|
||||||
ENABLE_FOLDING=启用折叠
|
ENABLE_FOLDING=启用折叠
|
||||||
FONT=字体
|
FONT=字体
|
||||||
|
|
@ -440,8 +440,8 @@ COPYRIGHT=
|
||||||
FORMTEXT=查找
|
FORMTEXT=查找
|
||||||
L_FIND=查找什么:
|
L_FIND=查找什么:
|
||||||
G_OPTIONS=选项
|
G_OPTIONS=选项
|
||||||
MATH_CASE=匹配大小写
|
MATCH_CASE=匹配大小写
|
||||||
MATH_WHOLE_WORD=匹配整个单词
|
MATCH_WHOLE_WORD=匹配整个单词
|
||||||
SEARCH_UP=向上搜索
|
SEARCH_UP=向上搜索
|
||||||
USE_REGEX=正则表达式
|
USE_REGEX=正则表达式
|
||||||
FINDNEXT=查找下一个
|
FINDNEXT=查找下一个
|
||||||
|
|
@ -452,8 +452,8 @@ FORMTEXT=替换
|
||||||
L_FIND=查找什么:
|
L_FIND=查找什么:
|
||||||
L_REPLACETO=替换为
|
L_REPLACETO=替换为
|
||||||
G_OPTIONS=选项
|
G_OPTIONS=选项
|
||||||
MATH_CASE=匹配大小写
|
MATCH_CASE=匹配大小写
|
||||||
MATH_WHOLE_WORD=匹配整个单词
|
MATCH_WHOLE_WORD=匹配整个单词
|
||||||
SEARCH_UP=向上搜索
|
SEARCH_UP=向上搜索
|
||||||
USE_REGEX=正则表达式
|
USE_REGEX=正则表达式
|
||||||
FINDNEXT=查找下一个
|
FINDNEXT=查找下一个
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue