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

@ -125,7 +125,7 @@ public:
/// ///
OPTARG_CODE, OPTARG_CODE,
/// ///
ENVIRONMENT_CODE, ENVIRONMENT_CODE,
/// ///
HFILL_CODE, HFILL_CODE,
/// ///
@ -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

@ -6,7 +6,7 @@ INCLUDES = -I$(srcdir)/../ $(BOOST_INCLUDES)
# #
#libtexparser_la_SOURCES = \ #libtexparser_la_SOURCES = \
# texparser.C \ # texparser.C \
# texparser.h # texparser.h
# #
#tex2lyx_LDADD = libtexparser.la #tex2lyx_LDADD = libtexparser.la
@ -20,4 +20,4 @@ tex2lyx_SOURCES = \
preamble.C \ preamble.C \
math.C \ math.C \
table.C \ table.C \
text.C text.C

View File

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