Skip to content

Commit

Permalink
check to see if we find check syntax-recorded documentation at some p…
Browse files Browse the repository at this point in the history
…osition

as we look backwards for documentation and use that, if we have it

(this can have a large impact on certain files)
  • Loading branch information
rfindler committed Jan 2, 2021
1 parent 2dd5e37 commit ad59c61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drracket/drracket/private/syncheck/blueboxes-gui.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@
(path->module-path require-candidate #:cache (get-path->pkg-cache))))
(let loop ([pos pos])
(cond
[(interval-map-ref (get/start-docs-im) pos #f) => values]
[(member (classify-position pos) '(symbol keyword))
(define-values (start end) (get-token-range pos))
(cond
Expand Down

0 comments on commit ad59c61

Please sign in to comment.