private final Image fImage_var;
- // private TemplateBuffer fTemplateBuffer;
- private String fOldText;
-
private final IRegion fRegion;
- // private IRegion fSelectedRegion; // initialized by apply()
private final String fTemplate;
public IdentifierProposal(String template, TemplateContext context,
fTemplate = template;
fContext = context;
- // fViewer = viewer;
fImage_fun = image_fun;
fImage_var = image_var;
fRegion = region;
LinkedPositionUI editor = new LinkedPositionUI(fViewer, manager);
editor.setFinalCaretOffset(fTemplate.length() + start);
- // editor.setFinalCaretOffset(getCaretOffset(fTemplateBuffer) +
- // start);
editor.enter();
fSelectedRegion = editor.getSelectedRegion();
} catch (BadLocationException e) {
}
public String getAdditionalProposalInfo() {
- return textToHTML(fTemplate); // fTemplateBuffer.getString());
+ return textToHTML(fTemplate);
}
public String getDisplayString() {