Offray Vladimir Luna Cárdenas 2019-05-06 20:14:29 +00:00 committed by SantiagoBragagnolo
parent b6666af1ab
commit 53b6968037
1 changed files with 2 additions and 4 deletions

View File

@ -75,16 +75,14 @@ GrafoscopioNotebook >> addNode [
{ #category : #operation }
GrafoscopioNotebook >> autoSaveBodyOf: aNode [
| playground |
body body class = TextModel
self body class = TextModel
ifTrue: [ body body whenTextChanged: [ :arg | aNode body: arg ] ].
body body class = GlamourPresentationModel
ifFalse: [ ^ self ].
playground := body body glmPres.
playground
onChangeOfPort: #text
act: [ :x | aNode body: (x pane port: #text) value ]";
onChangeOfPort: #activePresentation
act: [ aNode output: aNode processOutput ]"
act: [ :x | aNode body: (x pane port: #entity) value content ]
]
{ #category : #accessing }