Jürgen Spitzmüller
c0aadd8443
* src/paragraph.h (public): new enum ChangeTracking,
...
indicating if ct is used in the current buffer.
(cleanChanges): pass enum ChangeTracking.
* src/paragraph_pimpl.C (cleanChanges): delete ct marks from
paste content if ct is of in the buffer. Set content INSERTED
if ct is on (bug 2207).
* src/CutAndPaste.C (pasteSelectionHelper): pass information
about the current change tracking state to cleanChanges.
* src/paragraph_pimpl.h (cleanChanges): pass enum ChangeTracking.
* src/paragraph.C (cleanChanges): pass enum ChangeTracking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13667 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 16:49:24 +00:00
Jean-Marc Lasgouttes
a577fcdbaf
begin work on 1.4.2svn
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13649 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 14:58:27 +00:00
Jean-Marc Lasgouttes
fa3308aaaf
ready for 1.4.1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13638 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 08:56:24 +00:00
Jean-Marc Lasgouttes
8956c47e36
* src/rowpainter.C (CursorOnRow): expand redrawing of current row to
...
endpos().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13579 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 09:09:22 +00:00
Jean-Marc Lasgouttes
5adf6d5d58
Fix bug 2195: Slowness in rendering inside insets, especially
...
on the Mac
Changes to the within-inset row rendering caching code.
* insets/insetenv.h:
* insets/insetcollapsable.h: remove method
* insets/insettabular.h:
* insets/insetbase.h: rename, add methods
* insets/insettext.[Ch]: rename method; add Tall()
* paragraph_pimpl.C
(Paragraph::Pimpl::simpleTeXSpecialC): rename call
* mathed/math_hullinset.h: rename method
* rowpainter.C
(RowPainter::paintInset):
(paintPar): remove isTrueTextInset, move to insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13568 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 12:06:37 +00:00
Jean-Marc Lasgouttes
7fac128691
* src/LaTeX.C
...
(handleFoundFile): do not add directories to dep table (crashes cygwin)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13528 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 14:45:04 +00:00
Jean-Marc Lasgouttes
d0872f2ce5
* src/lyxrc.C (setDefaults): no need to initialize tempdir_path.
...
* src/bufferlist.C (emergencyWrite): do not use explicit /tmp
directory name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13522 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 08:22:20 +00:00
Jürgen Spitzmüller
8b38f6f875
* 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/branches/BRANCH_1_4_X@13509 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 10:07:05 +00:00
Jean-Marc Lasgouttes
7022e24fe2
add missing files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13504 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:16:38 +00:00
Jürgen Spitzmüller
6a8475c331
* 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/branches/BRANCH_1_4_X@13493 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-25 14:37:08 +00:00
Jürgen Spitzmüller
5c21a7611d
the ChangeLog for rev13487
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13489 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 18:20:09 +00:00
Jürgen Spitzmüller
3f2c546936
The big change tracking paragraph patch (bug 880)
...
from Martin Vermeer <martin.vermeer@hut.fi>:
* text.C (backspace): Fix changebar non-update
* CutAndPaste.C (pasteSelectionHelper): comments
* paragraph_funcs.C (mergeParagraph): fix Juergen's cut&paste bug
* changes.h: comments
* paragraph.C (stripLeadingSpaces): remove unnecessary setChange
* text.C (backspace): allow deletion of inserted para break
Change tracking -related bug fixes (reported by Juergen) and
some documentation work
* rowpainter.C (paintChangeBar): fix painting of change bar with
only paragraph break changed
* paragraph.[Ch] (write, lookupChange, lookupChangeFull;
added setChangeFull):
* paragraph_pimpl.[Ch] (trackChanges, cleanChanges, acceptChange,
rejectChange, erase; added setChangeFull):
* CutAndPaste.C (eraseSelectionHelper):
* lyxtext.h:
* text.C (readParToken, readParagraph, breakParagraph,
acceptChange, rejectChange, backspace, currentState;
added backspacePos0):
* paragraph_funcs.C (breakParagraphConservative, mergeParagraph):
* lyxfind.C (findChange, findNextChange): fix bug 880: Change
tracked paragraphs should still allow a paragraph split (and related
things, i.e., multi-paragraph change tracking)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13486 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 16:38:30 +00:00
Jean-Marc Lasgouttes
94570286e8
* src/cursor.C
...
(bruteFind): only iterate over the paragraphs that are
in the CoordCache (bug 2217)
* status.14x
* RELEASE-NOTES: update accordingly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13477 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 13:20:41 +00:00
Jean-Marc Lasgouttes
49e07e45a6
Partial fix to bug 2355.
...
* src/bufferparams.C
(bool BufferParams::writeLaTeX):
(void BufferParams::useClassDefaults): only take action when there is
a ToC structure
* src/frontends/qt2/QDocument.C
(void QDocument::apply):
(void QDocument::update_contents): only take action when there is
a ToC structure
* src/frontends/xforms/FormDocument.C
(bool FormDocument::language_apply):
(bool FormDocument::options_apply):
(void FormDocument::options_update): only take action when there is
a ToC structure; disable
(void FormDocument::UpdateClassParams): disable the secnumdepth and
tocdepth widgets when there is no ToC structure
* src/frontends/xforms/FormDocument.h
(options_apply): do not return a bool (was not used)
* src/lyxtextclass.C
(hasTocLevels): new method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13472 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 11:59:09 +00:00
Jean-Marc Lasgouttes
baa55b55fa
enable save for new documents (bug 2313 again)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13462 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-23 13:51:00 +00:00
Jürgen Spitzmüller
f45c21fea7
adjust cursor after backspace in change tracking mode (bug 2185).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13406 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 15:49:15 +00:00
Jean-Marc Lasgouttes
4a6095fe7e
bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13396 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:27:47 +00:00
Jürgen Spitzmüller
d1bf49434e
Get a sensible prefix inside figure and tabular floats (bug 1999).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13393 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:03:29 +00:00
Jean-Marc Lasgouttes
4836399ae8
disable save when document is clean (bug 2313)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13390 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 13:14:37 +00:00
Martin Vermeer
21cc9c2795
fix bug 2212: First change is skipped in Merge changes... dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13332 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:53:24 +00:00
Jürgen Spitzmüller
08323de6c6
define \labelitemi with \def. Fixes LaTeX error if the class has not defined them yet (bug 2053).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13329 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:23:13 +00:00
Georg Baum
53c0391ae6
fix bug 2315
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13287 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-02 19:59:57 +00:00
Martin Vermeer
786c079b89
fix (properly) insertion of fonts/decorations around selection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13280 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-28 19:16:38 +00:00
Georg Baum
90f00ecfa6
fix bug 2316
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13277 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-27 12:22:36 +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
Jürgen Spitzmüller
44f88f7fc9
recognize deleted preamble (bug 2317).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13268 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 17:34:43 +00:00
Jürgen Spitzmüller
3490f23a1d
Fix defaultFont problems (bug 2308)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13266 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 15:44:57 +00:00
Georg Baum
5d3008ac51
fix bug 2273
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10814 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-06 17:57:49 +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
Georg Baum
e4ddd93da4
fix bug 2174
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10807 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-03 21:47:25 +00:00
Martin Vermeer
26cae2254e
Fix to 2249 (cursor mathed positioning)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10806 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-03 17:31:19 +00:00
Martin Vermeer
aac47f6579
Blueline-under-insets fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10805 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-03 17:21:51 +00:00
Jürgen Spitzmüller
0fa599cf52
fix crash when undoing DEPM in last paragraph (bug 2022).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10799 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-30 16:34:30 +00:00
Georg Baum
179efb7a46
fix bug 2177
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10790 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 20:13:10 +00:00
Martin Vermeer
429c5d7160
Fix 2019: take inset's own font settings into account when defining font to
...
reduce to
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10784 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 12:39:22 +00:00
Jürgen Spitzmüller
02127298e7
Implement a dociterator::forwardPos() variant that skips collapsed insets and use that in bruteFind() (fixes bug 2241 and bug 2094)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10782 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-28 09:46:58 +00:00
Jürgen Spitzmüller
cf9e9c930a
resolve beamer/color conflict (bug 2169)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10778 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-26 10:37:33 +00:00
Martin Vermeer
e2cd4d4c44
Helge's infamous brackets bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10768 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-23 10:56:47 +00:00
Martin Vermeer
2fc3845c4e
Fix bug 2015: on screen fonts in nested environments can be wrong
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10767 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-23 10:25:41 +00:00
Georg Baum
0a7ebf229c
fix bug 2192
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10758 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-19 21:18:25 +00:00
Jean-Marc Lasgouttes
2486c96b8d
cleanup some debug messages
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10757 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-19 15:49:21 +00:00
Jean-Marc Lasgouttes
512338c9c5
bug 2221: List depth icon highlightning is out-of-sync
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10751 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-18 17:44:01 +00:00
Jürgen Spitzmüller
177ca3eb70
expand redrawing of current row to endpos()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10742 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-16 15:17:17 +00:00
Jean-Marc Lasgouttes
1b411d8e9c
fix bug 2034
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10726 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-11 17:08:50 +00:00
Jean-Marc Lasgouttes
0711d8e045
fix bug 2188
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10723 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-11 14:22:11 +00:00
Georg Baum
1d57338353
fix bug 2153
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10718 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-09 21:00:24 +00:00
Jean-Marc Lasgouttes
86d8a57443
fix bug 2155: crash when undoing dEPM
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10707 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-04 14:24:40 +00:00
Martin Vermeer
aa8478b7e5
let's always repaint the row with the cursor in it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10696 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-01 23:06:23 +00:00
Lars Gullik Bjønnes
cfcb59904b
fix some syntax errors
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10695 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-01 20:28:05 +00:00
Martin Vermeer
42e9668159
Singlerow rendering (better) fix for insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10693 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-31 11:40:33 +00:00