Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 103101

Summary: Copying a folded coment only copies first line and not whole block
Product: [Eclipse Project] JDT Reporter: Timothy Mowlem <tmowlem>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Timothy Mowlem CLA 2005-07-07 18:58:34 EDT
If you select a folded comment and try and copy it then only the first line is copied. The behaviour of a 
folded block would be more consistent if selecting a folded comment selected the whole block for 
subsequent operations such as copy, cut, paste, drag, etc.
Comment 1 Helen Beeken CLA 2005-07-08 03:28:28 EDT
Transferring this to the JDT-ui team as this is to do with the java editor.
Comment 2 Dani Megert CLA 2005-07-11 05:54:25 EDT
Note that selection must be complete i.e. contain the last newline:

<start selection>folded line
<end selection><caret>
Comment 3 Timothy Mowlem CLA 2005-07-18 16:14:16 EDT
(In reply to comment #2)
> Note that selection must be complete i.e. contain the last newline:
> 
> <start selection>folded line
> <end selection><caret>

YesDaniel, confirmed. Will  therefore close  this as  AS  DESIGNED.