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
command.doit= false;
					document.replace(command.offset, 0, String.valueOf(getClosingCharacter(character)));
				}
				break;
			
			case ')':
			case ']':
				if (preferenceStore.getBoolean(CompilationUnitEditor.SKIP_CLOSING_BRACKETS) &&
					document.getChar(command.offset) == character)
				{
					command.length++;
				}
				break;
			}
		} catch (BadLocationException e) {
			System.out.println(JavaTextMessages.getString("AutoIndent.error.bad_location.message1")); 
		}
	}
	/*
	 * @see org.eclipse.jface.text.IAutoIndentStrategy#customizeDocumentCommand(org.eclipse.jface.text.IDocument, org.eclipse.jface.text.DocumentCommand)
	 */
	public void customizeDocumentCommand(IDocument d, DocumentCommand c) {
		if (c.length == 0 && c.text != null && endsWithDelimiter(d, c.text))
			smartIndentAfterNewLine(d, c);
		else if (c.text.length() == 1) {
			smartIndentAfterBlockDelimiter(d, c);
		}
	}
}