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

Bug 338183

Summary: Error in C/C++ search when pasting text with surrounding whitespaces
Product: [Tools] CDT Reporter: Marko Tomljenovic <marko.tomljenovic>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact: Doug Schaefer <cdtdoug>
Severity: normal    
Priority: P3    
Version: 7.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Error when pasting wihtespace surrounded text
none
Corrected class source code none

Description Marko Tomljenovic CLA 2011-02-25 03:44:43 EST
Build Identifier: 7.0.1b

When I copy some text outside of Eclipse that contains surrounding whitespaces and I copy the text in the "Search string" field of the C/C++ search an error occurs.

e.g. use this text

"text   "

Reproducible: Always

Steps to Reproduce:
See details
Comment 1 Marko Tomljenovic CLA 2011-02-25 03:45:15 EST
Created attachment 189775 [details]
Error when pasting wihtespace surrounded text
Comment 2 Marko Tomljenovic CLA 2011-02-25 03:46:52 EST
Created attachment 189776 [details]
Corrected class source code
Comment 3 Markus Schorn CLA 2011-02-25 03:56:35 EST

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