-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proper handing of raw strings in rust (#2681)
Fixes #2678 ## Checklist - [x] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [/] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [/] I have not broken the cheatsheet
- Loading branch information
1 parent
ca31335
commit d6cc6f9
Showing
4 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"aaa" | ||
r#"bbb"# | ||
r##"ccc"## | ||
--- | ||
|
||
[#1 Content] = | ||
[#1 Removal] = | ||
[#1 Domain] = 0:0-0:5 | ||
>-----< | ||
0| "aaa" | ||
|
||
[#1 Insertion delimiter] = " " | ||
|
||
|
||
[#2 Content] = | ||
[#2 Removal] = | ||
[#2 Domain] = 1:0-1:8 | ||
>--------< | ||
1| r#"bbb"# | ||
|
||
[#2 Insertion delimiter] = " " | ||
|
||
|
||
[#3 Content] = | ||
[#3 Removal] = | ||
[#3 Domain] = 2:0-2:10 | ||
>----------< | ||
2| r##"ccc"## | ||
|
||
[#3 Insertion delimiter] = " " |
30 changes: 30 additions & 0 deletions
30
data/fixtures/scopes/rust/textFragment.string.singleLine.scope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"aaa" | ||
r#"bbb"# | ||
r##"ccc"## | ||
--- | ||
|
||
[#1 Content] = | ||
[#1 Removal] = | ||
[#1 Domain] = 0:1-0:4 | ||
>---< | ||
0| "aaa" | ||
|
||
[#1 Insertion delimiter] = " " | ||
|
||
|
||
[#2 Content] = | ||
[#2 Removal] = | ||
[#2 Domain] = 1:3-1:6 | ||
>---< | ||
1| r#"bbb"# | ||
|
||
[#2 Insertion delimiter] = " " | ||
|
||
|
||
[#3 Content] = | ||
[#3 Removal] = | ||
[#3 Domain] = 2:4-2:7 | ||
>---< | ||
2| r##"ccc"## | ||
|
||
[#3 Insertion delimiter] = " " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters