internal void DisposeLayoutDict () { textEditor.CheckUIThread (); foreach (LayoutDescriptor descr in layoutDict.Values) { descr.Dispose (); } layoutDict.Clear (); }