Bug 113376

Summary: [javadoc][assist] wrong overwrite range on completion followed by a tag
Product: [Eclipse Project] JDT Reporter: Tom Hofmann <eclipse>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M3   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description Tom Hofmann CLA 2005-10-21 13:02:21 EDT
I20051018

- settings: 
  - add imports instead of qualified name: yes
  - overwrite proposals: yes
- consider below fragment
- code assist at caret (|)
- select "java.util.Collections"
-> note that the proposed replace range covers the entire second @see line

/**
 * 
 * @see java.util.Collection|
 * @see java.util.List#add(Object)
 */
public class JavaDocTest<TYPE> {
}
Comment 1 Tom Hofmann CLA 2005-10-21 13:16:57 EDT
similar issue here:

/**
 * {@link String.|}
 * 
 * @see java.util.Collection
 * @see java.util.List#add(Object)
 */
Comment 2 Frederic Fusier CLA 2005-10-21 18:32:58 EDT
Fixed and released in HEAD.

Test case added in JavadocBugsCompletionModelTest
Comment 3 David Audel CLA 2005-10-31 06:44:52 EST
Verified for 3.2 M3 using build I20051031-0010