add the get-autowrap-bitmap-width method to text%
This commit is contained in:
parent
64bc7d4e85
commit
5052e82518
|
@ -807,6 +807,12 @@ Returns @racket[#t] if the selection is currently auto-extending. See
|
|||
|
||||
}
|
||||
|
||||
@defmethod[(get-autowrap-bitmap-width) (and/c real? (not/c negative?))]{
|
||||
Returns the width of the bitmap last passed to @method[text% set-autowrap-bitmap]
|
||||
or @racket[zero?] if no bitmap has been passed to @method[text% set-autowrap-bitmap] or
|
||||
if @racket[#f] was most recently passed.
|
||||
}
|
||||
|
||||
@defmethod[(get-between-threshold)
|
||||
(and/c real? (not/c negative?))]{
|
||||
|
||||
|
|
|
@ -4953,6 +4953,8 @@
|
|||
|
||||
old)))
|
||||
|
||||
(def/public (get-autowrap-bitmap-width) wrap-bitmap-width)
|
||||
|
||||
;; ----------------------------------------
|
||||
|
||||
;; notifies the administrator that we need to be redrawn
|
||||
|
|
Loading…
Reference in New Issue
Block a user