PR 9762
svn: r11776
This commit is contained in:
parent
081611f574
commit
1fa518f9d8
|
@ -816,9 +816,10 @@ profile todo:
|
|||
(or (send editor get-filename)
|
||||
untitled))))
|
||||
|
||||
;; open-and-highlight-in-file : srcloc -> void
|
||||
(define (open-and-highlight-in-file srclocs)
|
||||
(let ([sources (filter values (map srcloc-source srclocs))])
|
||||
;; open-and-highlight-in-file : (or/c srcloc (listof srcloc)) -> void
|
||||
(define (open-and-highlight-in-file raw-srcloc)
|
||||
(let* ([srclocs (if (srcloc? raw-srcloc) (list raw-srcloc) raw-srcloc)]
|
||||
[sources (filter values (map srcloc-source srclocs))])
|
||||
(unless (null? sources)
|
||||
(let* ([debug-source (car sources)]
|
||||
[same-src-srclocs
|
||||
|
|
|
@ -382,7 +382,7 @@ all of the names in the tools library, for use defining keybindings
|
|||
|
||||
(proc-doc/names
|
||||
drscheme:debug:open-and-highlight-in-file
|
||||
(srcloc? . -> . void?)
|
||||
((or/c srcloc? (listof srcloc?)) . -> . void?)
|
||||
(debug-info)
|
||||
@{This function opens a DrScheme to display
|
||||
@scheme[debug-info]. Only the src the position
|
||||
|
|
Loading…
Reference in New Issue
Block a user