Bug 50230 Paste omits a character
20040119 - In the following text, double click on 'rel' to get the word selected. - CTRL + C - Set cursor between empty brackets, paste -> only pastes 'el', the letter 'r' is gone protected Object getAttribute(Object parent, int childProperty) { if (child instanceof List) { } else if (rel != null && !rel.equals(child)) { } else if () return child; }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
int lineLength= r.getLength();
				
				if (lineLength == 0) 
					continue;
				
				if (!isIndentDetected){
					
					
					String current= getCurrentIndent(temp, l);
					StringBuffer correct= indenter.computeIndentation(lineOffset);
					if (correct == null)
						return; 
					
					insertLength= subtractIndent(correct, current, addition);
					if (l != first)
						isIndentDetected= true;
				}
				
				 
				if (insertLength > 0)
					addIndent(temp, l, addition);
				else if (insertLength < 0)
					cutIndent(temp, l, -insertLength);
				
			}
			
			
			command.text= temp.get(prefix.length(), temp.getLength() - prefix.length());
			
		} catch (BadLocationException e) {