Bug 23598 incorrect handling of auto-string-closing in linked positions
0916.1 plugin export 1. package p; public class A{ void f(String hola) { } } 2. enter somewhere f<<CODE ASSIST HERE 3. choose the first entry - you get f(hola) << hola is selected and underlined 4. type "" fast 5. you get f(""a) - the last character is always left there
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
* Returns whether the text ends with one of the given search strings.
	 */
	private boolean endsWithDelimiter(IDocument d, String txt) {
		
		String[] delimiters= d.getLegalLineDelimiters();
		
		for (int i= 0; i < delimiters.length; i++) {
			if (txt.endsWith(delimiters[i]))
				return true;
		}
		
		return false;
	}
	
	private char getClosingCharacter(char openingCharacter) {
		switch (openingCharacter) {
		case '\"':
		case '\'':
			return openingCharacter;
			
		case '(':
			return ')';
			
		case '{':
			return '}';
			
		case '[':
			return ']';
			
		default: