From: Richard Heck Date: Fri, 22 Feb 2008 16:26:40 +0000 (+0000) Subject: Line length. X-Git-Tag: 1.6.10~6158 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3257f3e066417de1bc5769ee041b0d44ae5ec3ab;p=lyx.git Line length. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23137 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index bc683cf8df..4bf4888481 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -366,8 +366,8 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const xx2, y + desc, layout_->labelfont().color()); } - pi.pain.line(x + textdim.wid - 3, y + desc, x + textdim.wid - 3, y + desc - 4, - layout_->labelfont().color()); + pi.pain.line(x + textdim.wid - 3, y + desc, x + textdim.wid - 3, + y + desc - 4, layout_->labelfont().color()); // the label below the text. Can be toggled. if (geometry() == SubLabel) { @@ -474,7 +474,8 @@ docstring const InsetCollapsable::getNewLabel(docstring const & l) const } -void InsetCollapsable::edit(Cursor & cur, bool front, EntryDirection entry_from) +void InsetCollapsable::edit( + Cursor & cur, bool front, EntryDirection entry_from) { //lyxerr << "InsetCollapsable: edit left/right" << endl; cur.push(*this); @@ -792,7 +793,8 @@ void InsetCollapsable::setStatus(Cursor & cur, CollapseStatus status) } -docstring InsetCollapsable::floatName(string const & type, BufferParams const & bp) const +docstring InsetCollapsable::floatName( + string const & type, BufferParams const & bp) const { FloatList const & floats = bp.getTextClass().floats(); FloatList::const_iterator it = floats[type];