http://jsfiddle.net/JonVisc/ufHBd/4/
So in the jsFiddle the basic steps are to:
- Click anywhere on 'Hello World' (not highlighting): Range is: true
- Drag to highlight (highlight 'll Wor' as an example: Range is: false
- Click anywhere in that highlighted range: Range is: false
Directly following that point the highlighting goes away, is this an event? Basically I need to detect that clearing of the highlighting (and subsequently clear a saved range since the highlighting is not there) but I unfortunately don't know how.
A click (not highlighting after that) returns the expected result of false but since I wanted that result in the previous click this isn't ideal.