MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / graphemeAt

Method graphemeAt

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

Source from the content-addressed store, hash-verified

953 }
954
955 private graphemeAt(pos: number): string {
956 if (pos >= this.text.length) return ''
957 const nextOff = this.measuredText.nextOffset(pos)
958 return this.text.slice(pos, nextOff)
959 }
960
961 private isOverWhitespace(): boolean {
962 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