add the get-autowrap-bitmap-width method to text%
original commit: 5052e8251871046767e1851d078b883b4d829693
This commit is contained in:
parent
269e2f583c
commit
479772fbbb
|
@ -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