Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ simpleSelection
Function
simpleSelection
lib/web/CodeMirror/src/model/selection.js:82–84 ·
view source on GitHub ↗
(anchor, head)
Source
from the content-addressed store, hash-verified
80
}
81
82
export
function
simpleSelection(anchor, head) {
83
return
new
Selection([
new
Range(anchor, head || anchor)], 0)
84
}
Callers
7
Doc
Function · 0.90
Doc.js
File · 0.90
setSimpleSelection
Function · 0.90
pollSelection
Method · 0.90
onContextMenu
Method · 0.90
markAsReadAndPasteIfAllFilesAreRead
Function · 0.90
onDrop
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected