• Robert Knight's avatar
    Fix adder breaking after making a selection containing no text · 64740e76
    Robert Knight authored
    Ignore the selection change if the new selection does not contain
    any text.
    
     - Add missing check for rangeUtil.selectionFocusRect() returning null,
       which happens if the selection contains no text
    
     - Add tests for selection change handling
    
     - Create the `Guest` instance with dependencies stubbed out afresh
       for each test case in guest-test.js
    
    Fixes #3523
    64740e76
Name
Last commit
Last update
h Loading commit data...
scripts Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...