From e41bde771841a80cff479932c44ce70ddc0c5476 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 4 Jan 2021 07:51:12 +0200 Subject: GmDocument: Empty lines vs. consecutive quotes Detecting if quote lines are consecutive was changed so that an empty line can be used to separate quotes. For example, see Astrobotany's Message Board. IssueID #108 --- src/gmdocument.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gmdocument.c') diff --git a/src/gmdocument.c b/src/gmdocument.c index 6f038524..1717f92f 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c @@ -402,6 +402,9 @@ static void doLayout_GmDocument_(iGmDocument *d) { if (isEmpty_Range(&line)) { pos.y += lineHeight_Text(run.font); prevType = type; + if (type != quote_GmLineType) { + addQuoteIcon = prefs->quoteIcon; + } /* TODO: Extra skip needed here? */ continue; } -- cgit v1.2.3