Last modified on 27 October 2012, at 22:16

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.

ARGUMENTSEdit

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

SOURCE CODEEdit

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."
]

{{BookCat}}