From 5b433d808a3ebb6d0153d75cc7b19ef5687c769e Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Thu, 11 Sep 2014 12:56:09 -0400 Subject: [PATCH] fix indent with continued --- lib/line_wrapper.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/line_wrapper.coffee b/lib/line_wrapper.coffee index caa2e3c..a14d01b 100644 --- a/lib/line_wrapper.coffee +++ b/lib/line_wrapper.coffee @@ -34,6 +34,8 @@ class LineWrapper extends EventEmitter @once 'line', => @document.x -= indent @lineWidth += indent + if options.continued and not @continuedX + @continuedX = @indent @continuedX = 0 unless options.continued # handle left aligning last lines of paragraphs