Bug 13921 Desire per-project property settings for Ant integration
We have an Ant implementation which stores most properties in an external .properties file. However, there is still a need to pass one or two properties to Ant using the Ant wizard and -DPROPERTY=.... Our build files are set up in such a way that property values are unlikely to change between any two build files in a given project. Thus it would be a nice feature if Eclipse allowed a user to set default property values for a PROJECT, which would then be in force for any build.xml file which is part of that PROJECT. And as long as I'm asking for favors, an ideal implementation would still allow the user to use the Ant wizard to override any of these default values for any particular build.xml file, as desired.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java
}
	public void install(ITextViewer textViewer) {
		super.install(textViewer);
		fViewer= textViewer;
	}			
	/**
	 * Show completions at caret position. If current
	 * position does not contain quick fixes look for
	 * next quick fix on same line by moving from left
	 * to right and restarting at end of line if the
	 * beginning of the line is reached.
	 * 
	 * @see org.eclipse.jface.text.contentassist.IContentAssistant#showPossibleCompletions()
	 */
	public String showPossibleCompletions() {
		if (fViewer == null)
			
			return super.showPossibleCompletions();
		
		Point selectedRange= fViewer.getSelectedRange();
		int initalOffset= selectedRange.x;
		int invocationOffset;
		int invocationLength;
		
		if (areMultipleLinesSelected()) {
			try {
				IDocument document= fViewer.getDocument();
				IRegion start= document.getLineInformationOfOffset(initalOffset);
				invocationOffset= start.getOffset();
				IRegion end= document.getLineInformationOfOffset(initalOffset + selectedRange.y);