Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cursorless-dev/cursorless
/ useLineDecorations
Function
useLineDecorations
src/util/editDisplayUtils.ts:100–105 ·
view source on GitHub ↗
(selection: TypedSelection)
Source
from the content-addressed store, hash-verified
98
}
99
100
function
useLineDecorations(selection: TypedSelection) {
101
return
(
102
isLineSelectionType(selection.selectionType) &&
103
selection.position ===
"contents"
104
);
105
}
Callers
1
displayPendingEditDecorations
Function · 0.85
Calls
1
isLineSelectionType
Function · 0.90
Tested by
no test coverage detected