diff --git a/src/ChangeLog b/src/ChangeLog index 19ccd095c9..237cc52a67 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-04-03 Alfredo Braunstein + + * text.C: squashed an invalid getChar requester + some ws changes + 2003-04-03 John Levon * bufferview_funcs.h: diff --git a/src/text.C b/src/text.C index 0572b7c71d..7f8b79f552 100644 --- a/src/text.C +++ b/src/text.C @@ -119,8 +119,8 @@ void LyXText::anchor_row(RowList::iterator rit) anchor_row_ = rit; anchor_row_offset_ = old_y - top_y(); lyxerr[Debug::GUI] << "anchor_row(): changing reference to row: " - << &*anchor_row_ << " offset: " << anchor_row_offset_ - << endl; + << &*anchor_row_ << " offset: " + << anchor_row_offset_ << endl; } @@ -313,7 +313,7 @@ lyx::pos_type LyXText::log2vis(lyx::pos_type pos) const if (bidi_start == -1) return pos; else - return log2vis_list[pos-bidi_start]; + return log2vis_list[pos - bidi_start]; } @@ -322,7 +322,7 @@ lyx::pos_type LyXText::vis2log(lyx::pos_type pos) const if (bidi_start == -1) return pos; else - return vis2log_list[pos-bidi_start]; + return vis2log_list[pos - bidi_start]; } @@ -331,7 +331,7 @@ lyx::pos_type LyXText::bidi_level(lyx::pos_type pos) const if (bidi_start == -1) return 0; else - return bidi_levels[pos-bidi_start]; + return bidi_levels[pos - bidi_start]; } @@ -1509,8 +1509,8 @@ void LyXText::breakParagraph(ParagraphList & paragraphs, char keep_layout) // move one row up! // This touches only the screen-update. Otherwise we would may have // an empty row on the screen - if (cursor.pos() && !cursor.row()->par()->isNewline(cursor.row()->pos() - 1) - && cursor.row()->pos() == cursor.pos()) + if (cursor.pos() && cursor.row()->pos() == cursor.pos() + && !cursor.row()->par()->isNewline(cursor.pos() - 1)) { cursorLeft(bv()); }