Skip to content

Commit

Permalink
fix extra empty lines (#82) in formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
6cdh authored and jeapostrophe committed Dec 12, 2022
1 parent c721511 commit 99c60e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text-document.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
(when (and (char=? #\" (send mut-doc-text get-character i))
(not (char=? #\\ (send mut-doc-text get-character (sub1 i)))))
(set! skip-this-line? (not skip-this-line?))))
(if (> line end-line)
(if (>= line end-line)
null
(append (filter-map
identity
Expand Down

0 comments on commit 99c60e0

Please sign in to comment.