OSDN Git Service

タイマーを止めないと再入されることがある
authortest <test@yahoo.co.jp>
Sat, 9 Mar 2019 15:52:20 +0000 (00:52 +0900)
committertest <test@yahoo.co.jp>
Sat, 9 Mar 2019 15:52:20 +0000 (00:52 +0900)
UWP/FooEditEngine.UWP/FooTextBox.cs
UWP/FooEditEngine.UWP/Properties/AssemblyInfo.cs

index 52ae529..c0f8e31 100644 (file)
@@ -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)
index ec7ac4d..e3b91ae 100644 (file)
@@ -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