SuperMemoAssistant
                                
                                 SuperMemoAssistant copied to clipboard
                                
                                    SuperMemoAssistant copied to clipboard
                            
                            
                            
                        Setting element's html control text property to string.Empty causes a crash
Description
Setting the IControlHtml text property to string.Empty seems to cause a crash. Changing string.Empty to " " stopped the crashing.
Steps to Reproduce
    public static IControlHtml GetFirstHtmlCtrl()
    {
      var ctrlGroup = Svc.SM.UI.ElementWdw.ControlGroup;
      var htmlCtrl = ctrlGroup?.GetFirstHtmlControl()?.AsHtml();
      return htmlCtrl;
    }
    ...
    var htmlCtrl = GetFirstHtmlCtrl();
    htmlCtrl.Text = string.Empty;    
Environment (fill where applicable)
- While developing a new plugin, running in debug in prod.
- Version: SMA 2.0.5 alpha 17
- OS: Windows 10 64bit