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?]{
Repaints a region of the editor, generally called by an editor
administrator. See @secref["editorthreads"] for information about
edit sequences and refresh requests.
The @scheme[x], @scheme[y], @scheme[width], and @scheme[height] arguments specify
the area that needs repainting in editor coordinates.
administrator. The @scheme[x], @scheme[y], @scheme[width], and
@scheme[height] arguments specify the area that needs repainting in
editor coordinates. The @method[editor-admin% get-dc] method of the
editor's administrator (as returned by @method[editor<%> get-admin])
supplies the target @scheme[dc<%>] object and offset for drawing.
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
@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}.
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$
positions: one position before each item, and one position after the
last item.
@deftech{position}. A text editor with @math{n} items contains
@math{n+1} positions: one position before each item, and one position
after the last item.
The order of snips within a pasteboard determines each snip's drawing
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.
The default value uses the built-in printer (see
@secref["printing"]) in @scheme[write] mode.}