Jürgen Spitzmüller
c0ff4f48e5
* src/insets/InsetNewline.cpp:
...
- revert accidental commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-23 15:07:31 +00:00
Jürgen Spitzmüller
fb12b282f1
* src/inset/InsetNomencl.cpp:
...
- implemet inset tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-23 15:02:44 +00:00
Jürgen Spitzmüller
641708ac4b
* separate nomencl processing command from index processing command, since nomencl
...
relies on makeindex (with specific options) [bug 5184].
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26226 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-23 09:44:00 +00:00
Jürgen Spitzmüller
b556fe1bcb
* src/inset/InsetNomencl.cpp:
...
- indicate content of nomencl inset (bug 5183).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26223 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-22 16:12:29 +00:00
Uwe Stöhr
a258a932d9
InsetHyperlink.cpp: add "http://" when the hyperlink type is web and no protocol is specified (as requested on the lyx-devel list)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26218 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 22:06:10 +00:00
Jürgen Spitzmüller
0d63bbae14
* src/insets/InsetFloat{.cpp,h}:
...
- subfloat labelling fixes from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26214 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 14:56:12 +00:00
Jürgen Spitzmüller
26e3e050a4
* src/Paragraph.cpp:
...
- use \textquotedbl for straight quotes in T1 encoding (bug 5091).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26212 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 08:51:56 +00:00
Jürgen Spitzmüller
9bfc1c9d46
final final touch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26208 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 07:51:40 +00:00
Jürgen Spitzmüller
db9885f882
final touch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26207 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 07:48:24 +00:00
Jürgen Spitzmüller
5da25426f5
* adjust line lengths
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26206 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 07:30:09 +00:00
Jürgen Spitzmüller
cd42bffb52
whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26205 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-19 07:06:51 +00:00
Jürgen Spitzmüller
a2906cb877
** proper implementation of pLaTeX by Tetsuya Makimura and me, fixes many remaining problems and bugs with language "japanese" (bugs 4863, 4290, 4700 and partially 4697) **
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26200 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-18 17:26:09 +00:00
Jean-Marc Lasgouttes
17dd645862
Bug 5173: Undo Grouping
...
http://bugzilla.lyx.org/show_bug.cgi?id=5173
* Undo.cpp (beginUndoGroup, endUndoGroup): new methods.
(UndoElement): add group_id member
(UndoElementStack): when removing old undo entries, make sure to
remove whole groups.
(Undo::Private): add group_id and group_level (for nesting) members.
(doTextUndoOrRedo): new method. Apply _one_ UndoElement.
(textUndoOrRedo): call doTextUndoOrRedo on each element of the current
group.
(recordUndoFullDocument): put inside an undo group
* Cursor.cpp (beginUndoGroup, endUndoGroup): new methods.
* LyXFunc.cpp (dispatch): add calls to (begin|end)UndoGroup.
* lyxfind.cpp (replaceAll): use several recordUndo instead
of one recordUndoFullDocument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26178 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 19:24:56 +00:00
Jean-Marc Lasgouttes
608c46b080
Add a new debug channel UNDO (in place of the unused ROFF)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26177 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 19:09:42 +00:00
Jean-Marc Lasgouttes
d0827e017e
Fix crash when the Gui Name of a toolbar is not plain ascii. This
...
happens for example with fr.po.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26176 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 18:43:46 +00:00
Jean-Marc Lasgouttes
e22b5d0718
Fix bug 2449: Insertion of math delimiter cannot completely be undone
...
http://bugzilla.lyx.org/show_bug.cgi?id=2449
* Text3.cpp (dispatch): handle undo for LFUN_MATH_INSERT,
LFUN_MATH_MATRIX, LFUN_MATH_DELIM and LFUN_MATH_BIGDELIM.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26174 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 16:15:20 +00:00
Jean-Marc Lasgouttes
97e6476feb
Fix bug 3407: Undo with text-in-mathmode
...
http://bugzilla.lyx.org/show_bug.cgi?id=3407
* InsetMathNest.cpp (doDispatch/LFUN_MATH_MODE): handle undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26173 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 15:50:42 +00:00
Enrico Forestieri
2566c9496d
Fix bug 5172: Toolbar names are not translated
...
http://bugzilla.lyx.org/show_bug.cgi?id=5172
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26171 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 10:56:53 +00:00
Richard Heck
10585e780c
One more.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26170 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 01:03:51 +00:00
Richard Heck
a40183c0a9
Add a comment about how to clean this up. This looks like post-1.6 stuff,
...
since it doesn't actually affect current function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26169 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-15 01:03:32 +00:00
Richard Heck
b899cf8f3d
A FIXME for later.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26164 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 15:53:32 +00:00
Richard Heck
42c5781bce
Do the last commit the right way. The previous one led to a crash because I wasn't
...
returning a fully realized font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26163 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 15:44:36 +00:00
Richard Heck
004b672399
Fix bug discussed in this thread: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg142814.html . The problem was that the font information in InsetLayout was not being properly integrated into the routines that set the active font.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26162 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 15:24:12 +00:00
Jean-Marc Lasgouttes
771673ccbb
Fix bug 5149: Pasting outside math when cursor is inside
...
http://bugzilla.lyx.org/show_bug.cgi?id=5149
Make sure that the cursor is set to the right place before doing a middle-
button paste.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26161 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 11:03:51 +00:00
Jean-Marc Lasgouttes
5ca204ea10
Fix bug 5156 http://bugzilla.lyx.org/show_bug.cgi?id=5156
...
Be more strict when evaluating whether the cursor is inside the selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26159 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 10:28:20 +00:00
Jean-Marc Lasgouttes
aa67d5eb64
Fix bug 5065: DEPM fails with "cursor follows scrollbar"
...
http://bugzilla.lyx.org/show_bug.cgi?id=5065
* BufferView.cpp (setCursorFromScrollbar): makes sure that the mouse is set using mouseSetCursor (so that dEPM can trigger).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26158 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 09:59:04 +00:00
Jean-Marc Lasgouttes
1b2c73c555
* BufferView.cpp (contextMenu): If there is a selection, return the
...
containing inset menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26157 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 09:45:42 +00:00
Richard Heck
98c7c96ca4
Remove some unused code, and replace with a comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26156 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-14 07:03:46 +00:00
Peter Kümmel
1da756723a
fix merged build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26152 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 21:39:59 +00:00
Richard Heck
6f7136fc7b
whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 19:58:00 +00:00
Richard Heck
cf33f88943
We should at least also check the index. But probably more is needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26147 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 17:05:34 +00:00
Jean-Marc Lasgouttes
1bad3e5232
avoid empty selections (patch from Vincent van Ravesteijn)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 15:22:41 +00:00
Jean-Marc Lasgouttes
3589a75a11
clearSelection invokes resetAnchor
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26145 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 15:13:37 +00:00
Jean-Marc Lasgouttes
3d9f151e00
set cursor correctly when right clicking on inset button
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 15:01:12 +00:00
Richard Heck
419642ad9e
Fix citation bug: In certain circumstances, attempts to insert a new citation
...
would instead change an old one. The problem was that we were hiding the dialog
with hide(), which does not trigger closeEvent(). So we have to implement
hideEvent().
http://marc.info/?l=lyx-devel&m=121278861019829&w=2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26143 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 14:32:30 +00:00
Richard Heck
1c5003c4ef
Make sure that in_show_ is reset to false, even if an exception is thrown
...
when we're trying to show a dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26142 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 14:25:56 +00:00
Jean-Marc Lasgouttes
4d63bd347b
constification without any code change. This is part of and effort to see whether BufferView::cursor() could be made const
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26141 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 13:46:19 +00:00
Jean-Marc Lasgouttes
c52b80d6e0
fix warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26140 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 13:25:36 +00:00
Stefan Schimanski
520b760891
* make sure that the reference cache, buffer_ pointers and macros are updated
...
in child documents.
Fixes:
http://bugzilla.lyx.org/show_bug.cgi?id=5153
http://bugzilla.lyx.org/show_bug.cgi?id=5032
http://bugzilla.lyx.org/show_bug.cgi?id=5159
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26137 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-13 10:36:43 +00:00
Richard Heck
481c24c8eb
Remove unintelligible comment. (This seems to have been copied over from Dialog.h.)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26126 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 22:18:21 +00:00
Richard Heck
ea6aed5b8b
Remove invalid comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26125 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 21:56:07 +00:00
Jean-Marc Lasgouttes
45312b5f49
Fix bug 4166: Crash when middle button click on inset label
...
http://bugzilla.lyx.org/show_bug.cgi?id=4662
* InsetCollapsable.cpp (doDispatch): cleanup the handling of mouse-
related lfuns. The new behavior is as follows:
- everything that does not touch the button is sent to the insettext,
if it is visible, and delegated to enclosing inset instead
- mouse1-press is delegated to enclosing inset (which will set the
cursor)
- the rest is either acted upon or results on a mere cur.noUpdate().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26122 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 14:13:16 +00:00
Jean-Marc Lasgouttes
2d76d3a0c6
Fix bug 5161: Context menu does not respect selection
...
http://bugzilla.lyx.org/show_bug.cgi?id=5161
* Text3.cpp (dispatch/LFUN_MOUSE_PRESS): compare the mouse position to
the bufferview cursor, since cur is already set to the place we
want; reverse the test for being inside of the selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26121 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 10:17:31 +00:00
Jean-Marc Lasgouttes
8602143775
Add missing operator>= to DocIterator
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26120 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 09:51:00 +00:00
Richard Heck
8c6ba1dd6c
Patch from Vincent. This resets the window title appropriately, after
...
the last BufferView has been closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26115 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-11 12:57:02 +00:00
Richard Heck
4af444926a
Fix silly bug that makes it impossible to change bibitem keys.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26114 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-10 20:32:51 +00:00
Richard Heck
b3c5c1ca89
Fix crash noticed by Vincent. We don't know that insetText is non-null here!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26112 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 16:56:30 +00:00
Richard Heck
4e2d14a363
Disable nomencl-insert with inappropriate selections.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26111 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 16:31:22 +00:00
Richard Heck
ebfe9d60d7
The previous commit inadvertently contained some of this one, which is just a renaming.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26110 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 16:29:25 +00:00
Richard Heck
bcedd63443
OK, let's actually get this nomencl-insert thing right.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26109 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-09 16:15:49 +00:00