public void TearDown()
 {
     TextEditorCore.InvalidateInstance();
 }