Index: trunk/extensions/VisualEditor/modules/ve/ce/ve.ce.Surface.js |
— | — | @@ -107,8 +107,7 @@ |
108 | 108 | |
109 | 109 | this.clearPollData(); |
110 | 110 | |
111 | | - // show cursor |
112 | | - _this.showCursor(range.to); |
| 111 | + _this.showSelection( range ); |
113 | 112 | } else { |
114 | 113 | if ( method === 'set' ) { |
115 | 114 | this.addInsertionAnnotation( annotation ); |
— | — | @@ -638,6 +637,7 @@ |
639 | 638 | |
640 | 639 | ve.ce.Surface.prototype.handleDelete = function( backspace, isPartial ) { |
641 | 640 | this.stopPolling(); |
| 641 | + this.clearPollData(); |
642 | 642 | var selection = this.getSelectionRange().clone(), |
643 | 643 | sourceOffset, |
644 | 644 | targetOffset, |