Deleted unused commenst and unused vars.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / template / IdentifierProposal.java
index 280739e..fcf43cd 100644 (file)
@@ -23,12 +23,8 @@ public class IdentifierProposal extends AbstractProposal {
 
        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,
@@ -37,7 +33,6 @@ public class IdentifierProposal extends AbstractProposal {
                fTemplate = template;
                fContext = context;
 
-               // fViewer = viewer;
                fImage_fun = image_fun;
                fImage_var = image_var;
                fRegion = region;
@@ -53,8 +48,6 @@ public class IdentifierProposal extends AbstractProposal {
 
                        LinkedPositionUI editor = new LinkedPositionUI(fViewer, manager);
                        editor.setFinalCaretOffset(fTemplate.length() + start);
-                       // editor.setFinalCaretOffset(getCaretOffset(fTemplateBuffer) +
-                       // start);
                        editor.enter();
                        fSelectedRegion = editor.getSelectedRegion();
                } catch (BadLocationException e) {
@@ -64,7 +57,7 @@ public class IdentifierProposal extends AbstractProposal {
        }
 
        public String getAdditionalProposalInfo() {
-               return textToHTML(fTemplate); // fTemplateBuffer.getString());
+               return textToHTML(fTemplate); 
        }
 
        public String getDisplayString() {