Rebol Programming/caret-to-offset

USAGE:

edit
CARET-TO-OFFSET face offset 

DESCRIPTION:

edit

Returns the offset position relative to the face of the character position.

CARET-TO-OFFSET is a native value.

ARGUMENTS

edit
  • face -- The face containing the text. (Type: object)
  • offset -- The offset in the text. (Type: any-string)

SOURCE CODE

edit
caret-to-offset: native[
    {Returns the offset position relative to the face of the character position.} 
    face [object!] "The face containing the text." 
    offset [any-string!] "The offset in the text."
]