Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Support for C++11 raw/unicode strings #158

Merged
merged 1 commit into from
Aug 23, 2016
Merged

Conversation

hansonw
Copy link
Contributor

@hansonw hansonw commented Aug 22, 2016

Fixes #117. This is a direct port of @infininight's corresponding code in

Wrote some unit tests and opened a real file with C++11 raw strings.

@hansonw hansonw changed the title Support for C++11 raw/unicode strings. Fixes #117 Support for C++11 raw/unicode strings Aug 22, 2016
expect(lines[0][0]).toEqual value: 'string str = ', scopes: ['source.cpp']
expect(lines[0][1]).toEqual value: 'R"', scopes: ['source.cpp', 'string.quoted.double.raw.c++', 'punctuation.definition.string.begin.c++']
expect(lines[0][2]).toEqual value: '01234567890123456', scopes: [
'source.cpp',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep these on the same line. Thanks!

@winstliu
Copy link
Contributor

Thanks for this @hansonw. One thing - can you change all the .c++s to .cpp? We ran into some conflicts with using c++ so all the scopes got changed to cpp instead.

@hansonw
Copy link
Contributor Author

hansonw commented Aug 23, 2016

Thanks @50Wliu. Made the requested changes

@winstliu winstliu merged commit 0ec2abf into atom:master Aug 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants