REBOL Programming/hilight-all

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

HILIGHT-ALL face 

DESCRIPTION:[edit]

(undocumented)

HILIGHT-ALL is a function value.

ARGUMENTS[edit]

  • face -- (Type: any)

SOURCE CODE[edit]

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