# Clipboard

The clipboard lives at text/clip.fs and seamlessly integrates with both the
end and ged editors.

It provides buffer of CLIPBOARDSZ length defined with the name "clipboard".
Its role is to allow to copy or move existing text around.

It exposes these convenience words:

clipboard[] ( -- a u )
  Yields the range of the last clipped content. u=0 if there is none.

clipclear ( -- )
  Clears the clipboard.

clipemit ( c -- )
  Emits (appends) one character to the clipboard.


clip[ ... ]clip
  Appends what ... emits to the clipboard

cliprun
  Runs/executes/injects forth code in the clipboard

cliprun" prefix"
  First runs prefix and then the code in the clipboard. Useful to e.g. define
  a word from contents in the clipboard.
