added search context capability
svn: r10916
This commit is contained in:
parent
bbf9376115
commit
63ecb0ec4d
|
@ -298,6 +298,10 @@
|
|||
(or/c (cons/c string? string?) false/c)
|
||||
(cons "(define" "(define ...)"))
|
||||
|
||||
(drscheme:language:register-capability 'drscheme:help-context-term
|
||||
(or/c false/c string?)
|
||||
"")
|
||||
|
||||
(drscheme:language:register-capability 'drscheme:special:insert-fraction (flat-contract boolean?) #t)
|
||||
(drscheme:language:register-capability 'drscheme:special:insert-large-letters (flat-contract boolean?) #t)
|
||||
(drscheme:language:register-capability 'drscheme:special:insert-lambda (flat-contract boolean?) #t)
|
||||
|
|
|
@ -991,6 +991,12 @@ all of the names in the tools library, for use defining keybindings
|
|||
(cons "(define" "(define ...)")]{
|
||||
specifies the prefix that the define popup should look for and what
|
||||
label it should have, or @scheme[#f] if it should not appear at all}
|
||||
@cap[drscheme:help-context-term (or/c false/c string?) #f]{
|
||||
specifies a context query for documentation searches that are
|
||||
initiated in this language, can be @scheme[#f] (no change to the
|
||||
user's setting) or a string to be used as a context query (note: the
|
||||
context is later maintained as a cookie, @scheme[""] is different
|
||||
from @scheme[#f] in that it clears the stored context)}
|
||||
@cap[drscheme:special:insert-fraction boolean? #t]{
|
||||
determines if the insert fraction menu item in the special menu is
|
||||
visible}
|
||||
|
|
Loading…
Reference in New Issue
Block a user