]> gerrit.simantics Code Review - simantics/platform.git/commit
Limit SCL Console buffer size to 5M characters by default 31/3731/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 20 Dec 2019 11:15:56 +0000 (13:15 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 20 Dec 2019 11:15:56 +0000 (13:15 +0200)
commit501ad95ad5ca980ef4c6e65af1451a0d7b63cddc
treedec4eac8fa749c6dae7aa4253b416a1dedefadbc
parent6a8b529bc5ceff5f1455968c03e65d140ffb6e39
Limit SCL Console buffer size to 5M characters by default

Low watermark limit for the buffer size can be configured from the new
SCL / Console preference page. High watermark is always set to 100 80
character rows larger than the low watermark.

Buffer size limiting can also be disabled/enabled entirely from the same
preference page.

gitlab #104

Change-Id: I8be203e60ae49fce53c39a4d251d2575a64b2543
bundles/org.simantics.scl.ui/plugin.xml
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/AbstractCommandConsole.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/Messages.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/Preferences.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsolePreferenceInitializer.java [new file with mode: 0644]
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsolePreferencePage.java [new file with mode: 0644]
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/messages.properties
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/preference/SCLPreferencePage.java [new file with mode: 0644]