editor-snip%
Superclass: snip%
An editor-snip% object is a snip% object that
contains and displays a editor<%> object. This snip class is used
to insert an editor as a single item within another editor.
( -> new editor-snip% [(editor _)] [(with-border? _)] [(left-margin _)] [(top-margin _)] [(right-margin _)] [(bottom-margin _)] [(left-inset _)] [(top-inset _)] [(right-inset _)] [(bottom-inset _)] [(min-width _)] [(max-width _)] [(min-height _)] [(max-height _)])editor-snip% object
editor = : #ftext% object or #f
with-border? = : boolean
#t
left-margin = : exact non-negative integer
5
top-margin = : exact non-negative integer
5
right-margin = : exact non-negative integer
5
bottom-margin = : exact non-negative integer
5
left-inset = : exact non-negative integer
1
top-inset = : exact non-negative integer
1
right-inset = : exact non-negative integer
1
bottom-inset = : exact non-negative integer
1
min-width = : non-negative real number or 'none'none
max-width = : non-negative real number or 'none'none
min-height = : non-negative real number or 'none'none
max-height = : non-negative real number or 'none'none
If editor is non-#f, then it will be used as the editor
contained by the snip. See also
set-editor.
If with-border? is not #f, then a border will be drawn
around the snip. The editor display will be inset in the snip area by
the amounts specified in the -margin arguments. The border
will be drawn with an inset specified by the -inset arguments.
See
get-inset and
get-margin for information about the inset and margin arguments.
Methods
adjust-cursor
border-visible?
get-align-top-line
get-editor
get-extent
get-inset
get-margin
get-max-height
get-max-width
get-min-height
get-min-width
get-tight-text-fit
resize
set-align-top-line
set-editor
set-inset
set-margin
set-max-height
set-max-width
set-min-height
set-min-width
set-tight-text-fit
show-border
All Methods
adjust-cursor from editor-snip%
overrides adjust-cursor from snip%
blink-caret from snip%
border-visible? from editor-snip%
can-do-edit-operation? from snip%
copy from snip%
do-edit-operation from snip%
draw from snip%
find-scroll-step from snip%
get-admin from snip%
get-align-top-line from editor-snip%
get-count from snip%
get-editor from editor-snip%
get-extent from editor-snip%
overrides get-extent from snip%
get-flags from snip%
get-inset from editor-snip%
get-margin from editor-snip%
get-max-height from editor-snip%
get-max-width from editor-snip%
get-min-height from editor-snip%
get-min-width from editor-snip%
get-num-scroll-steps from snip%
get-scroll-step-offset from snip%
get-snipclass from snip%
get-style from snip%
get-text from snip%
get-text! from snip%
get-tight-text-fit from editor-snip%
is-owned? from snip%
match? from snip%
merge-with from snip%
next from snip%
on-char from snip%
on-event from snip%
own-caret from snip%
partial-offset from snip%
previous from snip%
release-from-owner from snip%
resize from editor-snip%
overrides resize from snip%
set-admin from snip%
set-align-top-line from editor-snip%
set-count from snip%
set-editor from editor-snip%
set-flags from snip%
set-inset from editor-snip%
set-margin from editor-snip%
set-max-height from editor-snip%
set-max-width from editor-snip%
set-min-height from editor-snip%
set-min-width from editor-snip%
set-snipclass from snip%
set-style from snip%
set-tight-text-fit from editor-snip%
set-unmodified from snip%
show-border from editor-snip%
size-cache-invalid from snip%
split from snip%
write from snip%