comparison dwtx/text/edits/TextEditProcessor.d @ 130:b56e9be9fe88

ctors to this
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 00:30:47 +0200
parents eb30df5ca28b
children c4fb132a086c
comparison
equal deleted inserted replaced
129:eb30df5ca28b 130:b56e9be9fe88
56 * text edit processors. Clients must not modify the edit 56 * text edit processors. Clients must not modify the edit
57 * (e.g adding new children) any longer. 57 * (e.g adding new children) any longer.
58 * 58 *
59 * @param style {@link TextEdit#NONE}, {@link TextEdit#CREATE_UNDO} or {@link TextEdit#UPDATE_REGIONS}) 59 * @param style {@link TextEdit#NONE}, {@link TextEdit#CREATE_UNDO} or {@link TextEdit#UPDATE_REGIONS})
60 */ 60 */
61 public TextEditProcessor(IDocument document, TextEdit root, int style) { 61 public this(IDocument document, TextEdit root, int style) {
62 this(document, root, style, false); 62 this(document, root, style, false);
63 } 63 }
64 64
65 private TextEditProcessor(IDocument document, TextEdit root, int style, bool secondary) { 65 private this(IDocument document, TextEdit root, int style, bool secondary) {
66 Assert.isNotNull(document); 66 Assert.isNotNull(document);
67 Assert.isNotNull(root); 67 Assert.isNotNull(root);
68 fDocument= document; 68 fDocument= document;
69 fRoot= root; 69 fRoot= root;
70 if (fRoot instanceof MultiTextEdit) 70 if (fRoot instanceof MultiTextEdit)