Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cursorless-dev/cursorless
/ getEdits
Method
getEdits
src/actions/InsertEmptyLines.ts:44–49 ·
view source on GitHub ↗
(ranges: Range[])
Source
from the content-addressed store, hash-verified
42
}
43
44
private getEdits(ranges: Range[]) {
45
return
ranges.map((range) => ({
46
range,
47
text:
"\n"
,
48
}));
49
}
50
51
async
run([targets]: [TypedSelection[]]): Promise<ActionReturnValue> {
52
const
results = flatten(
Callers
1
run
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected