mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
handle special case Newline Inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10258 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9d651c4b6d
commit
83bf606e60
@ -1,5 +1,7 @@
|
||||
2005-07-16 Juergen Vigna <jug@lyx.org>
|
||||
|
||||
* text2.C (getColumnNearX): handle special case Newline Inset
|
||||
|
||||
* text.C (singleWidth): Just remove bogus check
|
||||
|
||||
2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user