TextBuffer.getIterAtLineOffset

Obtains an iterator pointing to char_offset within the given line. The char_offset must exist, offsets off the end of the line are not allowed. Note characters, not bytes; UTF-8 may encode one character as multiple bytes.

class TextBuffer
void
getIterAtLineOffset

Parameters

iter TextIter

iterator to initialize. out

lineNumber int

line number counting from 0

charOffset int

char offset from start of line

Meta