19 Mode
(send a-mode:surrogate-text on-enable-surrogate) → any
Called by set-surrogate to notify the surrogate that it has just become active.
(send a-mode:surrogate-text on-disable-surrogate) → any
Called by set-surrogate to notify the surrogate that it has just been disabled.
superclass: object% | ||
|
orig
call-inner)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
Returns the result of invoking call-super.
orig
call-super
event)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
event : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-default-char
orig
call-super
event)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
event : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-default-event
orig
call-super
event)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
event : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-display-size
orig
call-inner)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-edit-sequence
orig
call-inner)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
Returns the result of invoking call-super.
orig
call-super
event)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
event : any/c
Returns the result of invoking call-super.
orig
call-super
on?)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
on? : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-load-file
orig
call-inner
filename
format)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
filename : any/c
format : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-local-char
orig
call-super
event)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
event : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-local-event
orig
call-super
event)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
event : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-new-box
orig
call-super
type)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
type : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-new-image-snip
orig
call-super
filename
kind
relative-path?
inline?)
→ any
orig : (is-a?/ctext%)
call-super : (->any)
filename : any/c
kind : any/c
relative-path? : any/c
inline? : any/c
Returns the result of invoking call-super.
orig
call-super
before?
dc
left
top
right
bottom
dx
dy
draw-caret)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
before? : any/c
dc : any/c
left : any/c
top : any/c
right : any/c
bottom : any/c
dx : any/c
dy : any/c
draw-caret : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-save-file
orig
call-inner
filename
format)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
filename : any/c
format : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-snip-modified
orig
call-inner
snip
modified?)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
snip : any/c
modified? : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-change-style
orig
call-inner
start
len)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
orig
call-inner
start
len)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
orig
call-inner
start
len)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-new-string-snip
orig
call-super)
→ any
orig : (is-a?/ctext%)
call-super : (->any)
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-new-tab-snip
orig
call-super)
→
any
orig : (is-a?/ctext%)
call-super : (->any)
Returns the result of invoking call-super.
(send a-mode:surrogate-text on-set-size-constraint
orig
call-inner)
→ any
orig : (is-a?/ctext%)
call-inner : (->any)
Returns the result of invoking call-super.
(send a-mode:surrogate-text after-change-style
orig
call-inner
start
len)
→ any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text after-delete
orig
call-inner
start
len)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text after-insert
orig
call-inner
start
len)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text after-set-position
orig
call-inner)
→ any
orig : (is-a?/ctext%)
call-inner : (->any)
Returns the result of invoking call-super.
(send a-mode:surrogate-text after-set-size-constraint
orig
call-inner)
→ any
orig : (is-a?/ctext%)
call-inner : (->any)
Returns the result of invoking call-super.
(send a-mode:surrogate-text after-edit-sequence
orig
call-inner)
→ any
orig : (is-a?/ctext%)
call-inner : (->any)
Returns the result of invoking call-super.
(send a-mode:surrogate-text after-load-file
orig
call-inner
success?)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
success? : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text after-save-file
orig
call-inner
success?)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
success? : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text can-change-style?
orig
call-inner
start
len)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text can-delete?
orig
call-inner
start
len)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text can-insert?
orig
call-inner
start
len)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
start : any/c
len : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text can-set-size-constraint?
orig
call-inner)
→ any
orig : (is-a?/ctext%)
call-inner : (->any)
Returns the result of invoking call-super.
(send a-mode:surrogate-text can-do-edit-operation?
orig
call-super
op)
→ any
orig : (is-a?/ctext%)
call-super : (->any)
op : any/c
(send a-mode:surrogate-text can-do-edit-operation?
orig
call-super
op
recursive?)
→ any
orig : (is-a?/ctext%)
call-super : (->any)
op : any/c
recursive? : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text can-load-file?
orig
call-inner
filename
format)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
filename : any/c
format : any/c
Returns the result of invoking call-super.
(send a-mode:surrogate-text can-save-file?
orig
call-inner
filename
format)
→
any
orig : (is-a?/ctext%)
call-inner : (->any)
filename : any/c
format : any/c
Returns the result of invoking call-super.
(send a-mode:host-text get-surrogate)
Returns the currently active surrogate.
(send a-mode:host-text set-surrogate surrogate) → void?
surrogate : (or/c false/c (is-a?/c mode:surrogate-text<%>))
Sets the current surrogate to surrogate.
mode:host-text-mixin : (class? . -> . class?) | ||
|
Delegates to the result of get-surrogate if it is not #f.
event : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-default-char event) → any
event : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-default-event event) → any
event : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-display-size) → any
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-edit-sequence) → any
Delegates to the result of get-surrogate if it is not #f.
event : any/c
Delegates to the result of get-surrogate if it is not #f.
on? : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-load-file
filename
format)
→
any
filename : any/c
format : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-local-char event) → any
event : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-local-event event) → any
event : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-new-box type) → any
type : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-new-image-snip
filename
kind
relative-path?
inline?)
→
any
filename : any/c
kind : any/c
relative-path? : any/c
inline? : any/c
Delegates to the result of get-surrogate if it is not #f.
before?
dc
left
top
right
bottom
dx
dy
draw-caret)
→
any
before? : any/c
dc : any/c
left : any/c
top : any/c
right : any/c
bottom : any/c
dx : any/c
dy : any/c
draw-caret : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-save-file
filename
format)
→
any
filename : any/c
format : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-snip-modified
snip
modified?)
→
any
snip : any/c
modified? : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-change-style
start
len)
→
any
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-new-string-snip) → any
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-new-tab-snip) → any
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text on-set-size-constraint) → any
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text after-change-style
start
len)
→
any
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text after-delete
start
len)
→
any
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text after-insert
start
len)
→
any
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text after-set-position) → any
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text after-set-size-constraint) → any
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text after-edit-sequence) → any
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text after-load-file success?) → any
success? : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text after-save-file success?) → any
success? : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text can-change-style?
start
len)
→
any
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text can-delete?
start
len)
→
any
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text can-insert?
start
len)
→
any
start : any/c
len : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text can-set-size-constraint?) → any
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text can-do-edit-operation? op) → any
op : any/c
(send a-mode:host-text can-do-edit-operation?
op
recursive?)
→
any
op : any/c
recursive? : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text can-load-file?
filename
format)
→
any
filename : any/c
format : any/c
Delegates to the result of get-surrogate if it is not #f.
(send a-mode:host-text can-save-file?
filename
format)
→
any
filename : any/c
format : any/c
Delegates to the result of get-surrogate if it is not #f.