TextIter.forwardChars

Moves count characters if possible (if count would move past the start or end of the buffer, moves to the start or end of the buffer). The return value indicates whether the new position of iter is different from its original position, and dereferenceable (the last iterator in the buffer is not dereferenceable). If count is 0, the function does nothing and returns FALSE.

class TextIter
int
forwardChars
(
int count
)

Parameters

count int

number of characters to move, may be negative

Return Value

Type: int

whether iter moved and is dereferenceable

Meta