comparison dwtx/jface/text/WhitespaceCharacterPainter.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
195 /** 195 /**
196 * Creates a new painter for the given text viewer. 196 * Creates a new painter for the given text viewer.
197 * 197 *
198 * @param textViewer the text viewer the painter should be attached to 198 * @param textViewer the text viewer the painter should be attached to
199 */ 199 */
200 public WhitespaceCharacterPainter(ITextViewer textViewer) { 200 public this(ITextViewer textViewer) {
201 super(); 201 super();
202 fTextViewer= textViewer; 202 fTextViewer= textViewer;
203 fTextWidget= textViewer.getTextWidget(); 203 fTextWidget= textViewer.getTextWidget();
204 GC gc= new GC(fTextWidget); 204 GC gc= new GC(fTextWidget);
205 gc.setAdvanced(true); 205 gc.setAdvanced(true);