Bug 113649 - [javadoc][assist] CompletionOnJavadocTag token is not correct
Summary: [javadoc][assist] CompletionOnJavadocTag token is not correct
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M3   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 06:39 EDT by David Audel CLA
Modified: 2005-10-31 06:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2005-10-25 06:39:10 EDT
CompletionJavadocParser#parseTag(int previousPosition) must extract the token
from 'tagSourceStart' to 'cursorLocation' instead of from 'tagSourceStart' to
'tagSourceEnd'.

The code should be : int length = this.cursorLocation-this.tagSourceStart+1;
Comment 1 Frederic Fusier CLA 2005-10-27 11:43:43 EDT
Fixed and released in HEAD.

Test cases added in JavadocCompletionParserTests
Comment 2 David Audel CLA 2005-10-31 06:35:30 EST
Verified for 3.2 M3 using build I20051031-0010