Bug 70908 - java text copy don't want to copy selected text
Summary: java text copy don't want to copy selected text
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-07-27 10:56 EDT by D. FAYARD CLA
Modified: 2007-06-22 10:04 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 D. FAYARD CLA 2004-07-27 10:56:54 EDT
in a java editor, having the following text (2 lines):

   sttmnt.executeUpdate(((FileTask) FileTasks.elementAt(i)).getText());
   //DwgObject.log("DwgXmlSession.execute : execute order : " + ((DwgXmlTask) 
XmlTask.elementAt(i)).getText()); //$NON-NLS-1$

if you want to copy (Ctrl+C or Edit Menu + Copy) these 2 selected lines, you 
can't !
When you go to another text editor, for example notepad, you have nothing in 
the clipboard.
i found when you remove the first "//" it seems to be ok
Comment 1 Dani Megert CLA 2004-07-27 11:00:57 EDT
Which build?
How do you select those lines exactly?
Comment 2 Dani Megert CLA 2004-07-27 11:04:41 EDT
Some more questions:
- anything in .log
- is folding enabled?
- is [ ] Update imports on paste checked'

Could you export and attach your preferences?
Comment 3 Dani Megert CLA 2004-07-27 11:07:36 EDT
I cannot reproduce this using R3.0
Comment 4 Dani Megert CLA 2004-07-28 02:54:42 EDT
please reopen when requested information has been provided.
Comment 5 D. FAYARD CLA 2004-07-28 05:14:59 EDT
i had a workspace isuued from eclipse v2.1 with a lot of informations in 
directory ".metadata\.plugins" . i removed these files and now a can't 
reproduce the problem.
Thanks.
Comment 6 Dani Megert CLA 2007-06-22 09:58:55 EDT
Get rid of deprecated state.
Comment 7 Dani Megert CLA 2007-06-22 10:04:17 EDT
.