Index: trunk/parsers/wikidom/lib/hype/views/es.SurfaceView.js |
— | — | @@ -154,6 +154,7 @@ |
155 | 155 | var end = this.documentView.getRenderedLineRange( this.cursor.offset ).end |
156 | 156 | var data = this.documentView.getModel().data; |
157 | 157 | if ( es.DocumentModel.isContentData( data, end ) ) { |
| 158 | + // TODO: Support all of this /([ \-\t\r\n\f])/g, not just space |
158 | 159 | while( data[ end - 1] === ' ' ) { |
159 | 160 | end--; |
160 | 161 | } |