clarification onf editor<%> refresh method

svn: r7461
This commit is contained in:
Matthew Flatt 2007-10-09 12:59:31 +00:00
parent 176a888bb4
commit f6088ad0e2
3 changed files with 12 additions and 8 deletions

View File

@ -1853,11 +1853,11 @@ See also @method[editor<%> add-undo].
void?]{ void?]{
Repaints a region of the editor, generally called by an editor Repaints a region of the editor, generally called by an editor
administrator. See @secref["editorthreads"] for information about administrator. The @scheme[x], @scheme[y], @scheme[width], and
edit sequences and refresh requests. @scheme[height] arguments specify the area that needs repainting in
editor coordinates. The @method[editor-admin% get-dc] method of the
The @scheme[x], @scheme[y], @scheme[width], and @scheme[height] arguments specify editor's administrator (as returned by @method[editor<%> get-admin])
the area that needs repainting in editor coordinates. supplies the target @scheme[dc<%>] object and offset for drawing.
See @|drawcaretdiscuss| for information about @scheme[draw-caret]. See @|drawcaretdiscuss| for information about @scheme[draw-caret].
@ -1867,6 +1867,9 @@ The @scheme[background] color corresponds to the background of the
background (or not paint the background of @scheme[background] is background (or not paint the background of @scheme[background] is
@scheme[#f]). @scheme[#f]).
See @secref["editorthreads"] for information about edit sequences and
refresh requests.
} }

View File

@ -204,9 +204,9 @@ Each selectable entity in an editor is an @deftech{item}. In a
@deftech{count}. @deftech{count}.
Each place where the insertion point can appear in a text editor is a Each place where the insertion point can appear in a text editor is a
@deftech{position}. A text editor with $n$ items contains $n+1$ @deftech{position}. A text editor with @math{n} items contains
positions: one position before each item, and one position after the @math{n+1} positions: one position before each item, and one position
last item. after the last item.
The order of snips within a pasteboard determines each snip's drawing The order of snips within a pasteboard determines each snip's drawing
plane. When two snips overlap within the pasteboard, the snip that is plane. When two snips overlap within the pasteboard, the snip that is

View File

@ -209,3 +209,4 @@ which is called by the default port print handler (see
@scheme[port-print-handler]) to @scheme[print] values into a port. @scheme[port-print-handler]) to @scheme[print] values into a port.
The default value uses the built-in printer (see The default value uses the built-in printer (see
@secref["printing"]) in @scheme[write] mode.} @secref["printing"]) in @scheme[write] mode.}