Abdelrazak Younes
59124528ac
use GuiApplication::languageModel() in GuiDocument.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24680 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:18:45 +00:00
Abdelrazak Younes
207470d385
Introduce GuiApplication::languageModel() and use it in GuiPrefs.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24679 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:03:38 +00:00
Abdelrazak Younes
acb78e35f1
Automatically update the dialog when the autoApply checkbox is toggled.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24676 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 23:56:48 +00:00
Pavel Sanda
01ceec9cfe
Codingstyle.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24675 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 23:40:59 +00:00
Abdelrazak Younes
63897c2959
Fix part of bug 4836
...
http://bugzilla.lyx.org/show_bug.cgi?id=4836
reset_language was not correctly handled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 23:33:56 +00:00
Uwe Stöhr
2b69b18cdd
tex2lyx/text.cpp: fix bug 20
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24673 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 22:52:56 +00:00
Abdelrazak Younes
fbb8c063ec
move languageData() out of qt_helpers.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 22:42:44 +00:00
Jürgen Spitzmüller
9db0f4a83c
gcc compile fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24665 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 21:05:04 +00:00
Richard Heck
b90b295e22
Partially fix an annoying hover problem, viz: InsetCollapsable buttons don't get unhovered' if you collapse them (via Ctrl-I) when the mouse is inside the inset. I often seem to end up with several
hovered' buttons.
...
There is probably a better solution somewhere, but it's not obvious what it is, and this solution doesn't do anything terrible. It leaves unaddressed the fact that the button does not get `hovered' if you open an inset via Ctrl-I, and then the mouse ends up inside it, and now the button will get `unhovered' whenver you collapse it, even if the mouse ends up over the button. But (i) my attempts to deal with these cases failed, (ii) they're not very annoying, (iii) they get `fixed' as soon as you move the mouse, and (iv) I'm not sure how complicated it's worth making this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24662 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 19:20:01 +00:00
Abdelrazak Younes
9d23d76c8e
Revamp of the character dialog:
...
- many simplification all over the place.
- improvement to the "Immediate apply" feature.
AFAICS all functionality is restored but please test and report.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24661 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 18:53:48 +00:00
Abdelrazak Younes
281487872f
fix http://bugzilla.lyx.org/show_bug.cgi?id=4811
...
wrong default language in character dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 15:41:12 +00:00
Abdelrazak Younes
f89b05ebc2
header.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24658 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 14:45:49 +00:00
Pavel Sanda
c32f7c377e
Move code to more appropriate place, cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24657 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 14:44:58 +00:00
Jean-Marc Lasgouttes
4b07e1ea92
Fix bug 4806
...
* Context.cpp (begin_layout): make it a (private) method, and output
the extra stuff here.
(add_par_extra_stuff): this is used for stuff that is only for next
paragraph (like extra_stuff used to be); add_extra_stuff is now for
code that is output for all paragraphs in the context.
* text.cpp: update to new Context methods. Every user of add_extra_stuff
uses add_par_extra_stuff, except alignment (which has to be repeated
to fix bug 4806).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24656 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 13:55:03 +00:00
Abdelrazak Younes
61507ecf01
fix Bug 4119: LFUN accent-special-caron is obsolete
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24655 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 11:17:43 +00:00
Edwin Leuven
401ec4b50b
no vertical lines with booktabs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24654 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 09:37:22 +00:00
Abdelrazak Younes
f7feff9fb3
english_language was not used at all.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24653 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 08:55:25 +00:00
Uwe Stöhr
d50354fc5b
tex2lyx/box-color-size-space-align.tex: 2 small changes for better output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24649 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 00:29:44 +00:00
Pavel Sanda
13e42a8c73
Introduce groups for graphics insets. That includes:
...
- GuiGraphics dialog field for setup new groups.
- Graphics context menu for assigning to certain group.
- Fileformat change for groupId field in Graphics inset.
- Undo mechanism added to inset-apply, for catching changes
in preference dialog.
- Qt designer 4.4 used now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 21:13:09 +00:00
Abdelrazak Younes
99b12faae4
Fix 4603 for GuiGraphics. I guess most GuiDialog based dialog need fixing...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24643 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 15:18:50 +00:00
Abdelrazak Younes
c14295fbe3
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4603
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24642 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 14:53:54 +00:00
Abdelrazak Younes
44c3b0e07f
Some more house cleaning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24641 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 14:33:38 +00:00
José Matox
1797f5218b
endl is defined in ostream, iomanip is not enough (it matters for gcc 4.3)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24640 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 14:29:06 +00:00
Jean-Marc Lasgouttes
048ae6f2b8
silence warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24639 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 14:11:20 +00:00
Abdelrazak Younes
39276a1254
A bit of house cleaning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24638 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 13:50:37 +00:00
Pavel Sanda
2e7c94ee0f
Change naming upon the user request.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24637 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 13:47:20 +00:00
Edwin Leuven
cf5b793f18
fix http://bugzilla.lyx.org/show_bug.cgi?id=4778
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24635 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 11:24:54 +00:00
Jean-Marc Lasgouttes
d954056cc2
unbreak compilation (part 4)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24634 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 10:42:26 +00:00
Jean-Marc Lasgouttes
e5d9a230db
unbreak compilation (part 3)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24633 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 10:37:25 +00:00
Jean-Marc Lasgouttes
ecb715d682
unbreak compilation (part 2)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24632 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 10:36:32 +00:00
Jean-Marc Lasgouttes
265e047484
a bit of compilation unbreaking
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24631 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 10:22:25 +00:00
Pavel Sanda
14257be476
Squelch annoying debug dump.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24630 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 09:55:12 +00:00
Abdelrazak Younes
b90ec7288d
remove unneeded includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24629 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 06:53:44 +00:00
Abdelrazak Younes
45bc27809b
remove unneeded includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24628 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 06:48:38 +00:00
Jürgen Spitzmüller
b64a7173bc
* InsetMathHull:
...
- fix rest of bug 518.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24627 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 06:41:08 +00:00
Uwe Stöhr
35b677045e
tex2lyx/test-structure.tex: add an appendix
...
tex2lyx/test-insets.tex: add an unindented paragraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24622 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 22:45:22 +00:00
Jürgen Spitzmüller
2e60364941
* InsetSpace drawing cosmetics, from Helge.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24621 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 17:58:16 +00:00
Pavel Sanda
e8b84b9cfb
from_utf8(fromqstr -> qstring_to_ucs4 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24619 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 17:04:02 +00:00
Abdelrazak Younes
3a62e23018
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4821
...
Allow LFUN_INSET_SETTINGS with enclosing inset if this particular dialog has been explicitely requested.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24618 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 15:34:10 +00:00
Pavel Sanda
f39515acac
* Comment ( http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg139671.html ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24616 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 15:22:59 +00:00
Jürgen Spitzmüller
adc9429855
Correctly handle quotation marks in command preferences (bug 2016):
...
* src/LyXRC.cpp:
- new helper function to escape commands
- parse escaped commands
* src/Lexer.{cpp,h}:
- whitespace/typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 13:53:28 +00:00
Pavel Sanda
6ecf29ff1c
* Doxy ( http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg139645.html ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24612 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 13:28:16 +00:00
Abdelrazak Younes
592d53e065
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4771
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 06:56:43 +00:00
Pavel Sanda
4fa442d76b
Fix monolithic builds for tarballs.
...
(make dist generated empty qt4 mono file).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24605 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 22:43:32 +00:00
Dov Feldstern
553d896bb6
visual mode for bidi cursor movement --- at the word-at-a-time level
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24602 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 20:22:19 +00:00
Dov Feldstern
ffda0d89b4
refactoring visual cursor movement functions
...
Specifically, moved the functions which actually move left or right from Text
into Cursor, and changed the semantics so that they now return whether or not
the cursor has moved. The functions in Text now use the new functions in Cursor.
This change is being made in preparation of the Word-level visual movement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24601 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 20:17:59 +00:00
Edwin Leuven
832bbc4329
fix: http://bugzilla.lyx.org/show_bug.cgi?id=4688
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 07:51:50 +00:00
Abdelrazak Younes
fc12716a97
We don't want the document dialog to be reset for each new paragraph.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 07:50:00 +00:00
Abdelrazak Younes
a04284c2b8
Fix http://bugzilla.lyx.org/show_bug.cgi?id=4816
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-03 08:24:05 +00:00
Abdelrazak Younes
d8a3f71d4c
fix http://bugzilla.lyx.org/show_bug.cgi?id=4815
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24591 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-03 07:56:07 +00:00