Merge pull request #409 from nightwing/pullreq

restore compatibility with strict xml and xul
This commit is contained in:
Fabian Jakobs 2011-09-06 01:26:05 -07:00
commit f80b18e95c
3 changed files with 6 additions and 6 deletions

View file

@ -125,7 +125,7 @@ var Gutter = function(parentEl) {
var wrappedRowLength = this.session.getRowLength(i) - 1;
while (wrappedRowLength--) {
html.push("</div><div class='ace_gutter-cell' style='height:", config.lineHeight, "px'>&brvbar;</div>");
html.push("</div><div class='ace_gutter-cell' style='height:", config.lineHeight, "px'>\xA6");
}
html.push("</div>");

View file

@ -60,10 +60,10 @@ var Text = function(parentEl) {
oop.implement(this, EventEmitter);
this.EOF_CHAR = "&para;";
this.EOL_CHAR = "&not;";
this.TAB_CHAR = "&rarr;";
this.SPACE_CHAR = "&middot;";
this.EOF_CHAR = "\xB6"; //"&para;";
this.EOL_CHAR = "\xAC"; //"&not;";
this.TAB_CHAR = "\u2192"; //"&rarr;";
this.SPACE_CHAR = "\xB7"; //"&middot;";
this.$padding = 0;
this.setPadding = function(padding) {

View file

@ -633,7 +633,7 @@ var VirtualRenderer = function(container, theme) {
var pos = this.$cursorLayer.getPixelPosition();
var left = pos.left + this.$padding;
var left = pos.left;
var top = pos.top;
if (this.scrollTop > top) {