]> gerrit.simantics Code Review - simantics/platform.git/commit
UC SCL script/procedural code editors respect L0.readOnly
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 24 Apr 2020 17:34:14 +0000 (20:34 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 24 Apr 2020 17:36:14 +0000 (20:36 +0300)
commit038523cdff2fdf0d2f2c7e2df1d2896aabb4796c
treee15d3330809de247fac8f667acf8e8c49e2d6fb7
parent6996ed988ca3c93f58ba8a8339bb2f34897fc1d1
UC SCL script/procedural code editors respect L0.readOnly

Marking the input resource with L0.readOnly now makes the editors
consider the input immutable in the document provider.

gitlab #526

(cherry picked from commit 36e865dac0ec2db530fabc6fd9ea9841c3e812ae)
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeScriptDocumentProvider.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ComponentTypeScriptEditor.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/ProceduralComponentTypeCodeDocumentProvider.java