Mercurial > projects > dwt-addons
diff dwtx/jface/text/contentassist/CompletionProposal.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 |
line wrap: on
line diff
--- a/dwtx/jface/text/contentassist/CompletionProposal.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/contentassist/CompletionProposal.d Sun Aug 24 01:29:22 2008 +0200 @@ -88,7 +88,7 @@ * @param replacementLength the length of the text to be replaced * @param cursorPosition the position of the cursor following the insert relative to replacementOffset */ - public CompletionProposal(String replacementString, int replacementOffset, int replacementLength, int cursorPosition) { + public this(String replacementString, int replacementOffset, int replacementLength, int cursorPosition) { this(replacementString, replacementOffset, replacementLength, cursorPosition, null, null, null, null); } @@ -104,7 +104,7 @@ * @param contextInformation the context information associated with this proposal * @param additionalProposalInfo the additional information associated with this proposal */ - public CompletionProposal(String replacementString, int replacementOffset, int replacementLength, int cursorPosition, Image image, String displayString, IContextInformation contextInformation, String additionalProposalInfo) { + public this(String replacementString, int replacementOffset, int replacementLength, int cursorPosition, Image image, String displayString, IContextInformation contextInformation, String additionalProposalInfo) { Assert.isNotNull(replacementString); Assert.isTrue(replacementOffset >= 0); Assert.isTrue(replacementLength >= 0);