added option editor_syslog_limit;
authorwenzelm
Wed, 13 Aug 2014 20:21:04 +0200
changeset 57974 ba0b6c2338f0
parent 57973 decf2e9289ab
child 57975 c657c68a60ab
added option editor_syslog_limit;
etc/options
src/Tools/jEdit/src/plugin.scala
--- a/etc/options	Wed Aug 13 20:08:29 2014 +0200
+++ b/etc/options	Wed Aug 13 20:21:04 2014 +0200
@@ -138,6 +138,9 @@
 option editor_execution_delay : real = 0.02
   -- "delay for start of execution process after document update (seconds)"
 
+option editor_syslog_limit : int = 100
+  -- "maximum amount of buffered syslog messages"
+
 
 section "Miscellaneous Tools"
 
--- a/src/Tools/jEdit/src/plugin.scala	Wed Aug 13 20:08:29 2014 +0200
+++ b/src/Tools/jEdit/src/plugin.scala	Wed Aug 13 20:21:04 2014 +0200
@@ -392,6 +392,7 @@
       PIDE.session = new Session(resources) {
         override def output_delay = PIDE.options.seconds("editor_output_delay")
         override def prune_delay = PIDE.options.seconds("editor_prune_delay")
+        override def syslog_limit = PIDE.options.int("editor_syslog_limit")
         override def reparse_limit = PIDE.options.int("editor_reparse_limit")
       }