Ticket #9022: 9022.patch
File 9022.patch, 693 bytes (added by , 11 years ago) |
---|
-
_source/plugins/selection/plugin.js
IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
449 449 // Start to build the text range. 450 450 var textRng = body.$.createTextRange(); 451 451 textRng.moveToPoint( evt.x, evt.y ); 452 // IE7 could produce wrong selection when document is empty. (#9022) 453 !body.getChildCount() && textRng.moveStart( 'character', 1 ); 452 454 textRng.select(); 453 455 454 456 html.on( 'mousemove', onHover );