svn: r1278
This commit is contained in:
parent
e2c19981e2
commit
2047a756c7
|
@ -713,7 +713,7 @@ Keywords for configuring `check:':
|
|||
|
||||
* :maxwidth -- a number that specifies maximum line lengths for
|
||||
submissions (a helpful feature for reading student code). Defaults
|
||||
to 80. This feature can be disabled if set to #f.
|
||||
to 79. This feature can be disabled if set to #f.
|
||||
|
||||
* :output -- the name of the original handin file (unrelated to the
|
||||
text-converted files). Defaults to "hw.scm".
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
w
|
||||
(loop (cdr l)
|
||||
(if (char=? #\tab (car l)) (+ 8 (- w (modulo w 8))) (add1 w))))))
|
||||
(unless (< (bytes-length line) len)
|
||||
(unless (<= (bytes-length line) len)
|
||||
(let ([line (bytes->string/utf-8 line)])
|
||||
(unless (or (< (string-length line) len)
|
||||
(< (string-width line) len))
|
||||
|
@ -246,7 +246,7 @@
|
|||
[teachpacks* (get ':teachpacks #''())]
|
||||
[create-text?* (get ':create-text? #'#t)]
|
||||
[textualize?* (get ':textualize? #'#f)]
|
||||
[maxwidth* (get ':maxwidth #'80)]
|
||||
[maxwidth* (get ':maxwidth #'79)]
|
||||
[student-line*
|
||||
(get ':student-line
|
||||
#'"Student: {username} ({Full Name} <{Email}>)")]
|
||||
|
|
Loading…
Reference in New Issue
Block a user