< Rebol Programming

USAGE:

CARET-TO-OFFSET face offset 

DESCRIPTION:

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

CARET-TO-OFFSET is a native value.

ARGUMENTS

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

SOURCE CODE

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

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.