From: test Date: Sat, 9 Mar 2019 15:52:20 +0000 (+0900) Subject: タイマーを止めないと再入されることがある X-Git-Url: http://git.osdn.net/view?p=fooeditengine%2FFooEditEngine.git;a=commitdiff_plain;h=e5103bb084358b230004488a7b86a4235dda7359 タイマーを止めないと再入されることがある --- diff --git a/UWP/FooEditEngine.UWP/FooTextBox.cs b/UWP/FooEditEngine.UWP/FooTextBox.cs index 52ae529..c0f8e31 100644 --- a/UWP/FooEditEngine.UWP/FooTextBox.cs +++ b/UWP/FooEditEngine.UWP/FooTextBox.cs @@ -1319,10 +1319,12 @@ namespace FooEditEngine.UWP void timer_Tick(object sender, object e) { + this.timer.Stop(); if (this.View.LayoutLines.HilightAll() || this.View.LayoutLines.GenerateFolding() || this.Document.IsRequestRedraw) { this.Refresh(this.View.PageBound); } + this.timer.Start(); } private void SetDocument(Document value) diff --git a/UWP/FooEditEngine.UWP/Properties/AssemblyInfo.cs b/UWP/FooEditEngine.UWP/Properties/AssemblyInfo.cs index ec7ac4d..e3b91ae 100644 --- a/UWP/FooEditEngine.UWP/Properties/AssemblyInfo.cs +++ b/UWP/FooEditEngine.UWP/Properties/AssemblyInfo.cs @@ -24,6 +24,6 @@ using System.Runtime.InteropServices; // 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.1.2.2")] -[assembly: AssemblyFileVersion("1.1.2.2")] +[assembly: AssemblyVersion("1.1.2.3")] +[assembly: AssemblyFileVersion("1.1.2.3")] [assembly: ComVisible(false)] \ No newline at end of file