Place print_margin_layer before other layers

This commit is contained in:
DanyaPostfactum 2012-10-01 18:56:10 +10:00
commit 35a1551d1e

View file

@ -516,7 +516,7 @@ var VirtualRenderer = function(container, theme) {
this.$printMarginEl = dom.createElement("div");
this.$printMarginEl.className = "ace_print-margin";
containerEl.appendChild(this.$printMarginEl);
this.content.insertBefore(containerEl, this.$textLayer.element);
this.content.insertBefore(containerEl, this.content.firstChild);
}
var style = this.$printMarginEl.style;