Bug 72869

Summary: [typing] Copy should unescape copy from string
Product: [Eclipse Project] JDT Reporter: Robin Rosenberg <robin.rosenberg>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: deepakazad, develop4lasu, hudsonr, ST-DDT
Version: 3.0   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:

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.