setOffsetLength

Modifies the position of a match in a document.

Syntax

edkmatch:setOffsetLength(new_length)

Arguments

Argument Description
new_length

The new position of the match, in characters from the start of the text buffer.

Returns

The new position of the match (in characters).