Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions data/fixtures/scopes/csharp/comment.block.scope
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
Hello
world
*/
Expand All @@ -7,8 +7,8 @@
[Content] =
[Removal] =
[Domain] = 0:0-3:2
>---
0| /*
>--
0| /*
1| Hello
2| world
3| */
Expand Down
4 changes: 2 additions & 2 deletions data/fixtures/scopes/csharp/string.singleLine.scope
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"hello world";
"hello world";
---

[Content] =
[Removal] =
[Domain] = 0:0-0:13
>-------------<
0| "hello world";
0| "hello world";

[Insertion delimiter] = " "
33 changes: 14 additions & 19 deletions data/fixtures/scopes/dart/className.scope
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
class MyClass {

}
class Foo {}
---

[Content] = 0:6-0:13
>-------<
0| class MyClass {
[Content] = 0:6-0:9
>---<
0| class Foo {}

[Removal] = 0:6-0:14
>--------<
0| class MyClass {
[Removal] = 0:6-0:10
>----<
0| class Foo {}

[Leading delimiter] = 0:5-0:6
>-<
0| class MyClass {
0| class Foo {}

[Trailing delimiter] = 0:13-0:14
>-<
0| class MyClass {
[Trailing delimiter] = 0:9-0:10
>-<
0| class Foo {}

[Domain] = 0:0-2:1
>---------------
0| class MyClass {
1|
2| }
-<
[Domain] = 0:0-0:12
>------------<
0| class Foo {}

[Insertion delimiter] = " "
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/**
* hello
* world
*/
Expand All @@ -7,8 +7,8 @@
[Content] =
[Removal] =
[Domain] = 0:0-3:2
>----
0| /**
>---
0| /**
1| * hello
2| * world
3| */
Expand Down
12 changes: 6 additions & 6 deletions data/fixtures/scopes/python/condition/condition.if.scope
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if True: pass
elif False: pass
elif False: pass
else: pass
---

Expand All @@ -18,7 +18,7 @@ else: pass
[#1 Domain] = 0:0-2:10
>-------------
0| if True: pass
1| elif False: pass
1| elif False: pass
2| else: pass
----------<

Expand All @@ -27,18 +27,18 @@ else: pass

[#2 Content] = 1:5-1:10
>-----<
1| elif False: pass
1| elif False: pass

[#2 Removal] = 1:4-1:10
>------<
1| elif False: pass
1| elif False: pass

[#2 Leading delimiter] = 1:4-1:5
>-<
1| elif False: pass
1| elif False: pass

[#2 Domain] = 1:0-1:16
>----------------<
1| elif False: pass
1| elif False: pass

[#2 Insertion delimiter] = " "
6 changes: 3 additions & 3 deletions data/fixtures/scopes/rust/ifStatement.scope
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
if true {}
if true {}
else {};
---

[Content] =
[Removal] =
[Domain] = 0:0-1:7
>-----------
0| if true {}
>----------
0| if true {}
1| else {};
-------<

Expand Down
Loading