Rebol Programming/unfocus

USAGE:

edit
UNFOCUS 

DESCRIPTION:

edit

Removes the current key event focus.

UNFOCUS is a function value.

SOURCE CODE

edit
unfocus: func [
    "Removes the current key event focus." 
    /local tmp-face
][
    tmp-face: focal-face 
    focal-face: none 
    caret: none 
    unlight-text 
    if tmp-face [show tmp-face]
]