Commit Graph

39222 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
7f83d26934 Avoid crash when trying to handle FitCursor
It is better to handle SinglePar before FitCursor, since the later
requires correct metrics at cursor position.

Fixes bug #11139 and probably #11125.
2018-05-11 11:27:26 +02:00
Juergen Spitzmueller
88c76ce4d2 de.po: update 2018-05-11 11:06:32 +02:00
Juergen Spitzmueller
db9e50bdcf update tex2lyx tests after file format change 2018-05-10 20:16:56 +02:00
Juergen Spitzmueller
aa9543fa2b Add support for global float alignment
It is now possible in the float settings (doc dialog) to specify a global
(inner) alignment for floats, and in the float settings, this can be
overridden (just as with float placement)

Fixes: #8665

File format change.
2018-05-10 20:15:11 +02:00
Scott Kostyshak
2389580c27 Fix menu accelerator conflict 2018-05-10 13:24:23 -04:00
Scott Kostyshak
23de5e5e19 Only show Accept/Reject Change options if relevant
In the context menu for a selection, we now only show the options
"Accept Change" and "Reject Change" if there is actually a change in
the selection. Similarly, in the toolbar, the buttons are only
enabled when there is a change in the selection.

This fixes #10338.
2018-05-10 12:58:44 -04:00
José Matos
37c9480656 Simplify the backup names when using an older file format.
Currently if we have a 2.3 file and we open it with a more recent version
we get:

original file: file.lyx
backup file:   file-lyxformat-544.lyx~

After this commit the backup file becomes

file-lyx23.lyx~

If the file is from a development version then we get the same result as before.
2018-05-09 08:53:28 +01:00
Scott Kostyshak
bde1834f7e Center longtable explicitly (#10690)
"Center" is the default of longtable, but some situations require it
to be centered explicitly, such as when using floatrow:

https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable
2018-05-08 11:18:07 -04:00
Enrico Forestieri
ceb8421e57 Update it.po 2018-05-08 14:06:01 +02:00
Kornel Benko
c77ede6c2b Update sk.po 2018-05-08 09:00:11 +02:00
Kornel Benko
298455228a Update sk.po 2018-05-08 08:42:36 +02:00
Juergen Spitzmueller
e17498d90c Correct German translation
"Benutzerdefiniert" means "user defined", which is not what "custom"
means here (custom insets/text styles are usually not user defined,
but provided by a class/module).
2018-05-08 08:38:44 +02:00
Richard Kimberly Heck
81abfdc13d Fix problem noted by Scott in bug #11125.
Need to set the Buffers for math insets, too.
2018-05-08 02:11:49 -04:00
Juergen Spitzmueller
9e1607d15a de.po: update 2018-05-08 07:57:00 +02:00
Juergen Spitzmueller
3313e7d0ab Separate Text Styles and Text Properties 2018-05-08 07:46:53 +02:00
Juergen Spitzmueller
96acb9c3cc Improved oxygen icons for dynamic menus 2018-05-07 18:42:35 +02:00
Enrico Forestieri
139c150568 Update it.po 2018-05-07 15:36:50 +02:00
Juergen Spitzmueller
27aecaab0c de.po 2018-05-07 14:48:32 +02:00
Kornel Benko
a7c1d955c2 Add missing handling of entry 'Dynamicmenu' to po/lyx_pot.py 2018-05-07 13:43:48 +02:00
Kornel Benko
1d11333c46 Cmake build: Recreate .pot files also if po/lyx_pot.py changes. 2018-05-07 13:29:57 +02:00
Enrico Forestieri
dc0b21525b New icons for dynamic inset and charstyle menus.
These icons are more in line with the default theme, IMHO.
2018-05-07 11:55:47 +02:00
jpc
a9f8d7463d Update fr.po 2018-05-07 11:53:18 +02:00
Juergen Spitzmueller
5b352e6e8e Fix cutnpaste error 2018-05-07 10:15:23 +02:00
Juergen Spitzmueller
de8302523b Document nospellcheck 2018-05-07 09:28:55 +02:00
Juergen Spitzmueller
8444f43935 de.po: update 2018-05-07 09:27:49 +02:00
Kornel Benko
dd5097b469 Update sk.po 2018-05-07 09:22:14 +02:00
jpc
8ead16599a Update fr.po (last step after character style review) 2018-05-07 09:20:26 +02:00
Juergen Spitzmueller
653bbd27fe UserGuide: Reset > Default 2018-05-07 09:14:55 +02:00
Juergen Spitzmueller
3825b25aed GuiCharacter: Reset > Default 2018-05-07 09:03:45 +02:00
Juergen Spitzmueller
2f2102d0ba Paint nospell mark lower than foeign mark, since these can appear both
Also, assure that misspelled mark is not shown when nospellcheck()
2018-05-07 08:41:28 +02:00
Juergen Spitzmueller
57dc817581 Add \nospellcheck font property
This revives a ten year old idea (and patch) by Dov.

You can now mark in the character dialog text and exclude it from spell
checking.

Fixes: #1042

File format change

Remaining issue: The instant spell checking marks are not immediately
removed, but only after some editing.
2018-05-06 19:48:21 +02:00
Richard Kimberly Heck
40a61357af Try some new icons for new dynamic inset and charstyle menus.
Suggestions by Pavel. Also move menus on toolbars per his suggestions.
2018-05-06 13:39:17 -04:00
jpc
350499e5eb Update fr.po (first step) 2018-05-06 17:45:06 +02:00
Kornel Benko
d1e0dc7b76 Small corrections in slovak.nsh 2018-05-06 15:29:41 +02:00
Juergen Spitzmueller
4c8883b0e1 UserGuide: Adapt to new character dialog.
Also differentiate more between (semantic) Character Styles and (formal)
Text Properties.
2018-05-06 14:17:28 +02:00
Kornel Benko
1affb7257e Update sk.po 2018-05-05 19:23:20 +02:00
Juergen Spitzmueller
753b8afeba de.po: update 2018-05-05 18:57:26 +02:00
Juergen Spitzmueller
16918f9706 More UI tuning following Scott's suggestions 2018-05-05 18:48:43 +02:00
Richard Kimberly Heck
c7a2011adf Remove unused function. 2018-05-05 12:02:10 -04:00
Juergen Spitzmueller
9c0bea33b6 Fine-tune character dialog UI 2018-05-05 17:45:17 +02:00
Juergen Spitzmueller
7be3805a65 Further BC fixes to GuiCharacter 2018-05-05 17:24:09 +02:00
Juergen Spitzmueller
39596ab558 de.po: update 2018-05-05 16:04:54 +02:00
Juergen Spitzmueller
09b2e337f7 Make textcommabelow feature conditional on encoding 2018-05-05 15:43:54 +02:00
Juergen Spitzmueller
c62055458e Use a copy of BufferParams 2018-05-05 15:26:58 +02:00
Juergen Spitzmueller
a853dab61f Check script char fontenc from main language. 2018-05-05 15:26:37 +02:00
Juergen Spitzmueller
01ca601877 Fix BC issue with autoapply 2018-05-05 12:35:07 +02:00
Juergen Spitzmueller
0573d31f05 de.po: update 2018-05-05 12:05:13 +02:00
Kornel Benko
145d81da68 Update sk.po 2018-05-05 11:55:38 +02:00
Juergen Spitzmueller
fe18bea3d0 Have OK/Apply buttons initially disabled. 2018-05-05 11:33:45 +02:00
Juergen Spitzmueller
164e8d1dc8 Add missing transition to button controller
(needed by GuiCharacter, the only user of that specific policy)
2018-05-05 11:32:56 +02:00