Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 25165 → Rev 25166

/branches/Version15x/Scribus/scribus/pageitem_textframe.cpp
4036,8 → 4036,7
itemText.setCursorPosition (lastInFrame() + 1);
ExpandSel(oldPos);
}
else
if ((textLayout.lines() > 0) && (oldPos >= textLayout.line(textLayout.lines() - 1)->firstChar()) && (itemText.cursorPosition() >= lastInFrame()) && (m_nextBox != nullptr))
else if ((textLayout.lines() > 0) && (oldPos >= textLayout.line(textLayout.lines() - 1)->firstChar()) && (itemText.cursorPosition() >= lastInFrame()) && (m_nextBox != nullptr))
{
if (m_nextBox->frameDisplays(itemText.cursorPosition()))
{
4087,8 → 4086,7
itemText.setCursorPosition( firstInFrame() );
ExpandSel(oldPos);
}
else
if ((textLayout.lines() > 0) && (oldPos <= textLayout.line(0)->lastChar()) && (itemText.cursorPosition() == firstInFrame()) && (m_backBox != nullptr))
else if ((textLayout.lines() > 0) && (oldPos <= textLayout.line(0)->lastChar()) && (itemText.cursorPosition() == firstInFrame()) && (m_backBox != nullptr))
{
view->deselectItems(true);
// TODO position at the right place in previous frame