]> git.lyx.org Git - features.git/commit
Small Row cleanups
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 11 Jul 2021 13:33:33 +0000 (15:33 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 23 Nov 2021 15:31:29 +0000 (16:31 +0100)
commit9583695827aaa691e570ece37ecee227cd411dd2
tree7a2abe5c1b373ac5fc01d0acf0164b79037d1dd2
parent740c7437506d1124b91aef7bcdd3dd313343d7a6
Small Row cleanups

Move declaration of RowList to Row.h

Move initialization of POD members of Row and Row::Element to declaration.

Make method isVirtual() depend on type.

Add new row element type INVALID and method isValid()

Make methods R::E::left/right_pos inline.

Add method R::E::splitAt() that returns an element containing the
remaining stuff, or an invalid element if nothing was split. breakAt
is now a simple wrapper around this function.

Add method R::push_back().
src/ParagraphMetrics.h
src/Row.cpp
src/Row.h
src/RowPainter.cpp