Rebol Programming/hilight-all

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

HILIGHT-ALL face 

DESCRIPTION:[edit | edit source]

(undocumented)

HILIGHT-ALL is a function value.

ARGUMENTS[edit | edit source]

  • face -- (Type: any)

SOURCE CODE[edit | edit source]

hilight-all: func [face][
    either empty? face/text [unlight-text] [
        highlight-start: head face/text 
        highlight-end: tail face/text
    ]
]