Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 150817 - Incorrect formatting on pasting a comment
Summary: Incorrect formatting on pasting a comment
Status: RESOLVED DUPLICATE of bug 65841
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-17 11:09 EDT by Randy Hudson CLA
Modified: 2006-07-17 11:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Hudson CLA 2006-07-17 11:09:09 EDT
If I am pasting:
"//Check condition x for y"
at the following locating:
\t\t<<CARET>>
\t\tfoo = value;

The result should be:
"\t\t//Check condition x for y"

Instead, I am seeing:
"//\t\tCheck condition x for y"

The latter formatting might make sense if I have code that has been temporarily commented out (CTRL+/). But it I think it is incorrect for "documentation".

BTW, if I then select the line and auto-format it, it fixes the "mistake".
Comment 1 Dani Megert CLA 2006-07-17 11:30:19 EDT

*** This bug has been marked as a duplicate of 65841 ***