Rename class to LanguagetTextCompletionProposal

This commit is contained in:
Peter Dell
2022-08-29 11:30:24 +02:00
parent 8a2c279700
commit 437c7ab5ac
2 changed files with 4 additions and 4 deletions

View File

@@ -395,7 +395,7 @@ final class LanguageContentAssistProcessor implements IContentAssistProcessor {
proposal = proposal.replace("\n", "\n\t"); proposal = proposal.replace("\n", "\n\t");
newCursorOffset = offset + proposalIndex; newCursorOffset = offset + proposalIndex;
proposalList.add(new LanguageInstructionCompletionProposal(proposal, offset, region.getLength(), proposalList.add(new LanguagetTextCompletionProposal(proposal, offset, region.getLength(),
newCursorOffset, image, displayString, styledDisplayString, null)); newCursorOffset, image, displayString, styledDisplayString, null));
} }
} }
@@ -458,7 +458,7 @@ final class LanguageContentAssistProcessor implements IContentAssistProcessor {
int newCursorOffset = regionOffset + proposal.length(); int newCursorOffset = regionOffset + proposal.length();
proposalList.add(new LanguageInstructionCompletionProposal(proposal, regionOffset, regionLength, proposalList.add(new LanguagetTextCompletionProposal(proposal, regionOffset, regionLength,
newCursorOffset, image, displayString, styledDisplayString, null)); newCursorOffset, image, displayString, styledDisplayString, null));
} }
} }

View File

@@ -35,7 +35,7 @@ import org.eclipse.swt.graphics.Point;
* *
* @author Peter Dell * @author Peter Dell
*/ */
final class LanguageInstructionCompletionProposal implements ICompletionProposal, ICompletionProposalExtension6 { final class LanguagetTextCompletionProposal implements ICompletionProposal, ICompletionProposalExtension6 {
/** The string to be displayed in the completion proposal popup. */ /** The string to be displayed in the completion proposal popup. */
private String displayString; private String displayString;
@@ -71,7 +71,7 @@ final class LanguageInstructionCompletionProposal implements ICompletionProposal
* @param contextInformation The context information associated with this * @param contextInformation The context information associated with this
* proposal. * proposal.
*/ */
LanguageInstructionCompletionProposal(String replacementString, int replacementOffset, int replacementLength, LanguagetTextCompletionProposal(String replacementString, int replacementOffset, int replacementLength,
int cursorOffset, Image image, String displayString, StyledString styledDisplayString, int cursorOffset, Image image, String displayString, StyledString styledDisplayString,
IContextInformation contextInformation) { IContextInformation contextInformation) {
Assert.isNotNull(replacementString); Assert.isNotNull(replacementString);