comparison dwtx/jface/text/source/ChangeRulerColumn.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
228 /** 228 /**
229 * Creates a new ruler column. 229 * Creates a new ruler column.
230 * 230 *
231 * @deprecated since 3.2 use {@link #ChangeRulerColumn(ISharedTextColors)} instead 231 * @deprecated since 3.2 use {@link #ChangeRulerColumn(ISharedTextColors)} instead
232 */ 232 */
233 public ChangeRulerColumn() { 233 public this() {
234 fRevisionPainter= null; 234 fRevisionPainter= null;
235 fDiffPainter= new DiffPainter(this, null); 235 fDiffPainter= new DiffPainter(this, null);
236 } 236 }
237 237
238 /** 238 /**
239 * Creates a new revision ruler column. 239 * Creates a new revision ruler column.
240 * 240 *
241 * @param sharedColors the colors to look up RGBs 241 * @param sharedColors the colors to look up RGBs
242 * @since 3.2 242 * @since 3.2
243 */ 243 */
244 public ChangeRulerColumn(ISharedTextColors sharedColors) { 244 public this(ISharedTextColors sharedColors) {
245 Assert.isNotNull(sharedColors); 245 Assert.isNotNull(sharedColors);
246 fRevisionPainter= new RevisionPainter(this, sharedColors); 246 fRevisionPainter= new RevisionPainter(this, sharedColors);
247 fDiffPainter= new DiffPainter(this, null); // no shading 247 fDiffPainter= new DiffPainter(this, null); // no shading
248 } 248 }
249 249