|
@@ -1244,7 +1244,7 @@ return textarea;
|
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
|
|
|
|
|
|
}));
|
|
|
-self._setEditorOn_($recv(textarea)._element());
|
|
|
+self._setEditorOn_($recv(textarea)._asDomNode());
|
|
|
$recv(self["@div"])._onKeyDown_((function(e){
|
|
|
|
|
|
return $core.withContext(function($ctx2) {
|
|
@@ -1261,10 +1261,10 @@ return self;
|
|
|
},
|
|
|
|
|
|
args: ["html"],
|
|
|
-source: "renderOn: html\x0a\x09| textarea |\x0a\x09div := html div class: 'source'.\x0a\x09div with: [ textarea := html textarea ].\x0a\x09self setEditorOn: textarea element.\x0a\x09div onKeyDown: [ :e | self handleKeyDown: e ]",
|
|
|
+source: "renderOn: html\x0a\x09| textarea |\x0a\x09div := html div class: 'source'.\x0a\x09div with: [ textarea := html textarea ].\x0a\x09self setEditorOn: textarea asDomNode.\x0a\x09div onKeyDown: [ :e | self handleKeyDown: e ]",
|
|
|
referencedClasses: [],
|
|
|
|
|
|
-messageSends: ["class:", "div", "with:", "textarea", "setEditorOn:", "element", "onKeyDown:", "handleKeyDown:"]
|
|
|
+messageSends: ["class:", "div", "with:", "textarea", "setEditorOn:", "asDomNode", "onKeyDown:", "handleKeyDown:"]
|
|
|
}),
|
|
|
$globals.SourceArea);
|
|
|
|