From: Jean-Marc Lasgouttes Date: Sat, 16 Jul 2005 18:21:50 +0000 (+0000) Subject: handle special case Newline Inset X-Git-Tag: 1.6.10~14081 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=83bf606e603fac836b186b2b1eb66f0d7d0b0e15;p=features.git handle special case Newline Inset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10258 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 6c7845e76d..8e2e24bc1a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2005-07-16 Juergen Vigna + * text2.C (getColumnNearX): handle special case Newline Inset + * text.C (singleWidth): Just remove bogus check 2005-07-16 Michael Schmitt diff --git a/src/text2.C b/src/text2.C index 4af5de3635..247073f6ac 100644 --- a/src/text2.C +++ b/src/text2.C @@ -860,7 +860,7 @@ pos_type LyXText::getColumnNearX(pit_type const pit, if (end == par.size()) return c - row.pos(); - if (c && !par.isSeparator(c-1)) { + if (c && !par.isLineSeparator(c-1) && !par.isNewline(c-1)) { boundary = true; return c - row.pos(); }