IDEA-113344 An easy way to exit from full screen mode using mouse
(cherry picked from commit 458c964) [reviewed by kb]
get rid of psi/doc inconsistency before reparse by not relying on TextBlock information
(cherry picked from commit c7a0408)
IDEA-117831 After deleting last live template in a group, I can't click OK.
(cherry picked from commit 41f6f85)