Commit Graph

5841 Commits

Author SHA1 Message Date
André Pönitz
1badafaa40 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
few naked Paragraph *.
* undo_funcs use getParagraphs() instead of getFirstParagraph()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6935 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 17:28:21 +00:00
André Pönitz
aee7213a76 replace getFirstParagraph() by getParagraphs()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6934 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 15:39:48 +00:00
André Pönitz
b83cfa09ee 2003-05-05 Andr� P�nitz <poenitz@gmx.net>
* inset.h:
	* insettext.[Ch]:
	* insettabular.[Ch]:
	* insetcollapsable.[Ch]: remove unused function firstParagraph()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6933 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 15:00:25 +00:00
John Levon
fc7c77587f bug 809 from Michael, and some small changes to it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6932 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 19:24:36 +00:00
John Levon
f48e8300e1 Two small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6931 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 19:21:50 +00:00
John Levon
c7b495326e cursor.diff, bug 1095
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 18:05:53 +00:00
André Pönitz
dd7805dad9 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6929 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 15:22:21 +00:00
André Pönitz
94c454c6ac undo-6.diff: another next() removed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6928 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 15:21:45 +00:00
André Pönitz
627ffcb251 undo-5.diff: remove lastundopar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6927 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 14:54:08 +00:00
André Pönitz
c19753c9be undo-4.diff ("Another next() ...")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6926 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 14:44:50 +00:00
André Pönitz
24727d42c4 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6925 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 14:12:01 +00:00
André Pönitz
5cec61cb69 pull out common code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6924 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 13:38:53 +00:00
André Pönitz
4b8025d992 * undo_funcs.C:
* undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
    linked lists


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6923 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 13:11:39 +00:00
André Pönitz
507be88a4f one more Paragraph * -> ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 10:38:18 +00:00
André Pönitz
acae34cdc8 small Paragraph* -> ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 10:06:07 +00:00
André Pönitz
12d02d04b2 re-indent (tab for logical indentation, spaces for alignment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6920 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 08:55:48 +00:00
André Pönitz
bc29b6a790 revert part of the "grid unification" to prevent random crashs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 07:52:15 +00:00
André Pönitz
ef3b4f2936 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6918 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 07:43:23 +00:00
André Pönitz
42320e7be3 add purple markers for \array
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6917 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 07:42:08 +00:00
Lars Gullik Bjønnes
cd50f3ae85 almost only ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6916 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 23:24:30 +00:00
Lars Gullik Bjønnes
96885e74d7 robustify splice a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 23:05:01 +00:00
Lars Gullik Bjønnes
7a012d8134 2003-05-02 Lars Gullik Bj�nnes <larsbj@gullik.net>
* ParagraphList.C (splice): new function.
* CutAndPaste.C (pasteSelection): use it


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6914 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 22:37:02 +00:00
Lars Gullik Bjønnes
ead9349921 Bug: 935
2003-05-01  Lars Gullik Bj�nnes  <larsbj@gullik.net>

* boost/type_traits/detail/wrap.hpp: add file

Please test.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6913 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 17:45:20 +00:00
Lars Gullik Bjønnes
a8980107a7 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): remove the last next and
previous from this file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6912 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 15:43:58 +00:00
Lars Gullik Bjønnes
2668764493 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): more clean up, user proper
ParagraphList functions for pasteing.

* ParagraphList.C (insert): new function, three arg insert


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6911 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 14:45:04 +00:00
Lars Gullik Bjønnes
e81ff24dcc 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
not on paragraphs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6910 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 13:22:07 +00:00
Lars Gullik Bjønnes
f6493c22aa 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6909 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 13:12:43 +00:00
Lars Gullik Bjønnes
107c91ace9 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): remove some unneeded code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6908 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 13:04:16 +00:00
Lars Gullik Bjønnes
717121eba6 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (resetOwnerAndChanges): new helper functor
(copySelection): clean up a bit.
(pasteSelection): use make_pair


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6907 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 12:53:22 +00:00
Lars Gullik Bjønnes
5c44cab01c add more functions to ParagraphList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 12:31:35 +00:00
Lars Gullik Bjønnes
f5e07fb302 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* paragraph.C (erase): return a bool

* paragraph_pimpl.C (erasePos): remove function, move contents...
(erase): ... here. Return a bool.
(erase): call erase instead of erasePos.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 09:15:15 +00:00
Jean-Marc Lasgouttes
ab6094576d update llncs layout (Bug 1068)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6902 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 15:29:00 +00:00
Jean-Marc Lasgouttes
d65aa55131 do not write colors to prefs when they have not been changed (Bug 1069)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6901 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 15:11:25 +00:00
Jean-Marc Lasgouttes
1dcf372174 german and pocheck update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6898 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 14:16:24 +00:00
André Pönitz
66651dd332 fix a regression after the recent grid handling changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6897 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 10:53:28 +00:00
André Pönitz
e48e2aa2cf Alfredo's second patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6896 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 10:32:01 +00:00
André Pönitz
605912d575 fix Undo as suggested by Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6895 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 07:04:33 +00:00
John Levon
3c5caa2ce8 dialog titles for qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6894 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 02:09:06 +00:00
John Levon
a4dce50c4d fix dialog titles to match new menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6893 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 02:06:04 +00:00
John Levon
7b255e3760 s/tabular/table in lcolor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6892 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 02:04:00 +00:00
John Levon
e3a53bcc59 fix edit message for tabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6891 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 02:03:35 +00:00
John Levon
be45cea55f Move to the new menu layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6890 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 01:41:28 +00:00
Lars Gullik Bjønnes
b7ba81d387 003-04-30 Lars Gullik Bj�nnes <larsbj@gullik.net>
* text3.C (dispatch): do not convert iterator -> pointer
        * undo_funcs.C (setCursorParUndo): ditto
        * text_funcs.C (transposeChars): ditto

        * text2.C (setLayout): ws changes only

        * text.C (breakParagraph): do not convert iterator -> pointer
        (insertChar): ditto
        (acceptChange): ditto
        (rejectChange): ditto
        (changeCase): ditto
        (Delete): ditto
        (backspace): ditto

        * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
        pointer


2003-04-30  Lars Gullik Bj�nnes  <larsbj@gullik.net>

        * insettext.C (setFont): do not convert iterator -> pointer

        * insettabular.C (localDispatch): do not convert iterator -> pointer
        (setFont): ditto
        (tabularFeatures): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 23:59:39 +00:00
John Levon
0a94135c65 visual re-org
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6888 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 21:32:12 +00:00
John Levon
8406bbecb7 YABG from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6887 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 19:56:04 +00:00
André Pönitz
3a2a63d322 restrict scope of temporary variables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6886 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 15:24:37 +00:00
André Pönitz
aad2de15b1 move common code of textUndo and textRedo to common helper function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6884 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:50:11 +00:00
André Pönitz
79b459d3f0 simpler logic to create 'end' from 'behind'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:31:53 +00:00
André Pönitz
a510a0265f remove two *& and a useless cast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6882 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:10:13 +00:00
André Pönitz
653eaace76 * paragraph.h: make operator= private unimplemented as long as it is
unusable

  * ParagraphList.C: whitespace

  * paragraph.[Ch]:
    paragraph_pimpl.[Ch]:
    paragraph_funcs.C:
    CutAndPaste.C:
    undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &

  * text2.C:
    undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6881 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:05:54 +00:00