src/Tools/jEdit/src/jedit_editor.scala
changeset 64524 e6a3c55b929b
parent 64521 1aef5a0e18d7
child 64612 08e4b1aeac50
--- a/src/Tools/jEdit/src/jedit_editor.scala	Thu Nov 24 11:33:55 2016 +0100
+++ b/src/Tools/jEdit/src/jedit_editor.scala	Thu Nov 24 15:21:54 2016 +0100
@@ -44,14 +44,14 @@
     session.update(doc_blobs, edits)
   }
 
-  private val delay_flush =
+  private val delay1_flush =
     GUI_Thread.delay_last(PIDE.options.seconds("editor_input_delay")) { flush() }
 
-  private val delay_update_flush =
-    GUI_Thread.delay_first(Time.seconds(PIDE.options.real("editor_update_delay") * 3.0)) { flush() }
+  private val delay2_flush =
+    GUI_Thread.delay_first(PIDE.options.seconds("editor_generated_input_delay")) { flush() }
 
-  def invoke(): Unit = delay_flush.invoke()
-  def invoke_update(): Unit = { delay_flush.invoke(); delay_update_flush.invoke() }
+  def invoke(): Unit = delay1_flush.invoke()
+  def invoke_generated(): Unit = { delay1_flush.invoke(); delay2_flush.invoke() }
 
   def stable_tip_version(): Option[Document.Version] =
     GUI_Thread.require {