Mercurial > projects > dwt-addons
diff dwtx/jface/text/CopyOnWriteTextStore.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 | 75302ef3f92f |
line wrap: on
line diff
--- a/dwtx/jface/text/CopyOnWriteTextStore.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/CopyOnWriteTextStore.d Sun Aug 24 01:29:22 2008 +0200 @@ -187,7 +187,7 @@ /** * Create an empty text store. */ - private StringTextStore() { + private this() { super(); } @@ -195,7 +195,7 @@ * Create a text store with initial content. * @param text the initial content */ - private StringTextStore(String text) { + private this(String text) { super(); set(text); } @@ -252,7 +252,7 @@ * a modifiable <code>ITextStore</code> instance, may not be * <code>null</code> */ - public CopyOnWriteTextStore(ITextStore modifiableTextStore) { + public this(ITextStore modifiableTextStore) { Assert.isNotNull(modifiableTextStore); fTextStore= new StringTextStore(); fModifiableTextStore= modifiableTextStore;