Also log citc snapshot and selection when the refactoring handler is started.
Capturing selection and citc snapshot in beforeActionPerformed is needed as some
refactorings have already changed the code and selection when refactoringStarted
is called (e.g. inplace refactorings like rename). Knowing the refactoring action
also gives use a good text description of the refactoring.
Capturing selection and citc snapshot in refactoringStarted is needed as sometimes
refactorings are executed, but no corresponding beforeActionPerformed event
exists (this was determined by investigating the refactoring logs).
This data can then still be used as for many refactorings the selection and
document state in refactoringStarted seems to be ok.
Also log citc snapshot and selection when the refactoring handler is started.
Verified via a local IntelliJ instance for: