Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/AnnotationBarHoverManager.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 7926b636c282 |
children |
line wrap: on
line diff
--- a/dwtx/jface/text/source/AnnotationBarHoverManager.d Wed Aug 27 14:49:30 2008 +0200 +++ b/dwtx/jface/text/source/AnnotationBarHoverManager.d Mon Sep 08 00:51:37 2008 +0200 @@ -400,7 +400,7 @@ public this(IVerticalRulerInfo rulerInfo, ISourceViewer sourceViewer, IAnnotationHover annotationHover, IInformationControlCreator creator) { super(creator); - Assert.isNotNull(sourceViewer); + Assert.isNotNull(cast(Object)sourceViewer); fSourceViewer= sourceViewer; fVerticalRulerInfo= rulerInfo; @@ -419,7 +419,7 @@ MouseEvent event= getHoverEvent(); IAnnotationHover hover= getHover(event); if (hover is null) { - setInformation(null, null); + setInformation(cast(Object)null, null); return; } @@ -433,7 +433,7 @@ if (range !is null) setInformation(extension.getHoverInfo(fSourceViewer, range, computeNumberOfVisibleLines()), computeArea(range)); else - setInformation(null, null); + setInformation(cast(Object)null, null); } else { setCustomInformationControlCreator(null); @@ -815,35 +815,35 @@ public InternalAccessor getInternalAccessor() { return new class() InternalAccessor { public IInformationControl getCurrentInformationControl() { - return outer.superGetInternalAccessor().getCurrentInformationControl(); + return this.outer.superGetInternalAccessor().getCurrentInformationControl(); } public void setInformationControlReplacer(InformationControlReplacer replacer) { - outer.superGetInternalAccessor().setInformationControlReplacer(replacer); + this.outer.superGetInternalAccessor().setInformationControlReplacer(replacer); } public InformationControlReplacer getInformationControlReplacer() { - return outer.superGetInternalAccessor().getInformationControlReplacer(); + return this.outer.superGetInternalAccessor().getInformationControlReplacer(); } public bool canReplace(IInformationControl control) { - return outer.superGetInternalAccessor().canReplace(control); + return this.outer.superGetInternalAccessor().canReplace(control); } public bool isReplaceInProgress() { - return outer.superGetInternalAccessor().isReplaceInProgress(); + return this.outer.superGetInternalAccessor().isReplaceInProgress(); } public void replaceInformationControl(bool takeFocus) { - outer.superGetInternalAccessor().replaceInformationControl(takeFocus); + this.outer.superGetInternalAccessor().replaceInformationControl(takeFocus); } public void cropToClosestMonitor(Rectangle bounds) { - outer.superGetInternalAccessor().cropToClosestMonitor(bounds); + this.outer.superGetInternalAccessor().cropToClosestMonitor(bounds); } public void setHoverEnrichMode(ITextViewerExtension8_EnrichMode mode) { - outer.superGetInternalAccessor().setHoverEnrichMode(mode); + this.outer.superGetInternalAccessor().setHoverEnrichMode(mode); } public bool getAllowMouseExit() {