ws changes only

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4056 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-04-24 15:37:16 +00:00
parent 9b75c4a848
commit 2e4ee6f503
2 changed files with 6 additions and 6 deletions

View File

@ -1292,7 +1292,7 @@ void BufferView::Pimpl::cursorNext(LyXText * text)
// span several workarea-heights) we'll move to the top again, but this
// is better than just jump down and only display part of the row.
new_y = bv_->text->first_y + workarea_.height();
} else {
} else {
if (text->inset_owner) {
new_y = bv_->text->cursor.iy()
+ bv_->theLockingInset()->insetInInsetY()

View File

@ -1159,7 +1159,7 @@ int LyXText::numberOfSeparators(Buffer const * buf, Row const * row) const
{
pos_type last = rowLastPrintable(row);
pos_type p = max(row->pos(), beginningOfMainBody(buf, row->par()));
int n = 0;
for (; p <= last; ++p) {
if (row->par()->isSeparator(p)) {
@ -1955,10 +1955,10 @@ void LyXText::insertChar(BufferView * bview, char c)
// Is there a break one row above
if (row->previous() && row->previous()->par() == row->par()
&& (cursor.par()->isLineSeparator(cursor.pos())
|| cursor.par()->isNewline(cursor.pos())
|| ((cursor.pos() < cursor.par()->size()) &&
cursor.par()->isInset(cursor.pos()+1))
|| cursor.row()->fill() == -1))
|| cursor.par()->isNewline(cursor.pos())
|| ((cursor.pos() < cursor.par()->size()) &&
cursor.par()->isInset(cursor.pos()+1))
|| cursor.row()->fill() == -1))
{
pos_type z = nextBreakPoint(bview,
row->previous(),