event DocumentSelectionChanged(sFile)

Called when the user selects text, or moves the cursor in the current file. This event is handled asynchronously. That is, it is not called as the user moves the cursor. It is called after a moment of idleness. Note because this function is called asynchronously, it is possible the sFile file may not be open.