Mercurial > projects > dwt-addons
comparison dwtx/jface/internal/text/revisions/RevisionPainter.d @ 139:93a6ec48fd28
Regexp throws removal in interfaces
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 02:31:41 +0200 |
parents | b6bad70d540a |
children | 26688fec6d23 |
comparison
equal
deleted
inserted
replaced
138:b6bad70d540a | 139:93a6ec48fd28 |
---|---|
1438 * | 1438 * |
1439 * @param activeLine the document line of interest | 1439 * @param activeLine the document line of interest |
1440 * @return <code>true</code> if the receiver can provide a hover | 1440 * @return <code>true</code> if the receiver can provide a hover |
1441 */ | 1441 */ |
1442 public bool hasHover(int activeLine) { | 1442 public bool hasHover(int activeLine) { |
1443 return fViewer instanceof ISourceViewer && fHover.getHoverLineRange(cast(ISourceViewer) fViewer, activeLine) !is null; | 1443 return cast(ISourceViewer)fViewer && fHover.getHoverLineRange(cast(ISourceViewer) fViewer, activeLine) !is null; |
1444 } | 1444 } |
1445 | 1445 |
1446 /** | 1446 /** |
1447 * Returns the revision at a certain document offset, or <code>null</code> for none. | 1447 * Returns the revision at a certain document offset, or <code>null</code> for none. |
1448 * | 1448 * |