Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(a6cf90e2-15b3-11d2-932e-00805f8add32)]
interface nsISelectionListener : nsISupports

Constants


        
const short NO_REASON = 0

        
const short DRAG_REASON = 1

        
const short MOUSEDOWN_REASON = 2

        
const short MOUSEUP_REASON = 4

        
const short KEYPRESS_REASON = 8

        
const short SELECTALL_REASON = 16

Methods


        
void notifySelectionChanged(in nsIDOMDocument doc, in nsISelection sel, in short reason)