check last-line + 1

original commit: 96018f258c406e55b98dd4d02f2c2248ad38daea
This commit is contained in:
Jon Rafkind 2010-11-07 12:19:49 -07:00
parent 421f133066
commit c9ec791df0

View File

@ -3726,7 +3726,7 @@ designates the character that triggers autocompletion
(init-field [alignment 'right])
(define (number-space)
(number->string (max (* 10 (last-line)) 100)))
(number->string (max (* 10 (add1 (last-line))) 100)))
;; add an extra 0 so it looks nice
(define (number-space+1) (string-append (number-space) "0"))