9.9 editor-snip%
Superclass: snip%
An editor-snip% object is a snip% object that
contains and displays an editor<%> object. This snip class is used
to insert an editor as a single item within another editor.
(->neweditor-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=#f:text%object or#f
with-border?=#t: boolean
left-margin=5: exact non-negative integer
top-margin=5: exact non-negative integer
right-margin=5: exact non-negative integer
bottom-margin=5: exact non-negative integer
left-inset=1: exact non-negative integer
top-inset=1: exact non-negative integer
right-inset=1: exact non-negative integer
bottom-inset=1: exact non-negative integer
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'noneIf
editoris non-#f, then it will be used as the editor contained by the snip. See alsoset-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-marginarguments. The border will be drawn with an inset specified by the-insetarguments.See
get-insetandget-marginfor 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
style-background-used?
use-style-background
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? (augmentable only) 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%
style-background-used? from editor-snip%
use-style-background from editor-snip%
write from snip%