setOffset

Modifies the position of a match in a document.

Syntax

edkmatch:setOffset(new_offset)

Arguments

Argument Description

new_offset

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

Returns

The new position of the match (in bytes).