updated stylededitor.hasbeendeactivated