Mercurial > projects > dwt-addons
comparison dwtx/jface/internal/text/revisions/RevisionPainter.d @ 133:7d818bd32d63
Fix ctors to this with gvim regexp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:29:22 +0200 |
parents | c4fb132a086c |
children | 51e6e63f930e |
comparison
equal
deleted
inserted
replaced
132:77bd3bb3d7b8 | 133:7d818bd32d63 |
---|---|
112 | 112 |
113 /** | 113 /** |
114 * The annotations created to show a revision in the overview ruler. | 114 * The annotations created to show a revision in the overview ruler. |
115 */ | 115 */ |
116 private static final class RevisionAnnotation : Annotation { | 116 private static final class RevisionAnnotation : Annotation { |
117 public RevisionAnnotation(String text) { | 117 public this(String text) { |
118 super("dwtx.ui.workbench.texteditor.revisionAnnotation", false, text); //$NON-NLS-1$ | 118 super("dwtx.ui.workbench.texteditor.revisionAnnotation", false, text); //$NON-NLS-1$ |
119 } | 119 } |
120 } | 120 } |
121 | 121 |
122 /** | 122 /** |
365 * The information control creator. | 365 * The information control creator. |
366 */ | 366 */ |
367 private static final class HoverInformationControlCreator : AbstractReusableInformationControlCreator { | 367 private static final class HoverInformationControlCreator : AbstractReusableInformationControlCreator { |
368 private bool fIsFocusable; | 368 private bool fIsFocusable; |
369 | 369 |
370 public HoverInformationControlCreator(bool isFocusable) { | 370 public this(bool isFocusable) { |
371 fIsFocusable= isFocusable; | 371 fIsFocusable= isFocusable; |
372 } | 372 } |
373 | 373 |
374 /* | 374 /* |
375 * @see dwtx.jface.internal.text.revisions.AbstractReusableInformationControlCreator#doCreateInformationControl(dwt.widgets.Shell) | 375 * @see dwtx.jface.internal.text.revisions.AbstractReusableInformationControlCreator#doCreateInformationControl(dwt.widgets.Shell) |
636 * | 636 * |
637 * @param column the column that will delegate{@link #paint(GC, ILineRange) painting} to the | 637 * @param column the column that will delegate{@link #paint(GC, ILineRange) painting} to the |
638 * newly created painter. | 638 * newly created painter. |
639 * @param sharedColors a shared colors object to store shaded colors in | 639 * @param sharedColors a shared colors object to store shaded colors in |
640 */ | 640 */ |
641 public RevisionPainter(IVerticalRulerColumn column, ISharedTextColors sharedColors) { | 641 public this(IVerticalRulerColumn column, ISharedTextColors sharedColors) { |
642 Assert.isLegal(column !is null); | 642 Assert.isLegal(column !is null); |
643 Assert.isLegal(sharedColors !is null); | 643 Assert.isLegal(sharedColors !is null); |
644 fColumn= column; | 644 fColumn= column; |
645 fSharedColors= sharedColors; | 645 fSharedColors= sharedColors; |
646 } | 646 } |