X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCursor.cpp;h=35a34527c0c48a3dee29e10c479c343bed867f46;hb=c7efb677f8550a44b1262944c15515097723fa31;hp=4e0dfb2234c6697ee7c021d803b77497056a0765;hpb=9e6d22ea9cc508c3ffd0f92c0ec619ceafbee017;p=features.git diff --git a/src/Cursor.cpp b/src/Cursor.cpp index 4e0dfb2234..35a34527c0 100644 --- a/src/Cursor.cpp +++ b/src/Cursor.cpp @@ -330,6 +330,8 @@ namespace { docstring parbreak(CursorData const * cur) { + if (cur->inset().getLayout().parbreakIgnored()) + return docstring(); odocstringstream os; os << '\n'; // only add blank line if we're not in a ParbreakIsNewline situation