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

Method getWrappedRangeForLine

src/server/web/public/terminal.js:4015–4020  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

4013 return r2 ? r2.translateToString(t3, i3, s3) : "";
4014 }
4015 getWrappedRangeForLine(e3) {
4016 let t3 = e3, i3 = e3;
4017 for (; t3 > 0 && this.lines.get(t3).isWrapped; ) t3--;
4018 for (; i3 + 1 < this.lines.length && this.lines.get(i3 + 1).isWrapped; ) i3++;
4019 return { first: t3, last: i3 };
4020 }
4021 setupTabStops(e3) {
4022 for (null != e3 ? this.tabs[e3] || (e3 = this.prevStop(e3)) : (this.tabs = {}, e3 = 0); e3 < this._cols; e3 += this._optionsService.rawOptions.tabStopWidth) this.tabs[e3] = true;
4023 }

Callers 1

_selectLineAtMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected