Bug 72869 - [typing] Copy should unescape copy from string
Summary: [typing] Copy should unescape copy from string
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: Other All
: P3 enhancement with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 81821 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-30 07:07 EDT by Robin Rosenberg CLA
Modified: 2018-11-08 04:44 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Rosenberg CLA 2004-08-30 07:07:31 EDT
When the setting to escape pasting into quotes is in effect, the reverse should 
happen when copying from inside quoted text. 
 
When I paste ^(([\w]+:)?[\w]+|\..?)$ inside quotes 
I get ^(([\\w]+:)?[\\w]+|\\..?)$ 
So I'd expect the original when copying from the string and pasting into e.g. 
kregexpeditor
Comment 1 Dani Megert CLA 2004-12-23 02:17:15 EST
*** Bug 81821 has been marked as a duplicate of this bug. ***
Comment 2 Marek Kozie³ <Lasu> CLA 2009-04-16 16:53:58 EDT
Hi.
This should be new option under:
"Escape text when pasting into string literal"

like:
"Unescape text when copying from string literal"
and should work only if copying is done inside ONE string.

In my opinion.
Comment 3 D T CLA 2018-11-08 04:44:40 EST
Was this issue forgotten? This bothers me all the time. Especially since its almost impossible to do correctly for complex regex expressions.