示例#1
0
 public override void Dispose()
 {
     base.Dispose();
     StopTimer();
     editor.Document.FoldTreeUpdated -= HandleEditorDocumentFoldTreeUpdated;
     layout = layout.Kill();
 }
示例#2
0
 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);
        }
示例#4
0
 public override void Dispose()
 {
     layout = layout.Kill();
 }