Mercurial > projects > dwt-addons
comparison dwtx/jface/internal/text/html/HTMLTextPresenter.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 |
---|---|
48 private static final String LINE_DELIM= System.getProperty("line.separator", "\n"); //$NON-NLS-1$ //$NON-NLS-2$ | 48 private static final String LINE_DELIM= System.getProperty("line.separator", "\n"); //$NON-NLS-1$ //$NON-NLS-2$ |
49 | 49 |
50 private int fCounter; | 50 private int fCounter; |
51 private bool fEnforceUpperLineLimit; | 51 private bool fEnforceUpperLineLimit; |
52 | 52 |
53 public HTMLTextPresenter(bool enforceUpperLineLimit) { | 53 public this(bool enforceUpperLineLimit) { |
54 super(); | 54 super(); |
55 fEnforceUpperLineLimit= enforceUpperLineLimit; | 55 fEnforceUpperLineLimit= enforceUpperLineLimit; |
56 } | 56 } |
57 | 57 |
58 public HTMLTextPresenter() { | 58 public this() { |
59 this(true); | 59 this(true); |
60 } | 60 } |
61 | 61 |
62 protected Reader createReader(String hoverInfo, TextPresentation presentation) { | 62 protected Reader createReader(String hoverInfo, TextPresentation presentation) { |
63 return new HTML2TextReader(new StringReader(hoverInfo), presentation); | 63 return new HTML2TextReader(new StringReader(hoverInfo), presentation); |