X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FText.h;h=99d83f4a29d25236ba69efcfb8a75faa64d28515;hb=38c2cde0d8695ac5287bae218c4a33a2acf18ef8;hp=f3cd8447f5685f85bd02fb9384a0b3b6fba51b62;hpb=f609a4717fbdf5e2a5eeb1cf08feb16f8ecca7c5;p=lyx.git diff --git a/src/Text.h b/src/Text.h index f3cd8447f5..99d83f4a29 100644 --- a/src/Text.h +++ b/src/Text.h @@ -260,7 +260,7 @@ public: settings are given to the new one. This function will handle a multi-paragraph selection. */ - void setParagraphs(Cursor & cur, docstring arg, bool modify = false); + void setParagraphs(Cursor & cur, docstring const & arg, bool modify = false); /// Sets parameters for current or selected paragraphs void setParagraphs(Cursor & cur, ParagraphParameters const & p); @@ -345,6 +345,8 @@ public: /// Get the font of the "environment" of paragraph \p par_offset in \p pars. /// All font changes of the paragraph are relative to this font. Font const outerFont(pit_type pit_offset) const; + /// Return the label type at the end of paragraph \c pit. + int getEndLabel(pit_type pit) const; private: /// The InsetText owner shall have access to everything.