From dadd94687be302ccb0a5880f9126f3a1d85e36f7 Mon Sep 17 00:00:00 2001 From: Maurice Beckman Date: Thu, 20 Nov 2025 13:23:34 +0100 Subject: [PATCH] Replace indicated text with random strings --- .../Forms/ConfigAndGenerate.Designer.cs | 126 +++++++++++++----- .../Forms/ConfigAndGenerate.cs | 67 ++++++++-- .../Modules/StringGenerator.cs | 27 +++- .../Properties/AssemblyInfo.cs | 6 +- nppRandomStringGenerator/Storage/Settings.cs | 4 +- .../nppRandomStringGeneratorSettings.ini | 4 +- 6 files changed, 180 insertions(+), 54 deletions(-) diff --git a/nppRandomStringGenerator/Forms/ConfigAndGenerate.Designer.cs b/nppRandomStringGenerator/Forms/ConfigAndGenerate.Designer.cs index f2c8026..0c259de 100644 --- a/nppRandomStringGenerator/Forms/ConfigAndGenerate.Designer.cs +++ b/nppRandomStringGenerator/Forms/ConfigAndGenerate.Designer.cs @@ -60,6 +60,9 @@ private void InitializeComponent() this.label13 = new System.Windows.Forms.Label(); this.RadioButtonCurrent = new System.Windows.Forms.RadioButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.label23 = new System.Windows.Forms.Label(); + this.TextBoxReplace = new System.Windows.Forms.TextBox(); + this.RadioButtonReplace = new System.Windows.Forms.RadioButton(); this.label14 = new System.Windows.Forms.Label(); this.TextboxSeperator = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); @@ -85,10 +88,11 @@ private void InitializeComponent() this.NumericUpDownGUIDQuantity = new System.Windows.Forms.NumericUpDown(); this.label17 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label(); - this.CheckboxDarkMode = new System.Windows.Forms.CheckBox(); this.tabPageAdvanced = new System.Windows.Forms.TabPage(); - this.label22 = new System.Windows.Forms.Label(); this.numericUpDownCores = new System.Windows.Forms.NumericUpDown(); + this.label22 = new System.Windows.Forms.Label(); + this.CheckboxDarkMode = new System.Windows.Forms.CheckBox(); + this.LabelCount = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.NumericUpDownLength)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NumericUpDownQuantity)).BeginInit(); this.groupBox1.SuspendLayout(); @@ -237,7 +241,7 @@ private void InitializeComponent() this.CheckboxUppercase.CheckState = System.Windows.Forms.CheckState.Checked; this.CheckboxUppercase.Location = new System.Drawing.Point(179, 127); this.CheckboxUppercase.Name = "CheckboxUppercase"; - this.CheckboxUppercase.Size = new System.Drawing.Size(116, 17); + this.CheckboxUppercase.Size = new System.Drawing.Size(117, 17); this.CheckboxUppercase.TabIndex = 8; this.CheckboxUppercase.Text = "( e.g. ABCDEFGH )"; this.CheckboxUppercase.UseVisualStyleBackColor = true; @@ -248,7 +252,7 @@ private void InitializeComponent() this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(15, 149); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(109, 13); + this.label6.Size = new System.Drawing.Size(110, 13); this.label6.TabIndex = 11; this.label6.Text = "Begin With A Letter:"; // @@ -362,7 +366,7 @@ private void InitializeComponent() // this.ButtonGenerate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ButtonGenerate.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ButtonGenerate.Location = new System.Drawing.Point(275, 406); + this.ButtonGenerate.Location = new System.Drawing.Point(275, 440); this.ButtonGenerate.Name = "ButtonGenerate"; this.ButtonGenerate.Size = new System.Drawing.Size(120, 25); this.ButtonGenerate.TabIndex = 23; @@ -405,7 +409,7 @@ private void InitializeComponent() this.linkLabel1.AutoSize = true; this.linkLabel1.Font = new System.Drawing.Font("Segoe UI", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.AlwaysUnderline; - this.linkLabel1.Location = new System.Drawing.Point(296, 341); + this.linkLabel1.Location = new System.Drawing.Point(296, 375); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(58, 12); this.linkLabel1.TabIndex = 36; @@ -457,18 +461,55 @@ private void InitializeComponent() // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.groupBox1.Controls.Add(this.LabelCount); + this.groupBox1.Controls.Add(this.label23); + this.groupBox1.Controls.Add(this.TextBoxReplace); + this.groupBox1.Controls.Add(this.RadioButtonReplace); this.groupBox1.Controls.Add(this.label14); this.groupBox1.Controls.Add(this.TextboxSeperator); this.groupBox1.Controls.Add(this.RadioButtonNew); this.groupBox1.Controls.Add(this.RadioButtonCurrent); this.groupBox1.Controls.Add(this.RadioButtonInline); - this.groupBox1.Location = new System.Drawing.Point(4, 333); + this.groupBox1.Location = new System.Drawing.Point(4, 332); this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(265, 98); + this.groupBox1.Size = new System.Drawing.Size(265, 133); this.groupBox1.TabIndex = 30; this.groupBox1.TabStop = false; this.groupBox1.Text = "Generate to:"; // + // label23 + // + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(27, 109); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(137, 13); + this.label23.TabIndex = 34; + this.label23.Text = "replacement placeholder:"; + // + // TextBoxReplace + // + this.TextBoxReplace.Enabled = false; + this.TextBoxReplace.Location = new System.Drawing.Point(168, 106); + this.TextBoxReplace.Margin = new System.Windows.Forms.Padding(1); + this.TextBoxReplace.MaxLength = 1; + this.TextBoxReplace.Name = "TextBoxReplace"; + this.TextBoxReplace.Size = new System.Drawing.Size(73, 22); + this.TextBoxReplace.TabIndex = 33; + this.TextBoxReplace.Text = "{{REPLACE}}"; + this.TextBoxReplace.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.TextBoxReplace.TextChanged += new System.EventHandler(this.TextBoxReplace_TextChanged); + // + // RadioButtonReplace + // + this.RadioButtonReplace.AutoSize = true; + this.RadioButtonReplace.Location = new System.Drawing.Point(11, 89); + this.RadioButtonReplace.Name = "RadioButtonReplace"; + this.RadioButtonReplace.Size = new System.Drawing.Size(162, 17); + this.RadioButtonReplace.TabIndex = 32; + this.RadioButtonReplace.Text = "Current document, replace"; + this.RadioButtonReplace.UseVisualStyleBackColor = true; + this.RadioButtonReplace.CheckedChanged += new System.EventHandler(this.RadioButtonReplace_CheckedChanged); + // // label14 // this.label14.AutoSize = true; @@ -513,7 +554,7 @@ private void InitializeComponent() this.CheckboxCloseNoMessage.Checked = true; this.CheckboxCloseNoMessage.CheckState = System.Windows.Forms.CheckState.Checked; this.CheckboxCloseNoMessage.Font = new System.Drawing.Font("Segoe UI", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.CheckboxCloseNoMessage.Location = new System.Drawing.Point(278, 356); + this.CheckboxCloseNoMessage.Location = new System.Drawing.Point(278, 390); this.CheckboxCloseNoMessage.Name = "CheckboxCloseNoMessage"; this.CheckboxCloseNoMessage.Size = new System.Drawing.Size(135, 16); this.CheckboxCloseNoMessage.TabIndex = 34; @@ -527,7 +568,7 @@ private void InitializeComponent() this.CheckboxSaveOnClose.Checked = true; this.CheckboxSaveOnClose.CheckState = System.Windows.Forms.CheckState.Checked; this.CheckboxSaveOnClose.Font = new System.Drawing.Font("Segoe UI", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.CheckboxSaveOnClose.Location = new System.Drawing.Point(275, 341); + this.CheckboxSaveOnClose.Location = new System.Drawing.Point(275, 375); this.CheckboxSaveOnClose.Name = "CheckboxSaveOnClose"; this.CheckboxSaveOnClose.Size = new System.Drawing.Size(15, 14); this.CheckboxSaveOnClose.TabIndex = 35; @@ -636,7 +677,7 @@ private void InitializeComponent() this.ButtonCancel.Enabled = false; this.ButtonCancel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ButtonCancel.ForeColor = System.Drawing.Color.White; - this.ButtonCancel.Location = new System.Drawing.Point(398, 407); + this.ButtonCancel.Location = new System.Drawing.Point(398, 441); this.ButtonCancel.Margin = new System.Windows.Forms.Padding(0); this.ButtonCancel.Name = "ButtonCancel"; this.ButtonCancel.Size = new System.Drawing.Size(54, 24); @@ -827,21 +868,6 @@ private void InitializeComponent() this.label18.TabIndex = 31; this.label18.Text = "(min:1, max:4.096.000)"; // - // CheckboxDarkMode - // - this.CheckboxDarkMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.CheckboxDarkMode.AutoSize = true; - this.CheckboxDarkMode.Checked = true; - this.CheckboxDarkMode.CheckState = System.Windows.Forms.CheckState.Checked; - this.CheckboxDarkMode.Font = new System.Drawing.Font("Segoe UI", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.CheckboxDarkMode.Location = new System.Drawing.Point(278, 373); - this.CheckboxDarkMode.Name = "CheckboxDarkMode"; - this.CheckboxDarkMode.Size = new System.Drawing.Size(67, 16); - this.CheckboxDarkMode.TabIndex = 45; - this.CheckboxDarkMode.Text = "Dark Mode"; - this.CheckboxDarkMode.UseVisualStyleBackColor = true; - this.CheckboxDarkMode.Visible = false; - // // tabPageAdvanced // this.tabPageAdvanced.Controls.Add(this.numericUpDownCores); @@ -853,15 +879,6 @@ private void InitializeComponent() this.tabPageAdvanced.TabIndex = 2; this.tabPageAdvanced.Text = "Advanced"; // - // label22 - // - this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(8, 8); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(59, 13); - this.label22.TabIndex = 0; - this.label22.Text = "Use cores:"; - // // numericUpDownCores // this.numericUpDownCores.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -885,6 +902,39 @@ private void InitializeComponent() 0, 0}); // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(8, 8); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(59, 13); + this.label22.TabIndex = 0; + this.label22.Text = "Use cores:"; + // + // CheckboxDarkMode + // + this.CheckboxDarkMode.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.CheckboxDarkMode.AutoSize = true; + this.CheckboxDarkMode.Checked = true; + this.CheckboxDarkMode.CheckState = System.Windows.Forms.CheckState.Checked; + this.CheckboxDarkMode.Font = new System.Drawing.Font("Segoe UI", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.CheckboxDarkMode.Location = new System.Drawing.Point(278, 407); + this.CheckboxDarkMode.Name = "CheckboxDarkMode"; + this.CheckboxDarkMode.Size = new System.Drawing.Size(67, 16); + this.CheckboxDarkMode.TabIndex = 45; + this.CheckboxDarkMode.Text = "Dark Mode"; + this.CheckboxDarkMode.UseVisualStyleBackColor = true; + this.CheckboxDarkMode.Visible = false; + // + // LabelCount + // + this.LabelCount.AutoSize = true; + this.LabelCount.Location = new System.Drawing.Point(167, 92); + this.LabelCount.Name = "LabelCount"; + this.LabelCount.Size = new System.Drawing.Size(73, 13); + this.LabelCount.TabIndex = 35; + this.LabelCount.Text = "0 occurences"; + // // ConfigAndGenerate // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -892,7 +942,7 @@ private void InitializeComponent() this.AutoSize = true; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.BackColor = System.Drawing.SystemColors.Control; - this.ClientSize = new System.Drawing.Size(464, 438); + this.ClientSize = new System.Drawing.Size(464, 472); this.Controls.Add(this.CheckboxDarkMode); this.Controls.Add(this.TabControl1); this.Controls.Add(this.ButtonCancel); @@ -994,5 +1044,9 @@ private void InitializeComponent() private System.Windows.Forms.TabPage tabPageAdvanced; private System.Windows.Forms.NumericUpDown numericUpDownCores; private System.Windows.Forms.Label label22; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.TextBox TextBoxReplace; + private System.Windows.Forms.RadioButton RadioButtonReplace; + private System.Windows.Forms.Label LabelCount; } } \ No newline at end of file diff --git a/nppRandomStringGenerator/Forms/ConfigAndGenerate.cs b/nppRandomStringGenerator/Forms/ConfigAndGenerate.cs index e93c9fd..42459ef 100644 --- a/nppRandomStringGenerator/Forms/ConfigAndGenerate.cs +++ b/nppRandomStringGenerator/Forms/ConfigAndGenerate.cs @@ -30,8 +30,8 @@ public partial class ConfigAndGenerate : Form new KeyValuePair("X", "Four hexadecimal values enclosed in braces, where the fourth value is a subset of eight hexadecimal values that is also enclosed in braces:\r\n\r\nExample: {0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}") }; - - + + public Settings settings { get; set; } @@ -51,7 +51,7 @@ public void LoadSettings() { foreach (nppRandomStringGenerator.Storage.Models.ConfigItem configitem in settings.settings.ConfigItems) { - if (configitem == null || configitem.Name.StartsWith("Quick")) { continue; } + if (configitem == null || configitem.Name.StartsWith("Quick")) { continue; } Control ctrl = this.Controls.Find(configitem.Name, true).FirstOrDefault(); @@ -191,7 +191,9 @@ private async void ButtonGenerate_Click(Object sender, EventArgs e) DoGuids = TabControl1.SelectedTab == TabPageGUID, GuidFormat = ComboBoxGUIDFormat.Text, GuidQuantity = (int)NumericUpDownGUIDQuantity.Value, - Cores = (int)numericUpDownCores.Value + Cores = (int)numericUpDownCores.Value, + IsReplace = RadioButtonReplace.Checked, + TextReplace = TextBoxReplace.Text }; ButtonGenerate.Enabled = false; @@ -203,7 +205,8 @@ private async void ButtonGenerate_Click(Object sender, EventArgs e) ButtonCancel.Enabled = false; ButtonGenerate.Enabled = true; - if (!this.CheckboxCloseNoMessage.Checked) { + if (!this.CheckboxCloseNoMessage.Checked) + { if (Generator.IsCancelled) { MessageBox.Show($"The generation was cancelled after {Generator.ProcessTime.TotalSeconds} seconds."); @@ -213,7 +216,7 @@ private async void ButtonGenerate_Click(Object sender, EventArgs e) MessageBox.Show($"Strings are generated in {Generator.ProcessTime.TotalSeconds} seconds."); } } - + if (this.CheckboxSaveOnClose.Checked) { SaveSettings(); } this.Close(); } @@ -227,12 +230,13 @@ private async void ButtonGenerate_Click(Object sender, EventArgs e) private void NumericUpDownQuantity_ValueChanged(object sender, EventArgs e) { - if ( NumericUpDownQuantity.Value > 1024000) + if (NumericUpDownQuantity.Value > 1024000) { toolTip1.Active = true; toolTip1.SetToolTip(NumericUpDownQuantity, "This could take a while depending on your hardware."); NumericUpDownQuantity.ForeColor = Color.Red; - } else + } + else { toolTip1.Active = false; NumericUpDownQuantity.ForeColor = Color.Black; @@ -289,7 +293,7 @@ private void doRandom_CheckedChanged(object sender, EventArgs e) { NumericUpDownRandomMin.Enabled = CheckboxDoRandom.Checked; NumericUpDownRandomMax.Enabled = CheckboxDoRandom.Checked; - NumericUpDownLength.Enabled = !CheckboxDoRandom.Checked; + NumericUpDownLength.Enabled = !CheckboxDoRandom.Checked; } private void nudRandomMin_Validating(object sender, System.ComponentModel.CancelEventArgs e) @@ -369,5 +373,50 @@ private void bReset_Click(object sender, EventArgs e) { TextboxSymbols.Text = "!@#$%^&*()_+-=[]{};':,.<>?"; } + + private void RadioButtonReplace_CheckedChanged(object sender, EventArgs e) + { + if (RadioButtonReplace.Checked) + { + int ReplacementCount = this.GetReplacementCount(); + LabelCount.Text = $"{ReplacementCount} occurrences"; + NumericUpDownQuantity.Enabled = false; + NumericUpDownQuantity.Maximum = this.Editor.GetLineCount(); + NumericUpDownQuantity.Value = this.Editor.GetLineCount(); + TextBoxReplace.Enabled = true; + + NumericUpDownGUIDQuantity.Enabled = false; + NumericUpDownGUIDQuantity.Maximum = this.Editor.GetLineCount(); + NumericUpDownGUIDQuantity.Value = this.Editor.GetLineCount(); + } + else + { + NumericUpDownQuantity.Maximum = 4096000; + NumericUpDownQuantity.Enabled = true; + TextBoxReplace.Enabled = false; + + NumericUpDownGUIDQuantity.Maximum = 4096000; + NumericUpDownGUIDQuantity.Enabled = true; + } + } + + private int GetReplacementCount() + { + string sourceText = this.Editor.GetText(); + string searchText = TextBoxReplace.Text; + + int count = (sourceText.Length - sourceText.Replace(searchText, "").Length) / searchText.Length; + + return count; + } + + private void TextBoxReplace_TextChanged(object sender, EventArgs e) + { + if (RadioButtonReplace.Checked && TextBoxReplace.Text.Length > 0) + { + int ReplacementCount = this.GetReplacementCount(); + LabelCount.Text = $"{ReplacementCount} occurrences"; + } + } } } diff --git a/nppRandomStringGenerator/Modules/StringGenerator.cs b/nppRandomStringGenerator/Modules/StringGenerator.cs index ba6f6bd..eeafb61 100644 --- a/nppRandomStringGenerator/Modules/StringGenerator.cs +++ b/nppRandomStringGenerator/Modules/StringGenerator.cs @@ -25,8 +25,10 @@ internal class StringGenerator public string Prefix { get; set; } public string Suffix { get; set; } public bool IsInline { get; set; } + public bool IsReplace { get; set; } public bool IsCancelled { get; set; } public string TextSeperator { get; set; } + public string TextReplace { get; set; } public bool DoGuids { get; set; } public string GuidFormat { get; set; } public int GuidQuantity { get; set; } @@ -67,7 +69,7 @@ public void GenerateStrings() MaxDegreeOfParallelism = Cores }; - if (this.IsInline) + if (this.IsInline || this.IsReplace) { AllLines = this.Editor.GetText().Split(new string[] { Environment.NewLine }, StringSplitOptions.None); } @@ -122,6 +124,13 @@ public void GenerateStrings() sb.Clear(); } + else if (this.IsReplace) { + int line = i * internalWorkload + w; + + if (i > 0) line += MissingWorkload; + + AllLines[line] = AllLines[line].Replace(TextReplace, Guid.NewGuid().ToString(this.GuidFormat)); + } else { sb.AppendLine(Guid.NewGuid().ToString(this.GuidFormat)); @@ -203,7 +212,19 @@ public void GenerateStrings() sb.Clear(); } - else + else if (this.IsReplace) + { + int line = i * internalWorkload + w; + if (i > 0) line += MissingWorkload; + string newString = sb.ToString(); + if (this.Suffix.Length > 0) + { + newString += this.Suffix; + } + AllLines[line] = AllLines[line].Replace(TextReplace, newString); + sb.Clear(); + } + else { if (this.Suffix.Length > 0) { @@ -231,7 +252,7 @@ public void GenerateStrings() } - if (this.IsInline) + if (this.IsInline || this.IsReplace) { int totalLength = 0; for (int i = 0; i < this.AllLines.Length; i++) diff --git a/nppRandomStringGenerator/Properties/AssemblyInfo.cs b/nppRandomStringGenerator/Properties/AssemblyInfo.cs index a69e248..3c36136 100644 --- a/nppRandomStringGenerator/Properties/AssemblyInfo.cs +++ b/nppRandomStringGenerator/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("CMBSolutions")] [assembly: AssemblyProduct("nppRandomStringGenerator")] -[assembly: AssemblyCopyright("Copyright © CMBSolutions 2021 - 2025")] +[assembly: AssemblyCopyright("Copyright © CMBSolutions 2021 - 2026")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.9.7")] -[assembly: AssemblyFileVersion("1.9.7")] +[assembly: AssemblyVersion("1.9.8")] +[assembly: AssemblyFileVersion("1.9.8")] diff --git a/nppRandomStringGenerator/Storage/Settings.cs b/nppRandomStringGenerator/Storage/Settings.cs index 0ae1038..3f2dc7a 100644 --- a/nppRandomStringGenerator/Storage/Settings.cs +++ b/nppRandomStringGenerator/Storage/Settings.cs @@ -45,7 +45,7 @@ public void Load(bool reset = false) settings = DeserializeIni(FilePath); - if (settings.Appversion != "1.9.7") + if (settings.Appversion != "1.9.8") { SettingsModel defaults = DeserializeIniFromString(Resources.nppRandomStringGeneratorSettings); @@ -57,7 +57,7 @@ public void Load(bool reset = false) } } settings.Appname = "nppRandomStringGenerator"; - settings.Appversion = "1.9.7"; + settings.Appversion = "1.9.8"; } //else //{ diff --git a/nppRandomStringGenerator/Storage/nppRandomStringGeneratorSettings.ini b/nppRandomStringGenerator/Storage/nppRandomStringGeneratorSettings.ini index ba83db8..b4b3487 100644 --- a/nppRandomStringGenerator/Storage/nppRandomStringGeneratorSettings.ini +++ b/nppRandomStringGenerator/Storage/nppRandomStringGeneratorSettings.ini @@ -1,5 +1,5 @@ appname=nppRandomStringGenerator -appversion=1.9.6 +appversion=1.9.8 NumericUpDownLength=32 NumericUpDownQuantity=8 CheckboxNumbers=true @@ -28,3 +28,5 @@ ComboBoxGUIDFormat=D TabControl1=0 CheckboxDarkMode=True QuickGuidFormat=radioD +TextboxReplace={{REPLACE}} +RadioButtonReplace=false