Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js |
— | — | @@ -236,9 +236,7 @@ |
237 | 237 | this.selection.normalize(); |
238 | 238 | if ( instruction === 'left') { |
239 | 239 | if ( this.keyboard.keys.shift ) { |
240 | | - this.showCursor( |
241 | | - this.documentView.getModel().getRelativeContentOffset( this.selection.to, -1 ) |
242 | | - ); |
| 240 | + this.selection.to = this.documentView.getModel().getRelativeContentOffset( this.selection.to, -1 ); |
243 | 241 | this.drawSelection(); |
244 | 242 | this.hideCursor(); |
245 | 243 | } else { |
— | — | @@ -251,9 +249,7 @@ |
252 | 250 | } else if ( instruction === 'right' ) { |
253 | 251 | |
254 | 252 | if ( this.keyboard.keys.shift ) { |
255 | | - this.showCursor( |
256 | | - this.documentView.getModel().getRelativeContentOffset( this.selection.to, 1 ) |
257 | | - ); |
| 253 | + this.selection.to = this.documentView.getModel().getRelativeContentOffset( this.selection.to, 1 ); |
258 | 254 | this.drawSelection(); |
259 | 255 | this.hideCursor(); |
260 | 256 | } else { |