This commit is contained in:
Fabian Jakobs 2011-01-10 08:35:30 +01:00
commit 3c4157a09a

View file

@ -293,7 +293,7 @@ var Document = function(text, mode) {
this.getScreenWidth = function() {
this.$computeWidth();
return this.screenWith;
return this.screenWidth;
};
this.$computeWidth = function() {
@ -316,7 +316,7 @@ var Document = function(text, mode) {
longestScreenLine = Math.max(longestScreenLine, len);
}
this.width = longestLine;
this.screenWith = longestScreenLine;
this.screenWidth = longestScreenLine;
}
};