Juergen Spitzmueller
0a3f856bc1
Update zoom display after zoom has been set
2021-03-07 18:35:40 +01:00
Juergen Spitzmueller
c8feef2e23
Add way to remove items from document dictionary
2021-03-07 18:23:07 +01:00
Stephan Witt
07122f066b
Refactoring: move check for match in spellignore() to buffer params.
2021-03-07 17:46:01 +01:00
Juergen Spitzmueller
430327152a
Fix per-document dictionary with Mac
2021-03-07 17:25:31 +01:00
Juergen Spitzmueller
be6dc7dd5d
Show zoom value in statusbar
2021-03-07 17:21:52 +01:00
Juergen Spitzmueller
bc300585f7
Properly set initial zoom value
...
This depends on settings
2021-03-07 17:09:03 +01:00
Juergen Spitzmueller
128346d03d
Fix zoom slider with mouse wheel
2021-03-07 15:18:28 +01:00
Juergen Spitzmueller
9aad98836d
Fix for Qt < 5.11
2021-03-07 14:33:13 +01:00
Juergen Spitzmueller
b07084df2d
Add ticks to zoom slider
2021-03-07 14:29:55 +01:00
Jean-Marc Lasgouttes
610ea7f4f5
Fix display of emphasize in slanted text
...
Fixes bug #12175 .
2021-03-07 13:32:34 +01:00
Juergen Spitzmueller
bdb006543b
Zoom slider
2021-03-07 13:29:23 +01:00
Stephan Witt
2cf86771ed
Amend 07396ab2445720b21dc8195816eb1aee1f2ae3a7 - fix compilation error for Apple spell checker.
2021-03-07 10:46:31 +01:00
Stephan Witt
3f75fb7a48
Amend 07396ab2445720b21dc8195816eb1aee1f2ae3a7 - fix white space.
2021-03-07 10:46:00 +01:00
Juergen Spitzmueller
a0a7ba7cce
Update tex2lyx tests
2021-03-07 08:24:01 +01:00
Juergen Spitzmueller
0b42f77551
\\spellchecker_ignore: use LyX language name rather than langcode
2021-03-07 08:21:23 +01:00
Enrico Forestieri
7545698380
Fix bug #12181
...
The context menu for InsetMathRef is now usable.
InsetMathRef still misses support for RefStyle and thus the
corresponding entries are omitted from the menu. But this would
be a different bug.
2021-03-06 23:36:58 +01:00
Daniel Ramoeller
5d269df606
Do not toggle on (all) layouts in force plain
...
Fix for #12179 .
2021-03-06 20:25:52 +01:00
Jean-Marc Lasgouttes
4210f4c9cc
Compilation fix
2021-03-06 19:58:18 +01:00
Juergen Spitzmueller
31dc0acbb8
Layout fix
2021-03-06 17:45:06 +01:00
Juergen Spitzmueller
07396ab244
Meet per-document spelling dictionaries ( fixes #86 [sic!])
...
Now who can beat that? ;-)
2021-03-06 16:53:33 +01:00
Juergen Spitzmueller
92c6c3b950
fix indendation
2021-03-06 16:15:10 +01:00
Enrico Forestieri
5a43b86141
Allow context menus in mathed
...
It is now possible to get a context menu for math insets.
InsetMathSpace was already providing a specific context menu,
but it was never triggered because the math hull inset is not
descendable. It is still so, but now when a context menu is
requested all the insets inside the math hull are examined.
If the inset under the cursor provides a context menu, it
is shown instead of the general math one.
Fixes #12100 .
2021-03-05 21:21:41 +01:00
Juergen Spitzmueller
f1f475e1d3
Add LFUN_FONT_NO_SPELLCHECK
2021-03-05 18:23:38 +01:00
Jean-Marc Lasgouttes
4828dfb441
Indicate that we do not use a return value
...
Please Coverity.
2021-03-05 13:12:58 +01:00
Jean-Marc Lasgouttes
f5340fd6d9
Fix missing initialization
...
Spotted by Coverity.
2021-03-05 13:06:10 +01:00
Jean-Marc Lasgouttes
e6a7da3b22
Fix warning when not using Qt regexps
2021-03-05 11:54:11 +01:00
Juergen Spitzmueller
23fc1b270d
Remove redundant call (amend 2b7fae04f32c)
2021-03-05 07:54:17 +01:00
Juergen Spitzmueller
2b7fae04f3
Fix limiting of absurdly large input to thesaurus ( #10528 )
2021-03-05 07:51:49 +01:00
Juergen Spitzmueller
64095a0af2
Fix wrap with Spellchecker after ignore ( #10383 )
2021-03-04 18:02:04 +01:00
Juergen Spitzmueller
a57cdd0d30
Remove confusing and unusual "Find Next" button from spellchecker dialog ( #8931 )
2021-03-04 16:54:01 +01:00
Juergen Spitzmueller
8718d01770
Style
2021-03-04 14:52:39 +01:00
Juergen Spitzmueller
5920591b52
refillToolbars() does not need to be public
2021-03-04 14:51:58 +01:00
Juergen Spitzmueller
812b6f7d69
Allow for runtime (dark/light) mode switch
2021-03-04 12:35:38 +01:00
Enrico Forestieri
be2c12ba40
Fix bug #9601
...
Make sure emphasized text in mathed has correct shape and color.
2021-03-04 11:58:44 +01:00
Jean-Marc Lasgouttes
009efa195b
Avoid pointless 'undefined flex inset' errors
...
When switching class, it does not make sense to flag flex insets that
are undefined if they were already undefined before.
Part of bug #12163 .
2021-03-04 10:08:46 +01:00
Daniel Ramoeller
fde432493d
Fix Disable Editing "Lock" icon protrudes into tab title on macOS
...
On macOS the Disable Editing "Lock" icon protrudes into tab title
Also, since the close button is on the left, the lock is better positioned on the right.
The detour via QIcon is to avoid a pixelated pixmap (because in LyX pixmaps don't adjust by default to the device's pixel ratio correctly).
Also
Fix for bug #12160 .
2021-03-02 18:38:14 +01:00
Jean-Marc Lasgouttes
fbf22bb3f3
Fix random scrolling inside nested insets
...
Happened when the BufferView was resized (e.g. math toolbars were
displayed/hidden).
Backported from gadmm's lyx-unstable tree
https://gitlab.com/gadmm/lyx-unstable/-/commit/a868bc034cea4c
Possible fix to bug #7457 .
2021-03-02 18:10:12 +01:00
Juergen Spitzmueller
e2f3dd5f6a
Consider selection scope when DEPM after CT acceptance/rejection ( #2166 )
...
This fixes a crash and DEPM overshooting.
2021-03-02 09:15:33 +01:00
Juergen Spitzmueller
d49c4abb43
Merge branch 'master' of git.lyx.org:lyx
2021-03-02 08:36:42 +01:00
Jean-Marc Lasgouttes
f92f2f95ff
Cleanup High DPI support
...
Disable for Qt >= 6 (this is the default now).
Disable for macOS (does it in its own way).
2021-03-02 08:22:02 +01:00
Juergen Spitzmueller
f28affd421
Merge branch 'master' of git.lyx.org:lyx
2021-03-02 07:04:03 +01:00
Jean-Marc Lasgouttes
234886f6eb
Add Qt platform name in About dialog
2021-03-01 19:15:49 +01:00
Enrico Forestieri
bb2c1c3485
Amend c2facb8c
...
Make sure the base of a script is not empty before accessing it.
2021-03-01 10:08:08 +01:00
Enrico Forestieri
52ce0ff49a
Fix bug #11007
...
The math color inset inherits the mode of the containing inset.
This mode is inferred by the kind of font in effect. Setting the
right mode allows to insert spaces where these should be allowed.
Another small glitch was that the selection was always parsed in
math mode, so that any space was swallowed, even if the inset would
allow them.
2021-02-28 22:32:11 +01:00
Juergen Spitzmueller
0e54e01756
grammar
2021-02-28 17:38:01 +01:00
Juergen Spitzmueller
939dc4076f
Prevent infinite loop with instant search on Mac ( #12161 )
...
The search dialog was repeatedly feeded with the same string, and a
new search was triggered.
2021-02-28 17:36:06 +01:00
Enrico Forestieri
61db164302
Fix bug #11444
2021-02-28 14:56:42 +01:00
Juergen Spitzmueller
1205018286
Use a proper filter bar in the outliner
2021-02-28 13:57:24 +01:00
Daniel Ramoeller
2a8cac75f4
Adjust adv. find & replace pane spacing
...
Partial fix of bug #12152 .
2021-02-28 13:13:30 +01:00
Daniel Ramoeller
11548c523a
Adjust code preview spacing
...
Partial fix of bug #12152 .
2021-02-28 13:10:03 +01:00