fx litchar spacing with leading and trailing spaces
svn: r6855 original commit: e5e12d6c53164f6dedae6fab261c60259db3d154
This commit is contained in:
parent
70da0389e6
commit
f8a2e95c60
|
@ -70,9 +70,10 @@
|
|||
strs))])
|
||||
(let ([spaces (regexp-match-positions #rx"^ *" s)]
|
||||
[end-spaces (regexp-match-positions #rx" *$" s)])
|
||||
(make-element "schemeinput"
|
||||
(make-element
|
||||
"schemeinputbg"
|
||||
(list (hspace (cdar spaces))
|
||||
(make-element #f (list (substring s (cdar spaces) (caar end-spaces))))
|
||||
(make-element "schemeinput" (list (substring s (cdar spaces) (caar end-spaces))))
|
||||
(hspace (- (cdar end-spaces) (caar end-spaces))))))))
|
||||
|
||||
(define (verbatim s)
|
||||
|
|
|
@ -234,6 +234,10 @@
|
|||
font-family: Courier; font-size: 80%;
|
||||
}
|
||||
|
||||
.schemeinputbg {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
.schemeparen {
|
||||
color: #843c24;
|
||||
font-family: Courier; font-size: 80%;
|
||||
|
|
Loading…
Reference in New Issue
Block a user