Commit Graph

650 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
3b9338a3a8 Whitespace cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Jürgen Spitzmüller
64aab4aa75 * src/text.C
(bool LyXText::Delete):
	move cursor to next par after deleting a paragraph break
	in change tracking mode. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13495 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-25 16:38:28 +00:00
Jürgen Spitzmüller
e46d6cfc53 * src/text.C (bool LyXText::backspace):
don't try to go to previous par when in first par 
	(fix crash in change tracking mode). 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13492 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-25 09:18:28 +00:00
Lars Gullik Bjønnes
9d6cad3fe6 * output_latex.h:
* buffer.h:
        * CutAndPaste.h:
        * pariterator.h:
        * paragraph_funcs.h:
        * output_linuxdoc.h:
        * output_docbook.h:
        * insets/insettext.h: get forward declaration of ParagraphList

        * output_plaintext.C:
        * bufferlist.C:
        * undo.C:
        * lyxtext.h:
        * undo.h:
        * buffer_funcs.C:
        * insets/insetbibitem.C: get proper ParagraphList decls

        * output_linuxdoc.C (linuxdocParagraphs):
        * output_latex.C (TeXOnePar):
        * insets/insettext.C (appendParagraphs):
        * insets/insetcharstyle.C (docbook): use std::distance

        * CutAndPaste.C (pasteSelectionHelper, copySelectionHelper):
        * paragraph_funcs.C (breakParagraph,
        breakParagraphConservative, mergeParagraph):
        * text.C (acceptChange, rejectChange):
        * text2.C (deleteEmptyParagraphMechanism): use boost::next

        * output_docbook.C (several places): use boost::next and
        std::distance

        * ParagraphList_fwd.h: modify to provid a forward declaratoin
        of the new ParagraphList.

        * RandomAccessList.h: New container for Paragraphs from
        Abdelrazak Younes

        * ParagraphList.h: new file, setup user of RandomAccessList

        * paragraph.C: remove ParagraphList constructor from this file



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13467 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 20:11:06 +00:00
Martin Vermeer
dba38ca4a7 * text.C
(LyXText::backspace): Fix changebar non-update (Juergen)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-18 21:15:21 +00:00
Jürgen Spitzmüller
96e7ad18f8 adjust cursor after backspace in change tracking mode (bug 2185).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13407 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:53:28 +00:00
Jürgen Spitzmüller
0ea246102e Get a sensible prefix inside figure and tabular floats (bug 1999).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13392 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 13:35:53 +00:00
Martin Vermeer
f42db3f4b2 Change tracking -related bug fixes (reported by Juergen) and some
documentation work



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13385 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 06:54:08 +00:00
Martin Vermeer
bcf1a16e10 Fix bug 880, or the multi-paragraph change tracking patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13339 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-11 13:31:41 +00:00
Jean-Marc Lasgouttes
215476903e fix bugs 2321 and 2323
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13272 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-24 12:58:31 +00:00
Martin Vermeer
6688a55908 Fix bug 2115 ("blueline bug")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10808 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 13:20:16 +00:00
Martin Vermeer
5846f51332 Force update on paragraph merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10673 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-19 12:30:34 +00:00
Georg Baum
035861d4dc partial fix for bug 1973
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10664 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-17 15:03:41 +00:00
Jean-Marc Lasgouttes
d0cb16c256 fix bug 2146
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10645 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-06 14:54:23 +00:00
Jean-Marc Lasgouttes
70c0f419f6 honor nextnoindent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10608 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-17 09:19:02 +00:00
Martin Vermeer
eff44c1347 Fix bug 1966
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10606 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-16 13:12:15 +00:00
Martin Vermeer
4288e62d08 Fix bug 2115 (crash, selection begin and end different depths)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10594 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-07 15:02:08 +00:00
Jean-Marc Lasgouttes
4e1b1d1128 bug 2061: Right Arrow has to be pressed twice to move cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10574 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-25 11:46:12 +00:00
Jean-Marc Lasgouttes
20af9e8555 fix two crashes related to dEPM. Some crashes remain
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10551 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 14:48:27 +00:00
Angus Leeming
f7713f7011 Squash compiler warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10521 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-05 08:41:28 +00:00
Martin Vermeer
fe1c0c435b Two fixes involving RtL text drawing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10513 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-03 12:13:58 +00:00
Jürgen Spitzmüller
d9d8fa107b fix inset width calculation (bug 1957)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10489 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-27 08:48:53 +00:00
Jean-Marc Lasgouttes
16c957358a incluse boost/current_function.hpp when needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10482 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-26 09:20:15 +00:00
Georg Baum
58934cde15 fix segmentation fault
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10437 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-10 13:29:44 +00:00
Jürgen Spitzmüller
3382c78af9 implement and use virtual bool neverIndent() (thereby fixing bug 2003)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10436 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-10 06:51:58 +00:00
Jean-Marc Lasgouttes
52a2eb2c52 John&JMarc's change tracking patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10424 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-07 10:37:05 +00:00
Martin Vermeer
a91f7512b2 Fix bidi bugs 1965, 1970
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10396 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-15 08:26:53 +00:00
Jürgen Spitzmüller
a9ec2ab3df fix bug 1254 (handling of blanks in change tracking mode)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10380 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-01 12:37:25 +00:00
André Pönitz
f70191cc10 some (yet unfinished) up/down work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10333 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 17:12:28 +00:00
André Pönitz
f5e68ec257 fix bug 1795
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10321 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 12:13:32 +00:00
André Pönitz
af5acb6dc7 ~4% speedup by inlining a few one-line accessors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10320 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 11:00:15 +00:00
Jürgen Vigna
dda0ab085c Honor boundary when asking for cursorX in drawSelection code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10315 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 09:18:02 +00:00
André Pönitz
3e1919e067 probably fixed bug 1561
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10298 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 23:03:01 +00:00
Jürgen Vigna
2f8967b43b bug 575: allow merging of paragraphs by Delete/Backspace with the same Layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10294 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 16:12:48 +00:00
José Matox
1de2bc6d79 couple of small fixes (they are not even mine).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10291 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 15:27:49 +00:00
Jürgen Vigna
4126b3f828 Add parameter boundary for getRow() function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10276 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 12:02:48 +00:00
Jean-Marc Lasgouttes
9d651c4b6d Just remove bogus check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10257 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 18:21:14 +00:00
Jean-Marc Lasgouttes
126658bf02 output the actual Boundary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10250 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 16:27:08 +00:00
André Pönitz
627b8df878 remove unneeded function Paragraph::checkInsertChar, fix small bug in boundary handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10240 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 12:02:31 +00:00
Jürgen Vigna
88d9527776 Handle cursor position after last char in row before a inset which uses a whole row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10233 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 00:04:54 +00:00
Lars Gullik Bjønnes
c95df1c147 bug 806 change layout to default when deleting empty keepempty paragraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10219 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 16:27:06 +00:00
André Pönitz
41ecabf519 make boundary property an iterator property instead of a CursorSlice property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10214 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 15:49:40 +00:00
Lars Gullik Bjønnes
8355663e97 bug 1825 make sure that we do not return a pos that is not on the row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10206 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 12:56:23 +00:00
Lars Gullik Bjønnes
9abff568e6 reduce some debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10178 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 08:20:10 +00:00
Jürgen Spitzmüller
ed41220bb0 get your ruler out, John! button insets are centered again [bug 1293]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10134 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 06:56:38 +00:00
Martin Vermeer
f397e61e72 Fix bug 1904
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10076 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 15:15:33 +00:00
Angus Leeming
70572847e2 Whitespace, only whitespace. s/ +$//
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +00:00
Jürgen Spitzmüller
292dea2315 minor bibitem tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9998 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-06 08:30:20 +00:00
Martin Vermeer
a683500118 Axe processEvents, fix cursor draw artifacts, put update flags into an enum,
allow single-paragraph update


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9986 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 14:40:30 +00:00
Martin Vermeer
3956781c54 Ungoose (degoose?) bibliography
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9909 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-05 18:33:50 +00:00