]> 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:34:14 +0000 (20:34 +0300)
commit36e865dac0ec2db530fabc6fd9ea9841c3e812ae
tree9dd8ca931906cd7562ec9b1a0b3689918abd5039
parent06aeb7cad707d1fed2c21c1ad9413aa97e901da7
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
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