Merge pull request #409 from nightwing/pullreq
restore compatibility with strict xml and xul
This commit is contained in:
commit
f80b18e95c
3 changed files with 6 additions and 6 deletions
|
|
@ -125,7 +125,7 @@ var Gutter = function(parentEl) {
|
||||||
|
|
||||||
var wrappedRowLength = this.session.getRowLength(i) - 1;
|
var wrappedRowLength = this.session.getRowLength(i) - 1;
|
||||||
while (wrappedRowLength--) {
|
while (wrappedRowLength--) {
|
||||||
html.push("</div><div class='ace_gutter-cell' style='height:", config.lineHeight, "px'>¦</div>");
|
html.push("</div><div class='ace_gutter-cell' style='height:", config.lineHeight, "px'>\xA6");
|
||||||
}
|
}
|
||||||
|
|
||||||
html.push("</div>");
|
html.push("</div>");
|
||||||
|
|
|
||||||
|
|
@ -60,10 +60,10 @@ var Text = function(parentEl) {
|
||||||
|
|
||||||
oop.implement(this, EventEmitter);
|
oop.implement(this, EventEmitter);
|
||||||
|
|
||||||
this.EOF_CHAR = "¶";
|
this.EOF_CHAR = "\xB6"; //"¶";
|
||||||
this.EOL_CHAR = "¬";
|
this.EOL_CHAR = "\xAC"; //"¬";
|
||||||
this.TAB_CHAR = "→";
|
this.TAB_CHAR = "\u2192"; //"→";
|
||||||
this.SPACE_CHAR = "·";
|
this.SPACE_CHAR = "\xB7"; //"·";
|
||||||
this.$padding = 0;
|
this.$padding = 0;
|
||||||
|
|
||||||
this.setPadding = function(padding) {
|
this.setPadding = function(padding) {
|
||||||
|
|
|
||||||
|
|
@ -633,7 +633,7 @@ var VirtualRenderer = function(container, theme) {
|
||||||
|
|
||||||
var pos = this.$cursorLayer.getPixelPosition();
|
var pos = this.$cursorLayer.getPixelPosition();
|
||||||
|
|
||||||
var left = pos.left + this.$padding;
|
var left = pos.left;
|
||||||
var top = pos.top;
|
var top = pos.top;
|
||||||
|
|
||||||
if (this.scrollTop > top) {
|
if (this.scrollTop > top) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue