Commit Graph

7246 Commits

Author SHA1 Message Date
Tommaso Cucinotta
a17d3460f6 Implements functionality of the replaceAll button on Advanced F&R.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37853 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 22:19:19 +00:00
Enrico Forestieri
2e18f6a671 Fix bug #7331 (No error highlighting in child documents)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37845 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-04 13:37:14 +00:00
Enrico Forestieri
33d853d1aa Fix bug #7330 (No error notification with 'View master document')
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37843 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-03 16:00:40 +00:00
Enrico Forestieri
b8cdbc7be8 Partial fix for bug #7330 (No error notification with 'View master document')
With this patch, the bug is fixed when export-in-thread is disabled.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37842 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-03 13:57:46 +00:00
Pavel Sanda
e15d8a850f FloatPlacementUi was broken elsewhere.
At document prefs there was undeleted first empty line.
This was due to the spacer which has no visibility property.
However, removing spacer breaks alignment in float dialog
so we need to set up stretch of combo box to full width.

I have no better idea.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37838 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 23:15:04 +00:00
Pavel Sanda
c0a426ee7d Resave FloatPlacementUi.ui in older designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37837 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 23:15:02 +00:00
Pavel Sanda
ac105fadc1 Current float settings dialog is really ugly.
This makes it little bit more narrow, bit it still remains ugly.
Hopefully other dialogs are not worse (tried some;)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37836 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 22:38:33 +00:00
Pavel Sanda
19838cea26 Add tooltips for InsetParamsUi buttons. I guess some users will
be little bit shocked what are all these buttons and checkboxes about...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37835 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 22:38:32 +00:00
Pavel Sanda
8aaf3593f6 Resave InsetParamsUi.ui in older dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37834 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 22:38:30 +00:00
Pavel Sanda
f098abd832 Make colors pane consistent with others
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37830 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 10:27:51 +00:00
Pavel Sanda
e40e402170 Resave ColorUi in older designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37829 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 10:27:50 +00:00
Pavel Sanda
4d8d962a62 Fix ugly resize on second dialog show.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37828 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 10:10:30 +00:00
Pavel Sanda
95f5ab04eb Resave PrefFileformatsUi.ui in older designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37827 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 10:10:28 +00:00
Enrico Forestieri
55dccca79f Qt performs its own formatting to assure a maximum line length of the
descriptive text in alerts. Thus, doing it by ourselves is both unnecessary
and counterproductive.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37825 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-02 00:26:34 +00:00
Pavel Sanda
76c588d532 Fix #7311. And all my fun is gone...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37820 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 23:49:39 +00:00
Jürgen Spitzmüller
5f96251222 * GuiPrefs.cpp: fix forward search command for Okular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37817 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-01 12:42:14 +00:00
Enrico Forestieri
25e98edd00 Please Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37802 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 15:45:53 +00:00
Enrico Forestieri
2761cd67bb Fix bug #7325 (ASSERTION when moving paragraph down in info inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37801 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 15:35:29 +00:00
Enrico Forestieri
a079d95038 Initializing the gui_ member of the cloned buffer has strange side effects
with Qt/X11 (obscure X errors). Better avoiding it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37797 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 03:39:43 +00:00
Stephan Witt
f6e7fbefce #6920 paint single characters only when Qt4.7 or better, otherwise automatic kerning breaks cursor positioning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37781 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-24 21:38:12 +00:00
Enrico Forestieri
f8446ecd41 Improve comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37780 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-24 02:01:31 +00:00
Enrico Forestieri
3891b7ae06 If a paragraph has zero size, highlight the previous one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37779 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-24 01:31:20 +00:00
Peter Kümmel
4397faba8f fix wrong preprocessor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37778 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 21:06:15 +00:00
Stephan Witt
e9d943aeb8 #7292 make the modifiers Option and Control act on there own on mac - adjust the key bindings to apple standards where possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37770 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 14:30:41 +00:00
Enrico Forestieri
bdf4a016f7 Increase normal toolbar icon size to 16x16 pixels, as this seems uncontroversial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37755 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-22 00:40:47 +00:00
Enrico Forestieri
9866d2a097 Compile fix for those systems where pos_type is not typedef'd to int.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37751 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-21 16:08:02 +00:00
Enrico Forestieri
a6ed69049d If the latex log points to an error at the end of a paragraph, we highlight
the last thing in the paragraph (an inset, generally), as the end of
paragraph cannot be highlighted.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37749 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-21 10:27:50 +00:00
Pavel Sanda
2bb88c63e0 Better naming for FindAdv dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37729 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-18 18:34:51 +00:00
Joost Verburg
0cfbcf6d57 increase normal toolbar icon size to 22x22 pixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37728 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-18 13:12:18 +00:00
Stephan Witt
26e7593a8b #7292 revert the use MetaModifier for AltModifier on mac - we have to look for a proper solution to make the keyboard navigation (Option-Arrow) and the input of accented characters possible. For now the working standard keyboard navigation has higher priority.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37707 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-17 07:49:16 +00:00
Vincent van Ravesteijn
9bebb8945d Fix bug #7308: Table settings dialog broken.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37706 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 23:09:29 +00:00
Jürgen Spitzmüller
7a7676e3fe Menus.cpp: use proper ifdefs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37693 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 15:56:07 +00:00
Jürgen Spitzmüller
f450acaefe Menus.cpp: QProyStyle was introduced in Qt 4.6.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37692 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-16 15:50:39 +00:00
Vincent van Ravesteijn
66ca99798b Squeeze warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37680 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 17:09:15 +00:00
Peter Kümmel
1a363f80e6 try a autosave next time even when currently no buffer is open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37679 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 17:07:01 +00:00
Vincent van Ravesteijn
b9e7a9b269 Fix bug #5414: Show context menu accelerators when the context menu is shown after pressing the keyboard context menu key.
This should have been done by qt, but we can override qt by adapting the style on the windows platform.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37678 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 16:53:37 +00:00
Peter Kümmel
8486940675 use more common millisecond notation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37677 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 15:25:16 +00:00
Peter Kümmel
ed4bebf698 suppress abbreviated descriptions in document dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37674 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-15 09:37:19 +00:00
Vincent van Ravesteijn
fbaba7782a Fix bug #7209: Crash when clicking on unfinished command in math.
This was a similar problem as for bug #5796 in r30807. There I made sure that the position that is used for the context menu is set at mousepress. That was because also the cursor was set at mousepress and we want to get the context menu at the place where the mousebutton was pressed, and not where the mousebutton was released.

