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

Bug 350433

Summary: [formatter] Line wrapping if occured sequence "\ua" or "\ud"
Product: [Tools] CDT Reporter: George Troynikov <tgm80>
Component: cdt-editorAssignee: Anton Leherbauer <aleherb+eclipse>
Status: RESOLVED FIXED QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug, yevshif
Version: 8.0   
Target Milestone: 8.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description George Troynikov CLA 2011-06-27 08:31:00 EDT
Build Identifier: 20110615-0604

Line wrapping if occured sequence "\ua" or "\ud"
with all built-in code styles.


Example 1.

Before:
#include "test\udp.h"

After formatting:
#include "test\u
dp.h"


Example 2.

Before:
#define test ".\uart"

After formatting:
#define test ".\u
art"

Reproducible: Always

Steps to Reproduce:
1. Add any line with sequence "\ua" or "\ud"
2. ctrl+shift+F
Comment 1 Anton Leherbauer CLA 2011-08-08 03:10:07 EDT
Fixed in master and 8.0.1.
Comment 2 CDT Genie CLA 2011-08-08 03:23:02 EDT
*** cdt git genie on behalf of Anton Leherbauer ***

    Bug 350433 - [formatter] Line wrapping if &quot;\ua&quot; or &quot;\ud&quot; occurs in preprocessor directive

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=b7382e51f175a37e7bec706990f9fc6b3bb818b8
Comment 3 CDT Genie CLA 2011-08-08 03:23:04 EDT
*** cdt git genie on behalf of Anton Leherbauer ***

    Bug 350433 - [formatter] Line wrapping if &quot;\ua&quot; or &quot;\ud&quot; occurs in preprocessor directive

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=e83262d1dde0c395dd18f2444e0d0bed9e896039