whitespace + Inset::haveParagraphs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6876 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-04-29 08:46:17 +00:00
parent 76cf529711
commit 4d1bbfdd26
7 changed files with 23 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-04-29 André Pönitz <poenitz@gmx.net>
* ParagraphList.C: whitespace
2003-04-28 John Levon <levon@movementarian.org> 2003-04-28 John Levon <levon@movementarian.org>
* bufferlist.C: changes for unsaved changes dialog * bufferlist.C: changes for unsaved changes dialog

View File

@ -120,7 +120,7 @@ ParagraphList::insert(ParagraphList::iterator it, Paragraph * par)
par->next_par_ = &*it; par->next_par_ = &*it;
par->prev_par_ = prev; par->prev_par_ = prev;
prev->next_par_ = par; prev->next_par_ = par;
it->prev_ par_= par; it->prev_par_= par;
} else if (parlist == 0) { } else if (parlist == 0) {
parlist = par; parlist = par;
} else { } else {

View File

@ -1,4 +1,8 @@
2003-04-29 André Pönitz <poenitz@gmx.net>
* inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2003-04-28 André Pönitz <poenitz@gmx.net> 2003-04-28 André Pönitz <poenitz@gmx.net>
* insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator

View File

@ -270,6 +270,10 @@ public:
virtual Paragraph * firstParagraph() const { return 0; } virtual Paragraph * firstParagraph() const { return 0; }
/// ///
virtual Paragraph * getFirstParagraph(int /*num*/) const { return 0; } virtual Paragraph * getFirstParagraph(int /*num*/) const { return 0; }
///
virtual bool haveParagraphs() const {
return false;
}
/// return the cursor if we own one otherwise giv'em just the /// return the cursor if we own one otherwise giv'em just the
/// BufferView cursor to work with. /// BufferView cursor to work with.

View File

@ -1,3 +1,9 @@
2003-04-29 André Pönitz <poenitz@gmx.net>
* Makefile.am:
texparser.h: whitespace
2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com> 2003-04-20 Kayvan A. Sylvan <kayvan@sylvan.com>
* table.C: use string::erase(), not string::clear() to enable older * table.C: use string::erase(), not string::clear() to enable older

View File

@ -1,4 +1,3 @@
#ifndef PARSER_H #ifndef PARSER_H
#define PARSER_H #define PARSER_H