mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
Line length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23137 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2812202c2b
commit
3257f3e066
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user