Commit Graph

28 Commits

Author SHA1 Message Date
André Pönitz
39e79d8602 rename LyXLex into Lexer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 11:30:54 +00:00
Bo Peng
00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00
André Pönitz
6c300f72a2 move everything into namespace lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
Lars Gullik Bjønnes
b27bb5cb53 Change (and fix) the bullets in itemize to be more unicode friendly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15416 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-20 19:26:23 +00:00
André Pönitz
0d43ba149a the stuff from the sneak preview:
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).

Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.

I had an extensive talk with my profiler and we are happy nevertheless.

This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now  lyx::cap::. Was inconsistent with the rest....

Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.

Remove some unneeded prototypes and function declarations

Use ParameterStruct directly instead of ShareContainer<ParameterStruct>

Inline a few accesses to CursorSlice members as suggested by the profiler.

Fix commandline conversion crash reported by Kayvan.

Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...

Remove math specific hack from Documentiterator

Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.

Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.

Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
André Pönitz
2288d17247 more IU stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8430 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 11:05:29 +00:00
André Pönitz
7de76711b1 move space above/below from Paragraph into a separate vspace inset.
Gui interaction mailer stuff by Angus...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8149 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 15:53:34 +00:00
André Pönitz
69fae0531d * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
* factory.C: handle new InsetPagebreak, InsetLine

	* ParagraphParameters.h: remove [line|pagebreak]_[above|below]
	and move handling into new InsetPagebreak, InsetLine

	* BufferView_pimpl.C:
	* LyXAction.C:
	* ParagraphParameters.C:
	* ParameterStruct.h:
	* lyxfunc.C:
	* lyxtext.h:
	* paragraph.C:
	* paragraph.h:
	* paragraph_funcs.C:
	* paragraph_pimpl.C:
	* rowpainter.C:
	* text.C:
	* text2.C:
	* text3.C: adjust

etc


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7985 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 12:41:26 +00:00
Martin Vermeer
eb36b71ce3 add <string> and other small fixes to make
Lars' std::string patch compile with STLport.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7864 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-07 06:45:25 +00:00
Lars Gullik Bjønnes
44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Angus Leeming
d727b8e95e Don't #include ParameterStruct.h in ParagraphParameters.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7698 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 20:32:37 +00:00
Angus Leeming
f3bff9d5d8 Move depth_type to support/types.h.
Remove paragraph.h from buffer.h, paragraph_funcs.h.
Add paragraph.h to a heap of .C files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7694 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 17:23:08 +00:00
Angus Leeming
236ea81bc5 Replace LString.h with support/std_string.h,
Lsstream.h with support/std_sstream.h,
support/LIstream.h with support/std_istream.h,
support/LOstream.h with support/std_ostream.h.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7685 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 17:23:11 +00:00
Angus Leeming
0be0fcfd59 If I ever see another licence blurb again, it'll be too soon...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
Angus Leeming
bb8ce22e78 You've had enough time for that ol' review and I've made sure that things
work _despite_ of LyXLex so...
here is the Paragraph dialog reworked.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6487 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 13:56:25 +00:00
John Levon
c070ede805 Create ParagraphParameters::write() and use it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6462 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 06:53:49 +00:00
Lars Gullik Bjønnes
99d1627a47 dont use pragma impementation and interface anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
Lars Gullik Bjønnes
5e7275dabc remove NO_PEXTRA_STUFF
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5045 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 20:30:45 +00:00
Jürgen Vigna
20d61473cc Enable compilation with lyxstring again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4198 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 10:39:34 +00:00
Lars Gullik Bjønnes
b232321ff8 begin cleanup slowly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4185 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 12:33:02 +00:00
Jürgen Vigna
e4fffd74bc This is the ParagraphIndent stuff compatibility. All of it only the GUI for
inputing/changing values is missing, but this (if) will come after 1.2.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4138 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-08 12:58:16 +00:00
Lars Gullik Bjønnes
54e7ddb5d9 get rid of NO_LATEX, split some methods, small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2417 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 18:28:11 +00:00
Lars Gullik Bjønnes
bf6257967e small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2374 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 20:27:56 +00:00
Lars Gullik Bjønnes
c21c01ce34 patch from Jean-Marc + some
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2158 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 09:58:56 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Lars Gullik Bjønnes
b17500c1c4 the rest read the ChangeLog, hope I remembered all
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1934 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 15:15:59 +00:00
Lars Gullik Bjønnes
1a32c26a5e NO_PEXTRA and NO_PEXTRA_REALLY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1780 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-16 00:09:53 +00:00
Lars Gullik Bjønnes
03d1c984a0 ParagraphParameters and SharedContainer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1691 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 14:07:14 +00:00