|
|
|
@ -28,11 +28,12 @@
|
|
|
|
|
|
|
|
|
|
(require racket/class)
|
|
|
|
|
(define (indenter t pos)
|
|
|
|
|
(send t compute-racket-amount-to-indent pos (λ(x)
|
|
|
|
|
(case x
|
|
|
|
|
[("with-pattern" "with-shared-id") 'lambda]
|
|
|
|
|
[("define-macro") 'define]
|
|
|
|
|
[else #f]))))
|
|
|
|
|
(with-handlers ([exn:fail? (λ(exn) #f)]) ; this function won't work until gui-lib 1.26
|
|
|
|
|
(send t compute-racket-amount-to-indent pos (λ(x)
|
|
|
|
|
(case x
|
|
|
|
|
[("with-pattern" "with-shared-id") 'lambda]
|
|
|
|
|
[("define-macro") 'define]
|
|
|
|
|
[else #f])))))
|
|
|
|
|
|
|
|
|
|
(define (my-get-info key default default-filter)
|
|
|
|
|
(case key
|
|
|
|
|