Commit Graph

19384 Commits

Author SHA1 Message Date
Richard Heck
6576aed3d5 This patch allows for multiple LFUNs to be bound to a single key, via a new command-alternatives function, to be used like so:
\bind "Tab" "command-alternatives" "completion-accept;cell-forward"
The first of the metioned functions that is enabled with be called.

The code is pretty trivial and just stolen from command-sequence.

The binding mentioned is more or less the point of the patch, but we still need to decide exactly what the bindings should be. There have been various threads concerning this. You can use the above for testing. Add it to site.bind, replacing the existing binding.

Jose: Once the bindings have been sorted out, that will complete the work on this we said we wanted to do for rc3.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26518 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 15:08:46 +00:00
Richard Heck
b8cf8cbab2 This patch prevents the shortcut dialog from silently over-writing existing bindings. (Indeed, both bindings will show up, prior to this patch, though only one will work.) A better solution would be to ask the user for permission to over-write, and then to take appropriate action. But this will do for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26517 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 14:56:43 +00:00
Richard Heck
6cde86e1d7 Save a few bytes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 13:32:09 +00:00
Richard Heck
5a579070c4 Doxy fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26515 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 13:20:05 +00:00
Richard Heck
2d73a78a30 Update the bibliography documentation a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26514 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 12:50:18 +00:00
Uwe Stöhr
3b50e994c9 de.po: correct shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26513 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 11:00:55 +00:00
Uwe Stöhr
075bee7911 German EmbeddedObjects.lyx: correct a dialog entry name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26512 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 11:00:20 +00:00
Jean-Marc Lasgouttes
6e44305b68 update french l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26511 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 10:19:35 +00:00
Uwe Stöhr
4b6579e3b6 UserGuide.lyx: some fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26510 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 00:45:32 +00:00
Uwe Stöhr
dadad12e78 UserGuide.lyx: update Appendix B (more to come the next days)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26509 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 00:16:13 +00:00
Jean-Marc Lasgouttes
efb2fb3e53 create a proper undo group before unifying graphics group (crystal clear, isn t it?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 21:57:23 +00:00
Uwe Stöhr
75b3ceb670 Math.lyx: fix a table layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26507 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 21:42:12 +00:00
Uwe Stöhr
f1556cf1d3 - fr.po_ updates by Jean-Pierre
- de.po some translations
- po-file remerge

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 19:34:31 +00:00
Richard Heck
6c5efdf25d Read site.bind as well as the user's bind file.
Why is site.bind given special treatment?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26505 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 17:04:25 +00:00
Pavel Sanda
cbb26a58aa Be at least consistent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26504 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 14:18:59 +00:00
Richard Heck
ad0ecf86a7 Move the ItemType enum out of GuiPref and into KeyMap, where it belongs.
This is preparation for multi-LFUN bindings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26503 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 13:53:38 +00:00
Richard Heck
31e5a15695 Get some good debug output for function codes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26502 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 13:18:51 +00:00
Uwe Stöhr
4a74c5f965 UserGuide.lyx: fix the layout and a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 23:20:23 +00:00
Uwe Stöhr
64b6f7f3cf UserGuide.lyx: one of the last updates for LyX 1.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26500 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 23:12:13 +00:00
Pavel Sanda
f7cf8c09d2 git is shouting at me because of whitespaces, so what can i do...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26498 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 15:41:05 +00:00
Pavel Sanda
29e02eff76 Colors for multi-author track changes.
Patch by Vincent.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143215.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26497 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 15:30:26 +00:00
Jean-Marc Lasgouttes
76b64cded1 compilation fix from abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26496 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 11:00:17 +00:00
Abdelrazak Younes
36f619ed25 BufferList::next() and previous(): don't cycle through 'internal' buffers.
This should fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5259


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 09:59:46 +00:00
Abdelrazak Younes
c0aeb567ce add FileName::extension() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26494 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 09:44:44 +00:00
Abdelrazak Younes
8c4ffb42da Move maxlastfiles from Session.h to LyXRC.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26493 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 07:42:57 +00:00
Abdelrazak Younes
da1de0055e Get rid of unused SessionInfoSection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26492 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 07:30:48 +00:00
Abdelrazak Younes
38ecdfd5b7 Pref ui module: add a 'clear session'.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 07:14:30 +00:00
Abdelrazak Younes
475a48b78d GuiView::saveLayout(): Use QSettings::beginGroup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26490 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 06:50:35 +00:00
Abdelrazak Younes
305079fb23 X11 compil fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 06:48:08 +00:00
Enrico Forestieri
1cd01f0db4 On Vista, if a file type is not registered, AssocQueryString() returns
information about the "Unknown" application instead of admitting that
nothing is registered. The solution is to add ASSOCF_INIT_IGNOREUNKNOWN
to the flags parameter. Also update dead URLs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26488 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 00:07:48 +00:00
Abdelrazak Younes
ed1122f86b Use QSettings::beginGroup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 22:34:19 +00:00
Abdelrazak Younes
fa36309412 compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26486 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 22:11:59 +00:00
Abdelrazak Younes
d6936b4c5d remove debug code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26485 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 21:47:47 +00:00
Abdelrazak Younes
8e4d2d66ce Reset the geometry and ui settings whenever a change in the ui files is selected. This commit will destroy any current geometry session. The "view-id/" nodes are converted into "view/id/" nodes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26484 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 21:28:37 +00:00
Uwe Stöhr
8efc63752d - Math.lyx: - update math bold description to the new shortcuts
- new section about colored formulas
- menus.bind: update shortcut Alt-c b according to the discussed new handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26482 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 21:09:38 +00:00
André Pönitz
e5ae1a4b75 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26481 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 19:27:20 +00:00
Richard Heck
5ee839c3c8 Fix the tab stops in the paragraph dialog, and improve
the fix last committed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26480 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 15:25:04 +00:00
Richard Heck
4197460862 Fix autodefault setting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26479 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 14:49:27 +00:00
André Pönitz
7d3841aae6 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26473 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 09:11:21 +00:00
André Pönitz
b35d3bfc5c Abdel can't seee anythin wrong with that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 01:39:00 +00:00
André Pönitz
082b4dbb3f save a few cycles.
[in QObejct::connect() the passed signatures get 'normalized', and 
'Foo const &' is turned into 'Foo' anyway]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26471 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 01:35:43 +00:00
Uwe Stöhr
108cc7d0b3 Math.lyx: fix index entries, now that bug 5022 is fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26470 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 23:51:05 +00:00
Peter Kümmel
f712b9840f cmake: add endian check, thx to Jose and pdv
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26469 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 19:43:52 +00:00
André Pönitz
47821c7a2c fix slip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 13:55:37 +00:00
André Pönitz
fc86915b0c cosmetics. remoe strange dependency of GuiDocument.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26467 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 13:44:51 +00:00
André Pönitz
0f6b4e902f save a few cycles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26466 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 12:57:12 +00:00
André Pönitz
e7812d3e26 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26465 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 12:17:15 +00:00
André Pönitz
739f890e74 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26464 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 12:07:18 +00:00
André Pönitz
ae62ef20f8 cosmetics;
also use QT_NO_CAST_TO_ASCII and QT_NO_STL for better checks on type
conversions


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26463 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 11:47:38 +00:00
Abdelrazak Younes
4829f3bd39 compile fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26462 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 07:38:28 +00:00