swapDoc method
Attach a new document to the editor.
Implementation
void swapDoc(Doc doc) {
_doc = doc;
callArg('swapDoc', doc.jsProxy);
}
Attach a new document to the editor.
void swapDoc(Doc doc) {
_doc = doc;
callArg('swapDoc', doc.jsProxy);
}