mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
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:
parent
9b75c4a848
commit
2e4ee6f503
@ -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()
|
||||
|
10
src/text.C
10
src/text.C
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user