Merge branch 'master' into worker
This commit is contained in:
commit
8bb97fbbea
16 changed files with 22 additions and 17 deletions
|
|
@ -32,7 +32,7 @@
|
|||
left: 0px;
|
||||
}
|
||||
|
||||
.ace_editor .ace_printMargin {
|
||||
.ace_editor .ace_print_margin {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ var RenderLoop = function(onRender) {
|
|||
if (!this.attached) {
|
||||
var _self = this;
|
||||
event.addListener(window, "message", function(e) {
|
||||
if (e.source == window && _self.callback && e.data == _self.messageName) {
|
||||
if (_self.callback && e.data == _self.messageName) {
|
||||
event.stopPropagation(e);
|
||||
_self.callback();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-clouds .ace_editor .ace_printMargin {\
|
||||
.ace-clouds .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-clouds-midnight .ace_editor .ace_printMargin {\
|
||||
.ace-clouds-midnight .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-cobalt .ace_editor .ace_printMargin {\
|
||||
.ace-cobalt .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-dawn .ace_editor .ace_printMargin {\
|
||||
.ace-dawn .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-idle-fingers .ace_editor .ace_printMargin {\
|
||||
.ace-idle-fingers .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-kr-theme .ace_editor .ace_printMargin {\
|
||||
.ace-kr-theme .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-mono-industrial .ace_editor .ace_printMargin {\
|
||||
.ace-mono-industrial .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-monokai .ace_editor .ace_printMargin {\
|
||||
.ace-monokai .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-pastel-on-dark .ace_editor .ace_printMargin {\
|
||||
.ace-pastel-on-dark .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
padding-right: 6px;
|
||||
}
|
||||
|
||||
.ace-tm .ace_editor .ace_printMargin {
|
||||
.ace-tm .ace_print_margin {
|
||||
width: 1px;
|
||||
background: #e8e8e8;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ define(function(require, exports, module) {
|
|||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-twilight .ace_editor .ace_printMargin {\
|
||||
.ace-twilight .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
|
|
|
|||
|
|
@ -270,8 +270,8 @@ var VirtualRenderer = function(container, theme) {
|
|||
|
||||
if (!this.$printMarginEl) {
|
||||
this.$printMarginEl = document.createElement("div");
|
||||
this.$printMarginEl.className = "ace_printMargin";
|
||||
this.content.insertBefore(this.$printMarginEl, this.$textLayer.element);
|
||||
this.$printMarginEl.className = "ace_print_margin";
|
||||
}
|
||||
|
||||
var style = this.$printMarginEl.style;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue