Index: trunk/extensions/VisualEditor/modules/ve/ce/ve.es.Surface.js |
— | — | @@ -163,9 +163,7 @@ |
164 | 164 | var offset1 = this.getOffset( selection.anchorNode, selection.anchorOffset ); |
165 | 165 | var offset2 = this.getOffset( selection.focusNode, selection.focusOffset ); |
166 | 166 | |
167 | | - var blah = this.model.getDocument().getRelativeContentOffset( offset2, -1 ); |
168 | | - |
169 | | - return new ve.Range( offset1, blah ); |
| 167 | + return new ve.Range( offset1, offset2 ); |
170 | 168 | } |
171 | 169 | }; |
172 | 170 | |