KetraTerm
API · DevelopmentAll versions

replacementFor

Returns the validated replacement plan for this suggestion and request.

Replacement ranges are validated against the command text and request cursor. Malformed UTF-16 offsets and offsets inside an extended grapheme cluster return null instead of producing partial user-perceived characters.

Return

validated replacement plan, or null when the request/range is invalid.

Parameters

request

command-line request that produced this suggestion.