Mercurial > projects > dwt-addons
comparison dwtx/jface/text/rules/DefaultDamagerRepairer.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | eb21d3dfc767 |
children | eb98a5cbfd78 |
comparison
equal
deleted
inserted
replaced
161:f8d52b926852 | 162:1a5b8f8129df |
---|---|
104 * | 104 * |
105 * @param scanner the token scanner to be used, may not be <code>null</code> | 105 * @param scanner the token scanner to be used, may not be <code>null</code> |
106 */ | 106 */ |
107 public this(ITokenScanner scanner) { | 107 public this(ITokenScanner scanner) { |
108 | 108 |
109 Assert.isNotNull(scanner); | 109 Assert.isNotNull(cast(Object)scanner); |
110 | 110 |
111 fScanner= scanner; | 111 fScanner= scanner; |
112 fDefaultTextAttribute= new TextAttribute(null); | 112 fDefaultTextAttribute= new TextAttribute(null); |
113 } | 113 } |
114 | 114 |