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