Bug 38132 Javadoc - @inheritDoc is misspelled. [code manipulation]
When I enter javadoc for methods that are overloaded I most of the times enter {@inheritDoc} to copy the documentation. But when I use the code-completion for the javadoc names I get {@inheritdoc}. The correct spelling according to the javadoc toolpage is {@inheritDoc}. Note the capitalized 'D' (I use the checkstyle plugin for checking my javadoc and there I noticed that it wouldnt accept {@inheritdoc}.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocCompletionEvaluator.java
}
				return currPos;
			} catch (BadLocationException e) {
			}
		}
		return pos;
	}
	
	private static int findLastWhitespace(IDocument doc, int lineBeginPos, int pos) {
		try {
			int currPos= pos - 1;
			while (currPos >= lineBeginPos && Character.isWhitespace(doc.getChar(currPos))) {
				currPos--;
			}
			return currPos + 1;
		} catch (BadLocationException e) {
		}
		return pos;	
	}
	
	private static int findClosingCharacter(IDocument doc, int pos, int end, char endChar) throws BadLocationException {
		int curr= pos;
		while (curr < end && (doc.getChar(curr) != endChar)) {
			curr++;
		}
		if (curr < end) {
			return curr + 1;
		}
		return pos;
	}