diff options
author | Thomas White <taw@physics.org> | 2017-10-17 21:03:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-10-17 21:03:39 +0200 |
commit | 9c929b373d0ffa3fbd8e0de670caaab95b58a101 (patch) | |
tree | be1637d5c46b63473cca591951b16b1099413f1e /src/debugger.c | |
parent | 54adeb60b85641f6c1d968200eeb5e5d705c51ea (diff) |
Track newlines at end of paragraphs
Diffstat (limited to 'src/debugger.c')
-rw-r--r-- | src/debugger.c | 4 |
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"); + } } |