diff options
Diffstat (limited to 'js/io/document/html-document.js')
-rwxr-xr-x | js/io/document/html-document.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/io/document/html-document.js b/js/io/document/html-document.js index c44dfe75..fc7dd05b 100755 --- a/js/io/document/html-document.js +++ b/js/io/document/html-document.js | |||
@@ -36,6 +36,13 @@ var HTMLDocument = exports.HTMLDocument = Montage.create(baseDocumentModule.Base | |||
36 | 36 | ||
37 | _zoomFactor: { value: 100, enumerable: false }, | 37 | _zoomFactor: { value: 100, enumerable: false }, |
38 | 38 | ||
39 | _codeEditor: { | ||
40 | value: { | ||
41 | "editor": { value: null, enumerable: false }, | ||
42 | "hline": { value: null, enumerable: false } | ||
43 | } | ||
44 | }, | ||
45 | |||
39 | // PUBLIC MEMBERS | 46 | // PUBLIC MEMBERS |
40 | cssLoadInterval: { value: null, enumerable: false }, | 47 | cssLoadInterval: { value: null, enumerable: false }, |
41 | 48 | ||
@@ -44,6 +51,11 @@ var HTMLDocument = exports.HTMLDocument = Montage.create(baseDocumentModule.Base | |||
44 | */ | 51 | */ |
45 | 52 | ||
46 | // GETTERS / SETTERS | 53 | // GETTERS / SETTERS |
54 | editor: { | ||
55 | get: function() { return this._codeEditor.editor; }, | ||
56 | set: function(value) { this._codeEditor.editor = value} | ||
57 | }, | ||
58 | |||
47 | selectionExclude: { | 59 | selectionExclude: { |
48 | get: function() { return this._selectionExclude; }, | 60 | get: function() { return this._selectionExclude; }, |
49 | set: function(value) { this._selectionExclude = value; } | 61 | set: function(value) { this._selectionExclude = value; } |