aboutsummaryrefslogtreecommitdiff
path: root/src/debugger.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-10-17 21:03:39 +0200
committerThomas White <taw@physics.org>2017-10-17 21:03:39 +0200
commit9c929b373d0ffa3fbd8e0de670caaab95b58a101 (patch)
treebe1637d5c46b63473cca591951b16b1099413f1e /src/debugger.c
parent54adeb60b85641f6c1d968200eeb5e5d705c51ea (diff)
Track newlines at end of paragraphs
Diffstat (limited to 'src/debugger.c')
-rw-r--r--src/debugger.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debugger.c b/src/debugger.c
index 32cea14..15012e6 100644
--- a/src/debugger.c
+++ b/src/debugger.c
@@ -145,6 +145,10 @@ static void debug_text_para(Paragraph *para, cairo_t *cr, double *ypos,
}
}
+
+ if ( get_newline_at_end(para) ) {
+ plot_text(cr, ypos, fontdesc, "Ends with newline");
+ }
}