public override void Dispose() { base.Dispose(); StopTimer(); editor.Document.FoldTreeUpdated -= HandleEditorDocumentFoldTreeUpdated; layout = layout.Kill(); }
public override void Dispose() { base.Dispose(); StopTimer(); editor.Document.FoldTreeUpdated -= HandleEditorDocumentFoldTreeUpdated; layout = layout.Kill(); foldings = null; startFoldings = containingFoldings = endFoldings = null; }
protected override void Dispose(bool disposing) { layout = layout.Kill(); informLayout = informLayout.Kill(); fontDescription = null; /*TODO if (textGC != null) { * textGC = textBgGC = foldGC = foldBgGC = null; * }*/ base.Dispose(disposing); }
public override void Dispose() { layout = layout.Kill(); }