Index: trunk/parsers/wikidom/lib/es/es.TextFlow.js |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | * positions, which is a nice benefit of this method. |
62 | 62 | */ |
63 | 63 | while ( line < lineCount ) { |
64 | | - bottom += lines[line].height; |
| 64 | + bottom += this.lines[line].height; |
65 | 65 | if ( position.y >= top && position.y < bottom ) { |
66 | 66 | break; |
67 | 67 | } |
— | — | @@ -79,7 +79,7 @@ |
80 | 80 | */ |
81 | 81 | var $ruler = $( '<div class="editSurface-line"></div>' ).appendTo( this.$ ) |
82 | 82 | ruler = $ruler[0], |
83 | | - fit = this.fitCharacters( lines[line].start, lines[line].end, ruler, position.x ); |
| 83 | + fit = this.fitCharacters( this.lines[line].start, this.lines[line].end, ruler, position.x ); |
84 | 84 | $ruler.remove(); |
85 | 85 | |
86 | 86 | return fit.end; |