mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2025-08-15 09:27:22 +00:00
Rename class to LanguagetTextCompletionProposal
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user