Ticket #9022: 9022.patch

File 9022.patch, 693 bytes (added by Garry Yao, 12 years ago)
  • _source/plugins/selection/plugin.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    449449                                                                        // Start to build the text range.
    450450                                                                        var textRng = body.$.createTextRange();
    451451                                                                        textRng.moveToPoint( evt.x, evt.y );
     452                                                                        // IE7 could produce wrong selection when document is empty. (#9022)
     453                                                                        !body.getChildCount() && textRng.moveStart( 'character', 1 );
    452454                                                                        textRng.select();
    453455
    454456                                                                        html.on( 'mousemove', onHover );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy