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
if (indLine == -1) {
					indLine= line;
				}
				buf.append(getIndentOfLine(d, indLine));
			} else {
				int start= d.getLineOffset(line);
				
				IDocumentPartitioner partitioner= d.getDocumentPartitioner();
				if (partitioner != null) {
					ITypedRegion region= partitioner.getPartition(start);
					if (JavaPartitionScanner.JAVA_DOC.equals(region.getType()))
						start= d.getLineInformationOfOffset(region.getOffset()).getOffset();
				}				
				int whiteend= findEndOfWhiteSpace(d, start, c.offset);
				buf.append(d.get(start, whiteend - start));
				if (getBracketCount(d, start, c.offset, true) > 0) {
					buf.append(getOneIndentLevel());
				}
			}
			c.text= buf.toString();
		} catch (BadLocationException excp) {
			System.out.println(JavaTextMessages.getString("AutoIndent.error.bad_location.message2")); 
		}
	}
	
	private String getOneIndentLevel() {
		return String.valueOf('\t');
	}	
	
	/**