]> git.lyx.org Git - lyx.git/blobdiff - src/Text.h
(finishing patch -- question was restored, but there were still problems)
[lyx.git] / src / Text.h
index 98964e9b20bc4bb8faecab123cc681beb8a3d49e..e3421e2e5f52183c67df98b326e75d27fec2af23 100644 (file)
@@ -76,6 +76,9 @@ public:
                Font const & font, bool toggleall = false);
 
        /// what you expect when pressing \<enter\> at cursor position
+       /// \param inverse_logic if false, the same layout is set for the
+       /// new paragraph if the layout is an environment; if true, the
+       /// same layout is set if it is not an environment
        void breakParagraph(Cursor & cur, bool inverse_logic = false);
 
        /// set layout over selection
@@ -392,6 +395,9 @@ void mergeParagraph(BufferParams const & bparams,
 /// accept the changes within the complete ParagraphList
 void acceptChanges(ParagraphList & pars, BufferParams const & bparams);
 
+/// reject the changes within the complete ParagraphList
+void rejectChanges(ParagraphList & pars, BufferParams const & bparams);
+
 } // namespace lyx
 
 #endif // TEXT_H