lyx_mirror/src
Lars Gullik Bjønnes fc1437e74e Bug: 1025
2003-10-08  Lars Gullik Bj�nnes  <larsbj@gullik.net>

* text2.C (incrementItemDepth): new function, use a backtracking
algorithm to discover the correct item depth.
(resetEnumCounterIfNeeded): new function, use a backtracking
algorithm to discover if counter reset is needed.
(setCounter): use them. Simplify a bit. Add different labels for
different item depths for itemize.

* paragraph.C (Paragraph): remove initialization of enumdepth
(operator=): ditto

* paragraph.h: get rid of enumdepth, and use itemdepth both for
enumerate and itemize. Change the type of itemdepth to signed char.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7882 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-08 17:44:32 +00:00
..
cheaders
frontends small osx-related bits 2003-10-08 14:46:05 +00:00
graphics add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
insets * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the 2003-10-08 14:29:16 +00:00
mathed support for \dfrac 2003-10-07 08:51:14 +00:00
support Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
tex2lyx Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
.cvsignore Add lyx-gtk. 2003-09-15 11:32:16 +00:00
aspell_local.h std::string fixes and small typo 2003-10-07 13:32:17 +00:00
aspell.C Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
author.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
author.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
boost.C more action work 2003-09-21 23:00:47 +00:00
box.C Get rid of trailing whitespace 'noise' in future patches for the 2003-09-09 18:27:24 +00:00
box.h The mouse box patch for button-style insets 2003-09-04 14:02:05 +00:00
BranchList.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
BranchList.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
broken_headers.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
buffer_funcs.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
buffer_funcs.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
buffer.C Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
buffer.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
bufferlist.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
bufferlist.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
bufferparams.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
bufferparams.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
bufferview_funcs.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
bufferview_funcs.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
BufferView_pimpl.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
BufferView_pimpl.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
BufferView.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
BufferView.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
Bullet.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
Bullet.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
ChangeLog Bug: 1025 2003-10-08 17:44:32 +00:00
changes.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
changes.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
Chktex.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
Chktex.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
chset.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
chset.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
converter.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
converter.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
counters.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
counters.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
cursor.C more action work 2003-09-21 23:00:47 +00:00
cursor.h Use the dispatch_result wrapper class DispatchResult to remove 2003-09-18 11:21:53 +00:00
CutAndPaste.C Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
CutAndPaste.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
debug.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
debug.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
DepTable.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
DepTable.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
dimension.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
dimension.h Get rid of trailing whitespace 'noise' in future patches for the 2003-09-09 18:27:24 +00:00
encoding.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
encoding.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
errorlist.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
errorlist.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
exporter.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
exporter.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
factory.C * Rename InsetExternal::Params as InsetExternalParams. Consistent with 2003-10-07 20:25:10 +00:00
factory.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
Floating.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
Floating.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
FloatList.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
FloatList.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
format.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
format.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
funcrequest.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
funcrequest.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
FuncStatus.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
FuncStatus.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
gettext.C Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
gettext.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
graph.C Small fixes to allow building with STLport 2003-10-06 09:35:38 +00:00
graph.h Finish the task of removing all cruft from the header files. 2003-09-07 21:25:37 +00:00
importer.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
importer.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
InsetList.C Pragmatic pimpl-ing of BufferParams. 2003-09-09 17:00:19 +00:00
InsetList.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
intl.C Strip 320 #includes from the files in src. 2003-09-05 16:31:30 +00:00
intl.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
ispell.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
ispell.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
iterators.C Add an InsetOld::Code wrapper class, enabling #include "inset.h" to be 2003-09-18 10:52:29 +00:00
iterators.h Replace ParagraphList.h with ParagraphList_fwd.h. 2003-09-06 12:36:58 +00:00
kbmap.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
kbmap.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
kbsequence.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
kbsequence.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
language.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
language.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lastfiles.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lastfiles.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
LaTeX.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
LaTeX.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
LaTeXFeatures.C The Box patch 2003-10-07 07:42:15 +00:00
LaTeXFeatures.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
latexrunparams.h Get rid of trailing whitespace 'noise' in future patches for the 2003-09-09 18:27:24 +00:00
layout.h the automatic label patch 2003-09-12 17:13:22 +00:00
LColor.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
LColor.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
lengthcommon.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lengthcommon.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lfuns.h The Box patch 2003-10-07 07:42:15 +00:00
lyx_cb.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyx_cb.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyx_main.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyx_main.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyx_sty.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyx_sty.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
LyXAction.C The Box patch 2003-10-07 07:42:15 +00:00
LyXAction.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxcursor.C remove cursor.i[xy] 2003-09-02 17:08:54 +00:00
lyxcursor.h Replace ParagraphList.h with ParagraphList_fwd.h. 2003-09-06 12:36:58 +00:00
lyxfind.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxfind.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
lyxfont.C Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
lyxfont.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
lyxfunc.C The Box patch 2003-10-07 07:42:15 +00:00
lyxfunc.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxgluelength.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxgluelength.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxlayout_ptr_fwd.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
lyxlayout.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxlayout.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxlength.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxlength.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxlex_pimpl.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxlex_pimpl.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxlex.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxlex.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
lyxrc.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxrc.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxrow_funcs.C Change Assert to BOOST_ASSERT. 2003-09-09 17:25:35 +00:00
lyxrow_funcs.h Reduce 115 dependencies on RowList.h to just 10 dependencies on lyxrow.h. 2003-09-06 11:01:50 +00:00
lyxrow.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
lyxrow.h outerPar 2003-08-26 14:50:16 +00:00
lyxserver.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxserver.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxtext.h * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the 2003-10-08 14:29:16 +00:00
lyxtextclass.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxtextclass.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxtextclasslist.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxtextclasslist.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
lyxvc.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
lyxvc.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
main.C fix some namespace issues for gcc 3.4 2003-09-16 11:03:20 +00:00
Makefile.am preliminary 'global cursor' stuff 2003-09-17 16:44:51 +00:00
MenuBackend.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
MenuBackend.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
messages.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
messages.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
metricsinfo.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
metricsinfo.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
paper.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
paragraph_funcs.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
paragraph_funcs.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
paragraph_pimpl.C add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
paragraph_pimpl.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
paragraph.C Bug: 1025 2003-10-08 17:44:32 +00:00
paragraph.h Bug: 1025 2003-10-08 17:44:32 +00:00
ParagraphList_fwd.h Replace ParagraphList.h with ParagraphList_fwd.h. 2003-09-06 12:36:58 +00:00
ParagraphParameters.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
ParagraphParameters.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
ParameterStruct.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
PrinterParams.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
PrinterParams.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
pspell.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
pspell.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
RowList_fwd.h Reduce 115 dependencies on RowList.h to just 10 dependencies on lyxrow.h. 2003-09-06 11:01:50 +00:00
rowpainter.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
rowpainter.h moves top_y from lyxtext to BufferView 2003-08-27 14:55:20 +00:00
Sectioning.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
Sectioning.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
sgml.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
sgml.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
ShareContainer.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
Spacing.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
Spacing.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
SpellBase.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
stamp-h.in Fix a crash when using iso10646-1 encoding 2002-07-20 13:30:55 +00:00
tabular.C * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the 2003-10-08 14:29:16 +00:00
tabular.h * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the 2003-10-08 14:29:16 +00:00
tex-accent.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
tex-accent.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
tex-strings.C Strip 320 #includes from the files in src. 2003-09-05 16:31:30 +00:00
tex-strings.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
texrow.C Removed all redundant using directives from the source. 2003-09-08 00:33:41 +00:00
texrow.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
text2.C Bug: 1025 2003-10-08 17:44:32 +00:00
text3.C The Box patch 2003-10-07 07:42:15 +00:00
text_funcs.C Replace ParagraphList.h with ParagraphList_fwd.h. 2003-09-06 12:36:58 +00:00
text_funcs.h Get rid of trailing whitespace 'noise' in future patches for the 2003-09-09 18:27:24 +00:00
text.C * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the 2003-10-08 14:29:16 +00:00
TextCache.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
TextCache.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
textcursor.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
textcursor.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
Thesaurus.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
Thesaurus.h add <string> and other small fixes to make 2003-10-07 06:45:25 +00:00
toc.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
toc.h Fix a bunch of doxygen warnings. 2003-10-08 11:31:51 +00:00
ToolbarBackend.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
ToolbarBackend.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
trans_decl.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
trans_mgr.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
trans_mgr.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
trans.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
trans.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
undo_funcs.C Get rid of trailing whitespace 'noise' in future patches for the 2003-09-09 18:27:24 +00:00
undo_funcs.h Replace ParagraphList.h with ParagraphList_fwd.h. 2003-09-06 12:36:58 +00:00
undo.C Replace ParagraphList.h with ParagraphList_fwd.h. 2003-09-06 12:36:58 +00:00
undo.h Get rid of trailing whitespace 'noise' in future patches for the 2003-09-09 18:27:24 +00:00
Variables.C If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
Variables.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
vc-backend.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
vc-backend.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
version.C.in ...and a few more. That's all this licence nonsense in my tree at the moment. 2003-08-22 09:44:59 +00:00
version.h If I ever see another licence blurb again, it'll be too soon... 2003-08-23 00:17:00 +00:00
vspace.C The std::string mammoth path. 2003-10-06 15:43:21 +00:00
vspace.h The std::string mammoth path. 2003-10-06 15:43:21 +00:00
WordLangTuple.h Self-consistent header files. 2003-10-07 08:16:04 +00:00