9.23  snip%

A direct instance of snip% is uninteresting. Useful snips are defined by instantiating derived subclasses, but this class defines the basic functionality.

In deriving a new snip class, these methods must be overridden to create a useful snip:

If a snip can contain more than one item, then the snip's count must be maintained as well.

To define a class of snips that can be saved or cut-and-pasted:

To define a class of snips that read specially with open-input-text-editor:

Methods
    adjust-cursor
    blink-caret
    can-do-edit-operation? (augmentable only)
    copy
    do-edit-operation
    draw
    find-scroll-step
    get-admin
    get-count
    get-extent
    get-flags
    get-num-scroll-steps
    get-scroll-step-offset
    get-snipclass
    get-style
    get-text
    get-text!
    is-owned?
    match?
    merge-with
    next
    on-char
    on-event
    own-caret
    partial-offset
    previous
    release-from-owner
    resize
    set-admin
    set-count
    set-flags
    set-snipclass
    set-style
    set-unmodified
    size-cache-invalid
    split
    write