Juergen Spitzmueller
6d4a63d86b
Add Qt-internal GUI string
2018-12-17 13:39:45 +01:00
Juergen Spitzmueller
5f03889609
GuiCharacter: Add "Reset" and "Restore Defaults" buttons
...
Addresses #11415
2018-12-17 12:59:40 +01:00
Juergen Spitzmueller
1b6ce0e827
GuiCharacter: INHERIT is OFF for the tristate buttons.
2018-12-17 10:38:05 +01:00
Juergen Spitzmueller
bf2bf2eaed
GuiCharacter: Consider default settings for underline, strikeout and language
2018-12-17 10:12:02 +01:00
Juergen Spitzmueller
f87218bbb5
Check for hidden dirty child on close
...
Fixes : #11405
2018-12-17 09:11:34 +01:00
Juergen Spitzmueller
ab5c08b3f0
Amend 9705b88251
2018-12-17 09:03:46 +01:00
Juergen Spitzmueller
9705b88251
Use current_font, not real_current_font, in character dialog
...
The latter has the workarea font settings, which are not of interest
here.
Fixes : #11385
2018-12-16 12:29:15 +01:00
Jean-Marc Lasgouttes
57feb0fed0
Fix undo after breaking a nested paragraph
...
We have to take into account that Buffer::updateBuffer can modify the document.
Fix bug #11292 .
2018-11-23 16:53:53 +01:00
Enrico Forestieri
7822d11361
Fix reloading of local layout file (bug #11120 )
2018-11-16 21:47:24 +01:00
Jean-Marc Lasgouttes
7db99672e6
Avoid extra space in tooltips
...
When using QTextDocument to check the natutal size of a text, one has
to remove the text margin, which is not useful here.
Fixes bug #11353 .
2018-11-04 14:02:42 -10:00
Jean-Marc Lasgouttes
1bed76e2a1
Fix selection of unmarked RtL text
...
With Qt 5.11 at least, RtL text will be drawn RtL even when the
(undocumented) flag Qt::TextForceLeftToRight is applied to the
QTextLayout object. This creates selection issues for Hebrew text
marked as English.
The solution is to do the same as in breakAt_helper, that is prepend
the string with a direction override unicode character.
Doing this requires to introduce a TEXTLAYOUT_OFFSET constant that has
to be used wisely to account for this extra character.
Fixes bug #11284 .
2018-11-04 08:23:49 +00:00
Juergen Spitzmueller
b8932afed5
Dispay pre- and posttext widgets if non-empty also if unapplied
...
Fixes : #11352
2018-10-30 17:23:08 +01:00
Scott Kostyshak
73b1c658a2
Use underline in (+ bold) for char match in layout
...
When showing the match characters in, e.g., the layout box, we now
underline (in addition to bold) the matched characters. This makes
the matched characters stand out even more.
See 4b716dd6 and the following ML thread:
https://www.mail-archive.com/search?l=mid&q=20181019155649.dqqk6u25wdcdimrj%40barna
2018-10-22 21:16:56 -04:00
Richard Kimberly Heck
4b716dd63d
Use bold instead of underlining to mark the characters we're matching.
2018-10-18 21:49:31 -04:00
Richard Kimberly Heck
1410eeb10e
Simplify the code that adds underlining to the layout combo.
2018-10-18 21:49:31 -04:00
Richard Kimberly Heck
1cc859d713
Refactor
2018-10-18 21:49:31 -04:00
Richard Kimberly Heck
35fac4ab51
Re-organize and simplify now.
2018-10-18 21:49:31 -04:00
Richard Kimberly Heck
ae65fb2c98
Whitespace.
2018-10-18 21:49:31 -04:00
Richard Kimberly Heck
d7f4346a19
Fix bug #6096 .
...
We used to need a hack to set the size of the layout combo, but
the code was changed in Qt 4.5 or so. Hence the appearance of this
bug in 2009. We can now just remove this hack, and all seems to
work correctly.
2018-10-18 21:49:31 -04:00
Richard Kimberly Heck
938ef60258
Filter on consecutive sequences of characters.
...
The filters for the layout combo and document class combo share a
problem: If you type "beam", e.g, in the latter case, then we will
show any document class that contains those letters, in that order,
but not necessarily consecutively. This is extremely confusing and,
as José put it, just weird. So let's fix it.
I'd call this a bug so would be happy to see this in stable, too.
2018-10-18 21:49:31 -04:00
Jean-Marc Lasgouttes
17e2ad927e
Followup to 9fe101e8: remove unused method.
2018-10-08 16:04:32 +02:00
Jean-Marc Lasgouttes
9fe101e890
Remove support for pixmap cache
...
This code has issues and there is no evidence that it improves performance.
Remove LyXRC variable \use_pixmap_cache and update rc format to 29.
Now the global pixmap cache is only used by GuiCompleter. Therefore
there is no need to reset it when fonts change.
2018-10-07 14:56:55 +02:00
Richard Kimberly Heck
4f0ccae399
Fix bug #9004 .
...
I'm not entirely happy with this way of doing it. It seems messy.
But there is not another clear option right now.
2018-10-04 20:37:03 -04:00
Richard Kimberly Heck
944b0ae55d
Update the Advanced F&R document class when switching buffers.
2018-10-04 20:30:01 -04:00
Richard Kimberly Heck
5064c09e9f
Copy modules into the Advanced F&R pane as well.
2018-10-04 20:30:01 -04:00
Guillaume Munch
1979496399
Make tab movement visible ( #10733 )
...
The nice hand-made solution for moving tabs has made its time. Use Qt's feature
instead from now on.
2018-10-04 19:52:21 -04:00
Richard Heck
5f6332bf46
Fix bug 9798.
...
Nameref support for math references.
2018-10-04 14:04:48 -04:00
Richard Kimberly Heck
2553b0073f
Fix bug #11275 .
...
Show module name with description.
2018-10-04 14:02:01 -04:00
Jean-Marc Lasgouttes
2617a4dd50
Fixup 38f09c177b7: limit to paint rectangle
2018-10-04 14:27:43 +02:00
Jean-Marc Lasgouttes
38f09c177b
When ignoring an update, request one for later
...
If we were not ready to paint the screen, this does not mean that we
should give up on repainting, just potpone it.
I thought that it was bad to call update() in the paint event, but I
cannot find reference to this anymore and everything seems to work as
intended.
2018-10-03 15:57:11 +02:00
Juergen Spitzmueller
f973855bde
Amend cab46ff9d1ea3
2018-09-29 10:29:02 +02:00
Juergen Spitzmueller
cab46ff9d1
GuiCitation: Add some tooltips for the sake of keyboard users
...
Addresses #11317
2018-09-29 09:18:26 +02:00
Juergen Spitzmueller
90b1345203
Do not store empty posttext for qualified citations
...
Fixes : #11308
2018-09-25 13:13:56 +02:00
Juergen Spitzmueller
33d6499bbc
GuiCitation: don't reset filter on show
...
Addresses #11291
2018-09-22 10:37:22 +02:00
Jean-Marc Lasgouttes
2cfbc5ecf6
Ignore horizontal wheel scrolling in workarea
...
We do not know what to do with horizontal scrolling events, so we ignore them.
Note that the code has to be different between Qt4 and Qt5.
Fixes bug #11257 .
2018-09-20 23:25:42 +02:00
Jean-Marc Lasgouttes
819cf53c22
Handle branches with space in their name
...
1/ Handle space in color name in set-color (with quoting)
2/ read properly branch inset when name has a space
Fixes bug #11108 .
2018-09-08 13:07:07 +02:00
Jean-Marc Lasgouttes
dd8fd3d90a
Get rid of monolithic build support for autoconf
...
It is not useful anymore on modern machines with several cores.
2018-08-30 11:35:37 +02:00
Juergen Spitzmueller
ed61ce74b7
So long, date-insert!
...
This function is superseded by info-insert date, which is much mightier
and more flexible.
2018-08-20 09:25:22 +02:00
Juergen Spitzmueller
e9b187af08
New info-inset type l7n
...
This returns a localized version of a string (in the GUI language)
if available, removing trailing colons and accelerator marks.
This can be used to refer to dialog items in the docs in a portable way.
2018-08-13 17:18:44 +02:00
Juergen Spitzmueller
c12fe77c94
Remove inclusion of obsolete header
2018-08-12 08:29:16 +02:00
Juergen Spitzmueller
07d760ef30
Rework BibTeX dialog
...
Fixes concerns reported in #11239
2018-08-11 12:17:42 +02:00
Juergen Spitzmueller
7c5d243e71
Revert that part
...
We don't want to lose the shortcuts.
2018-08-08 15:14:26 +02:00
Juergen Spitzmueller
91a5263d68
Extend list of accessible menu info
...
When searching for and item in the menu, also try to consider those that
require a BufferView (such as View/Update formats).
Also, be explicit for the default format in order to find it.
Fixes : #9851
2018-08-08 15:05:58 +02:00
Juergen Spitzmueller
d1fbbb78a8
Disable Immediate Apply if no inset is modified.
2018-08-08 10:34:57 +02:00
Juergen Spitzmueller
44718e0e8c
GuiInfo: Show "Unknown" only if issued from an unknown info.
2018-08-08 09:52:03 +02:00
Richard Kimberly Heck
2896441dbb
Update buffer after preferences change.
...
Fixes missing update after new InsetInfo stuff.
2018-08-07 23:38:55 -04:00
Juergen Spitzmueller
2315bdad41
Fix small UI glitch
2018-08-07 14:48:51 +02:00
Juergen Spitzmueller
2cd7aab7cf
Validate (fix) date vs. time specifier
2018-08-07 12:56:43 +02:00
Juergen Spitzmueller
37279f6681
Typos
2018-08-07 12:41:00 +02:00
Juergen Spitzmueller
7efdf98fc8
Further extend Info insets:
...
* Add time type (time, modtime, fixtime)
* Add "name-noext" buffer type (file name w/o extension)
2018-08-07 12:14:45 +02:00