adjust indentation so that it treats only symbols as things with
special indentation (this could only come about if the regexp specification in the prefernces matched (the printed out) version of strings, so it wouldn't happen with the default preferences)
This commit is contained in:
parent
9411eb44c4
commit
e9e2940138
|
@ -625,8 +625,12 @@
|
||||||
(define id-end (get-forward-sexp contains))
|
(define id-end (get-forward-sexp contains))
|
||||||
(and (and id-end (> id-end contains))
|
(and (and id-end (> id-end contains))
|
||||||
(let ([text (get-text contains id-end)])
|
(let ([text (get-text contains id-end)])
|
||||||
|
(cond
|
||||||
|
[(member (classify-position contains) '(keyword symbol))
|
||||||
(or (get-keyword-type text tabify-prefs)
|
(or (get-keyword-type text tabify-prefs)
|
||||||
'other))))
|
'other)]
|
||||||
|
[else
|
||||||
|
'other]))))
|
||||||
(define (procedure-indent)
|
(define (procedure-indent)
|
||||||
(case (get-proc)
|
(case (get-proc)
|
||||||
[(begin define) 1]
|
[(begin define) 1]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user