X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/templates/template/BasicCompletionProcessor.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/templates/template/BasicCompletionProcessor.java index 213316b..fcffda1 100644 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/templates/template/BasicCompletionProcessor.java +++ b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/templates/template/BasicCompletionProcessor.java @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - * + * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ @@ -106,7 +106,7 @@ public class BasicCompletionProcessor extends TemplateCompletionProcessor { /* * (non-Javadoc) - * + * * @see org.eclipse.jface.text.contentassist.IContentAssistProcessor#computeCompletionProposals(org.eclipse.jface.text.ITextViewer, * int) */ @@ -119,7 +119,7 @@ public class BasicCompletionProcessor extends TemplateCompletionProcessor { String prefix = extractPrefix(viewer, offset); prefix = prefix.toLowerCase(); - Region region = new Region(offset - prefix.length(), prefix.length()); + IRegion region = new Region(offset - prefix.length(), prefix.length()); TemplateContext context = createContext(viewer, region); if (context == null) return new ICompletionProposal[0]; @@ -151,17 +151,17 @@ public class BasicCompletionProcessor extends TemplateCompletionProcessor { public char[] getCompletionProposalAutoActivationCharacters() { return fProposalAutoActivationSet; } - + /** * Sets this processor's set of characters triggering the activation of the * completion proposal computation. - * + * * @param activationSet the activation set */ public void setCompletionProposalAutoActivationCharacters(char[] activationSet) { fProposalAutoActivationSet= activationSet; } - + /** * Order the given proposals. */ @@ -172,7 +172,7 @@ public class BasicCompletionProcessor extends TemplateCompletionProcessor { /** * Tells this processor to order the proposals alphabetically. - * + * * @param order true if proposals should be ordered. */ // public void orderProposalsAlphabetically(boolean order) {