comparison dwtx/jface/text/formatter/ContentFormatter.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
97 * 97 *
98 * @param position the position to be referenced 98 * @param position the position to be referenced
99 * @param refersToOffset <code>true</code> if position offset should be referenced 99 * @param refersToOffset <code>true</code> if position offset should be referenced
100 * @param category the category the given position belongs to 100 * @param category the category the given position belongs to
101 */ 101 */
102 protected PositionReference(Position position, bool refersToOffset, String category) { 102 protected this(Position position, bool refersToOffset, String category) {
103 fPosition= position; 103 fPosition= position;
104 fRefersToOffset= refersToOffset; 104 fRefersToOffset= refersToOffset;
105 fCategory= category; 105 fCategory= category;
106 } 106 }
107 107
205 /** 205 /**
206 * Creates a new updater for the given category. 206 * Creates a new updater for the given category.
207 * 207 *
208 * @param category the category 208 * @param category the category
209 */ 209 */
210 protected NonDeletingPositionUpdater(String category) { 210 protected this(String category) {
211 super(category); 211 super(category);
212 } 212 }
213 213
214 /* 214 /*
215 * @see DefaultPositionUpdater#notDeleted() 215 * @see DefaultPositionUpdater#notDeleted()
253 * Creates a new updater. 253 * Creates a new updater.
254 * 254 *
255 * @param positions the affected positions 255 * @param positions the affected positions
256 * @param offset the offset 256 * @param offset the offset
257 */ 257 */
258 public UpdateAffectedPositions(int[] positions, int offset) { 258 public this(int[] positions, int offset) {
259 fPositions= positions; 259 fPositions= positions;
260 fOffset= offset; 260 fOffset= offset;
261 } 261 }
262 262
263 /* 263 /*
308 /** 308 /**
309 * Creates a new content formatter. The content formatter operates by default 309 * Creates a new content formatter. The content formatter operates by default
310 * in the partition-aware mode. There are no preconfigured formatting strategies. 310 * in the partition-aware mode. There are no preconfigured formatting strategies.
311 * Will use the default document partitioning if not further configured. 311 * Will use the default document partitioning if not further configured.
312 */ 312 */
313 public ContentFormatter() { 313 public this() {
314 fPartitioning= IDocumentExtension3.DEFAULT_PARTITIONING; 314 fPartitioning= IDocumentExtension3.DEFAULT_PARTITIONING;
315 } 315 }
316 316
317 /** 317 /**
318 * Registers a strategy for a particular content type. If there is already a strategy 318 * Registers a strategy for a particular content type. If there is already a strategy