However, in this case, the position of the context menu is stored on mousepress, but we don't take into account that the cursor might move afterwards due to the DEPM.

So, the solution is not to save the position of the mouseclick, but to save the name of the context menu we requested.

PS. Perhaps we could save the cursor position, but this seems to work too.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37669 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 21:30:12 +00:00
Stephan Witt
2c7d38a55c #7292 use MetaModifier for AltModifier on mac - alt is used to reach many special symbols, now they are usable for regular text input. Note: with swapped Command/Ctrl keys Ctrl is the MetaModifier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37659 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 19:41:23 +00:00
Vincent van Ravesteijn
f6a3b37d18 Do not compile unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37634 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:08:52 +00:00
Vincent van Ravesteijn
1b6f1ee810 Remove an include an reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37631 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:03:05 +00:00
Vincent van Ravesteijn
57cc26305a GuiView: Small simplification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37629 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 10:00:42 +00:00
Vincent van Ravesteijn
a80599aa4d Typos in the comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37626 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:59:14 +00:00
Vincent van Ravesteijn
a5be70af87 GuiWorkArea: coding style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37625 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:58:31 +00:00
Vincent van Ravesteijn
99ff27e1b8 Fix tabstops in the preference dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37622 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:54:55 +00:00
Vincent van Ravesteijn
9f21c23633 String tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37620 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:43:06 +00:00
Jürgen Spitzmüller
0489d3c496 Introduce new file format flag "menu=export" to define which document formats the File > Export menu should list. All other formats are available via the "More Formats & Options ..." (former "Custom ...") dialog.
The actual selection of formats needs to be audited.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37616 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-13 09:34:10 +00:00
Enrico Forestieri
a2d1092ecd Trial and error shows that this works for yap (what a poor documentation it has)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37607 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 22:54:52 +00:00
Enrico Forestieri
4460f32dfd Fix bug #7186 (Forward Search not working for Child Documents)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37602 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-12 20:24:09 +00:00