*** empty log message ***

original commit: f01fd0e0bb2118d2fee7e580e0ccdf7a6e92d482
tokens
Scott Owens 24 years ago
parent e09fd37907
commit 329e43ba0f

@ -154,17 +154,21 @@
(cond (cond
((= 0 num-to-add) (values from to)) ((= 0 num-to-add) (values from to))
(else (else
(if (eq? #\newline (car from)) (cond
(begin ((eq? #\newline (car from))
(set-lex-buffer-line! (set-lex-buffer-line!
lb lb
(sub1 (lex-buffer-line lb))) (sub1 (lex-buffer-line lb)))
(set-lex-buffer-offset! (set-lex-buffer-offset!
lb lb
(car (lex-buffer-line-lengths lb))) (car (lex-buffer-line-lengths lb)))
(set-lex-buffer-line-lengths! (set-lex-buffer-line-lengths!
lb lb
(cdr (lex-buffer-line-lengths lb))))) (cdr (lex-buffer-line-lengths lb))))
(else
(set-lex-buffer-col!
lb
(sub1 (lex-buffer-col lb)))))
(switch-buffers (cdr from) (switch-buffers (cdr from)
(cons (car from) to) (cons (car from) to)
(sub1 num-to-add))))))) (sub1 num-to-add)))))))

Loading…
Cancel
Save