Fixed various spelling errors.

original commit: c9519fd11300b07292df8619e86f48533eff6e4d
This commit is contained in:
David Van Horn 2011-02-02 14:56:42 -05:00 committed by Sam Tobin-Hochstadt
parent 13a61d62d7
commit 5007d739fc
16 changed files with 17 additions and 17 deletions

View File

@ -257,7 +257,7 @@ alignment<%>.
_stretchable-editor-snip-mixin_ gives an editor snip the
_stretchable-snip<%>_ interface allowing it to be stretched
to fit it's alignment-parent<%>'s alloted width. Stretchable
to fit its alignment-parent<%>'s alloted width. Stretchable
snips are useful as the snip of a snip-wrapper%.
_stretchable-editor-snip%_ is (stretcable-editor-snip-mixin editor-snip%)

View File

@ -81,7 +81,7 @@ t hat are labeled from a particular set of strings.}
Sets the tabbing order of @scheme[tabbable-text<%>]s by setting each
text's @method[tabbable-text<%> set-ahead] and
@method[tabbable-text<%> set-back] thunks to point to it's neighbor in
@method[tabbable-text<%> set-back] thunks to point to its neighbor in
the argument list.}

View File

@ -802,7 +802,7 @@
@scheme[filename].
@itemize[
@item{If a handler is found, it is applied to
@scheme[filename] and it's result is the final
@scheme[filename] and its result is the final
result.}
@item{If not, @scheme[make-default] is used.}]}]}
@item{If @scheme[filename] is @scheme[#f], @scheme[make-default] is

View File

@ -604,7 +604,7 @@
[(not contains)
;; Something went wrong matching. Should we get here?
(do-indent 0)]
#; ;; disable this to accomodate PLAI programs; return to this when a #lang capability is set up.
#; ;; disable this to accommodate PLAI programs; return to this when a #lang capability is set up.
[(curley-brace-sexp?)
;; when we are directly inside an sexp that uses {}s,
;; we indent in a more C-like fashion (to help Scribble)

View File

@ -33,7 +33,7 @@
(super-new [parent parent]
[cocoa (let ([cocoa (as-objc-allocation
;; Beware that a guage may be finally deallocated in
;; a seperate OS-level thread
;; a separate OS-level thread
(tell (tell MyProgressIndicator alloc) init))])
(tellv cocoa setIndeterminate: #:type _BOOL #f)
(tellv cocoa setMaxValue: #:type _double* rng)

View File

@ -216,7 +216,7 @@
(adjust-client-delta 0 h))
;; Hack: calls back into the mred layer to re-compute
;; sizes. By calling this early enough, the frame won't
;; grow if it doesn't have to grow to accomodate the menu bar.
;; grow if it doesn't have to grow to accommodate the menu bar.
(send this resized))
(define saved-enforcements (vector 0 0 -1 -1))

View File

@ -137,7 +137,7 @@
PFD_SUPPORT_GDI)
(bitwise-ior PFD_DRAW_TO_WINDOW)))
PFD_TYPE_RGBA ; color type
(if offscreen? 32 24) ; prefered color depth
(if offscreen? 32 24) ; preferred color depth
0 0 0 0 0 0 ; color bits (ignored)
0 ; no alpha buffer
0 ; alpha bits (ignored)

View File

@ -111,7 +111,7 @@
(when (and s-admin
(has-flag? s-flags USES-BUFFER-PATH))
;; propogate a filename change:
;; propagate a filename change:
(if (and editor
(no-permanent-filename? editor))
(let ([b (send s-admin get-editor)])

View File

@ -1039,7 +1039,7 @@ Debugging tools:
[next (mline-next mline)])
(when (or (not (eq? (mline-snip next) asnip))
(not (has-flag? (snip->flags (mline-last-snip next)) NEWLINE)))
;; Effect can propogate to more lines, merging the
;; Effect can propagate to more lines, merging the
;; next several. (Handle prefixing the remains of the source of
;; the extension to this line onto the next line. Implemented
;; as the next line eating the next->next line.)

View File

@ -255,7 +255,7 @@ has been moved out).
(or (and (not (skip-image-equality-fast-path)) ;; this is here to make testing more effective
(equal? (get-normalized-shape) (send that get-normalized-shape)))
(let ([w (+ 1 (round (inexact->exact (bb-right bb))))] ;; some shapes (ie, rectangles) draw 1 outside the bounding box
[h (+ 1 (round (inexact->exact (bb-bottom bb))))]) ;; so we make the bitmap slightly bigger to accomodate that.
[h (+ 1 (round (inexact->exact (bb-bottom bb))))]) ;; so we make the bitmap slightly bigger to accommodate that.
(or ;(zero? w)
;(zero? h)
(let ([bm1 (make-bitmap w h #t)]

View File

@ -50,7 +50,7 @@
(get-aligned-min-sizes type (find-first-snip)))))
;; set-algined-min-sizes (-> void?)
;; set the aligned min width and height of the pasteboard based on it's children snips
;; set the aligned min width and height of the pasteboard based on its children snips
(inherit in-edit-sequence?)
(define/public (aligned-min-sizes-invalid)
;; This in-edit-sequence? is not sound. It causes me to percollate invalidation

View File

@ -27,7 +27,7 @@ instead of this scaling code, we use the dc<%>'s scaling code.
; bmbytes: a bytes which represents an image --
; it's size is a multiple of 4, and each
; its size is a multiple of 4, and each
; four consecutive bytes represent alpha,r,g,b.

View File

@ -53,7 +53,7 @@
Any
@scheme[canvas%]
that matches this interface will automatically
resize selected snips when it's size changes. Use
resize selected snips when its size changes. Use
@method[canvas:wide-snip<%> add-tall-snip]
and
@method[canvas:wide-snip<%> add-wide-snip]

View File

@ -346,7 +346,7 @@
the filesystem.
The class that this mixin produces uses the same initialization
arguments as it's input.
arguments as its input.
@defmethod*[#:mode override (((set-filename (name string) (temp? boolean |#f|)) void))]{
Updates the filename on each frame displaying this editor, for each

View File

@ -156,7 +156,7 @@
objects in the framework.
The class that this mixin produces uses the same initialization
arguments as it's input.
arguments as its input.
@defmethod*[#:mode override (((on-paint (before? any/c) (dc (is-a?/c dc<%>)) (left real?) (top real?) (right real?) (bottom real?) (dx real?) (dy real?) (draw-caret (one-of/c (quote no-caret) (quote show-inactive-caret) (quote show-caret)))) void))]{
Draws the rectangles installed by

View File

@ -1285,7 +1285,7 @@ System:
Changed force-redraw to ignore refresh requests when the
redraw-requesting window is not shown. Redraw requests are now
propogated to the top-level frame or dialog via child-redraw-request.
propagated to the top-level frame or dialog via child-redraw-request.
- if your application is unititized, then you need to change the
startup procedure. See the application startup section in the
toolbox manual.
@ -1655,7 +1655,7 @@ Bug fixes, especially Motif and memory bugs
Rewrote editor line-maintenance
Faster caret updating
Upgraded garbage collector
File format changed to accomodate nested buffers with
File format changed to accommodate nested buffers with
separate style lists
Standard system standardized
Code changes for compiling on MSWindows (almost works...)