diff --git a/Crypto Notepad/Forms/MainForm.cs b/Crypto Notepad/Forms/MainForm.cs index b04fd0f..ea18e15 100644 --- a/Crypto Notepad/Forms/MainForm.cs +++ b/Crypto Notepad/Forms/MainForm.cs @@ -1628,9 +1628,7 @@ private void ReadOnlyMainMenu_Click(object sender, EventArgs e) private void InsertDateTimeMainMenu_Click(object sender, EventArgs e) { DateTime now = DateTime.Now; - richTextBox.Text += now.ToString(); - richTextBox.SelectionStart = richTextBox.Text.Length; - richTextBox.ScrollToCaret(); + richTextBox.SelectedText = now.ToString(); richTextBox.Modified = true; if (!Text.Contains("*")) { diff --git a/Crypto Notepad/Properties/AssemblyInfo.cs b/Crypto Notepad/Properties/AssemblyInfo.cs index 803955b..5286408 100644 --- a/Crypto Notepad/Properties/AssemblyInfo.cs +++ b/Crypto Notepad/Properties/AssemblyInfo.cs @@ -33,4 +33,4 @@ // используя "*", как показано ниже: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.7.1.0")] +[assembly: AssemblyFileVersion("1.7.2.0")] diff --git a/Crypto-Notepad-Update.zip b/Crypto-Notepad-Update.zip index c1f0dd0..776ca7c 100644 Binary files a/Crypto-Notepad-Update.zip and b/Crypto-Notepad-Update.zip differ diff --git a/version.txt b/version.txt index af30708..a8f0717 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.7.1.0 +1.7.2.0