MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isCellInSelection

Method isCellInSelection

src/server/web/public/terminal.js:2071–2074  ·  view source on GitHub ↗
(e3, t3)

Source from the content-addressed store, hash-verified

2069 return !!(i3 && s3 && t3) && this._areCoordsInSelection(t3, i3, s3);
2070 }
2071 isCellInSelection(e3, t3) {
2072 const i3 = this._model.finalSelectionStart, s3 = this._model.finalSelectionEnd;
2073 return !(!i3 || !s3) && this._areCoordsInSelection([e3, t3], i3, s3);
2074 }
2075 _areCoordsInSelection(e3, t3, i3) {
2076 return e3[1] > t3[1] && e3[1] < i3[1] || t3[1] === i3[1] && e3[1] === t3[1] && e3[0] >= t3[0] && e3[0] < i3[0] || t3[1] < i3[1] && e3[1] === i3[1] && e3[0] < i3[0] || t3[1] < i3[1] && e3[1] === t3[1] && e3[0] >= t3[0];
2077 }

Callers

nothing calls this directly

Calls 1

_areCoordsInSelectionMethod · 0.80

Tested by

no test coverage detected