Package org.eclipse.php.internal.ui.text.template.contentassist

Examples of org.eclipse.php.internal.ui.text.template.contentassist.PositionBasedCompletionProposal


      }

      final char[] triggers = new char[1];
      triggers[triggers.length - 1] = ';';

      ret[i++] = new PositionBasedCompletionProposal(name, pos,
          replacementLength, getImage(), name, null, null, triggers);
    }
    if (!fillBestGuess) {
      // insert a proposal with the argument name
      ICompletionProposal[] extended = new ICompletionProposal[ret.length + 1];
      System.arraycopy(ret, 0, extended, 1, ret.length);
      extended[0] = new PositionBasedCompletionProposal(paramName, pos,
          replacementLength/* paramName.length() */, null, paramName,
          null, null, NO_TRIGGERS);
      return extended;
    }
    return ret;
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.text.template.contentassist.PositionBasedCompletionProposal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.