Added active/inactive state to TextEditComponent.