From f32608582bb8b20b235e941d72848595865ff675 Mon Sep 17 00:00:00 2001 From: Rahman Usta Date: Sat, 5 Nov 2016 16:20:03 +0200 Subject: [PATCH] disable docbook validation by default --- src/main/java/com/kodcu/config/EditorConfigBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/kodcu/config/EditorConfigBean.java b/src/main/java/com/kodcu/config/EditorConfigBean.java index 9ee5ba92e..97a7559d2 100644 --- a/src/main/java/com/kodcu/config/EditorConfigBean.java +++ b/src/main/java/com/kodcu/config/EditorConfigBean.java @@ -60,7 +60,7 @@ public class EditorConfigBean extends ConfigurationBase { private ObjectProperty wrapLimit = new SimpleObjectProperty<>(0); private BooleanProperty showGutter = new SimpleBooleanProperty(false); private BooleanProperty autoUpdate = new SimpleBooleanProperty(true); - private BooleanProperty validateDocbook = new SimpleBooleanProperty(true); + private BooleanProperty validateDocbook = new SimpleBooleanProperty(false); private StringProperty clipboardImageFilePattern = new SimpleStringProperty("'Image'-ddMMyy-hhmmss.SSS'.png'"); private DoubleProperty screenX = new SimpleDoubleProperty(0); private DoubleProperty screenY = new SimpleDoubleProperty(0); @@ -408,7 +408,7 @@ public void load(ActionEvent... actionEvent) { boolean showGutter = jsonObject.getBoolean("showGutter", false); int wrapLimit = jsonObject.getInt("wrapLimit", 0); boolean autoUpdate = jsonObject.getBoolean("autoUpdate", true); - final boolean validateDocbook = jsonObject.getBoolean("validateDocbook", true); + final boolean validateDocbook = jsonObject.getBoolean("validateDocbook", false); String clipboardImageFilePattern = jsonObject.getString("clipboardImageFilePattern", "'Image'-ddMMyy-hhmmss.SSS'.png'"); String foldStyle = jsonObject.getString("foldStyle", "default"); int hangFileSizeLimit = jsonObject.getInt("hangFileSizeLimit", 3);