Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350433 - [formatter] Line wrapping if occured sequence "\ua" or "\ud"
Summary: [formatter] Line wrapping if occured sequence "\ua" or "\ud"
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 8.0.1   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 08:31 EDT by George Troynikov CLA
Modified: 2011-08-08 03:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 "\ua" or "\ud" 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 "\ua" or "\ud" occurs in preprocessor directive

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