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
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ initialState:
finalState:
documentContents: |-
hello world

hello
selections:
- anchor: {line: 0, character: 0}
Expand Down
5 changes: 3 additions & 2 deletions data/fixtures/recorded/positions/bringWhaleToBeforeFile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ initialState:
finalState:
documentContents: |-
world

hello world
selections:
- anchor: {line: 1, character: 0}
active: {line: 1, character: 0}
- anchor: {line: 2, character: 0}
active: {line: 2, character: 0}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ initialState:
finalState:
documentContents: |-
hello world

hello
selections:
- anchor: {line: 0, character: 11}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ initialState:
finalState:
documentContents: |-
world

hello world
selections:
- anchor: {line: 1, character: 11}
active: {line: 1, character: 11}
- anchor: {line: 2, character: 11}
active: {line: 2, character: 11}
2 changes: 1 addition & 1 deletion data/fixtures/scopes/textual/document.scope
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ ccc
5| ccc
---<

[Insertion delimiter] = "\n"
[Insertion delimiter] = "\n\n"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { PlainTarget } from "./PlainTarget";
export class DocumentTarget extends BaseTarget<CommonTargetParameters> {
type = "DocumentTarget";
textualType: TextualType = "line";
insertionDelimiter = "\n";
insertionDelimiter = "\n\n";

constructor(parameters: CommonTargetParameters) {
super(parameters);
Expand Down
Loading