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

Method graphemeAt

src/utils/Cursor.ts:980–984  ·  view source on GitHub ↗
(pos: number)

Source from the content-addressed store, hash-verified

978 }
979
980 private graphemeAt(pos: number): string {
981 if (pos >= this.text.length) return ''
982 const nextOff = this.measuredText.nextOffset(pos)
983 return this.text.slice(pos, nextOff)
984 }
985
986 private isOverWhitespace(): boolean {
987 const currentChar = this.text[this.offset] ?? ''

Callers 4

nextVimWordMethod · 0.95
endOfVimWordMethod · 0.95
prevVimWordMethod · 0.95
findCharacterMethod · 0.95

Calls 1

nextOffsetMethod · 0.80

Tested by

no test coverage detected