Juergen Spitzmueller
0b31fcd083
Use different color for change-tracked greyedout text ( #12025 )
...
We use a blended version of the normal lyxadded and lyxdeleted colors
2021-01-20 08:59:52 +01:00
Juergen Spitzmueller
59869417b8
Comment
2021-01-20 08:05:17 +01:00
Juergen Spitzmueller
1d613827c6
Do not output tracked deleted paragraph break in listings ( #10418 )
2021-01-20 07:38:33 +01:00
Jean-Marc Lasgouttes
566b4de5cd
Fix off-by-one condition when right clicking over selection
...
Fixes bug #10429 .
2021-01-19 19:24:10 +01:00
Jean-Marc Lasgouttes
5908bb3ea6
Cleanup button handling in InsetInclude
...
The include inset has its own button_ object, that hides the button_
object of the InsetCommand parent. Remove that.
Remove the hand-made caching that uses the set_label_ boolean.
Let metrics() and draw() use the inherited methods. This requires to
use setBroken as needed and to implement inheritFont.
The use of InsetCommand::draw is what restores the hover effect.
Fixes bug #10415 .
2021-01-19 19:24:10 +01:00
Juergen Spitzmueller
64b22a6d80
update tex2lyx tests
2021-01-19 18:33:22 +01:00
Juergen Spitzmueller
ae946fcf1e
de.po
2021-01-19 18:29:36 +01:00
Kornel Benko
052cad8b17
FindAdv: Reduce the count of debug messages
2021-01-19 17:54:17 +01:00
Juergen Spitzmueller
7b762ee950
Branch: Implement separate static colors in dark mode
...
Set colors now apply to the active mode only. Matching reversed colors
are produced for the other mode if no color is assigned yet.
File format change.
2021-01-19 17:04:04 +01:00
Juergen Spitzmueller
81c19502c1
Consider darkmode when inserting new branch
2021-01-19 13:28:21 +01:00
Jean-Marc Lasgouttes
4062cbd278
Remove RenderButton::button_box_, which is unused.
2021-01-19 11:27:54 +01:00
Juergen Spitzmueller
8cf6b34738
Update color table in branch list
2021-01-19 09:22:07 +01:00
Juergen Spitzmueller
3f1799b2c8
Add method to check whether LyX runs in dark mode
2021-01-19 09:21:36 +01:00
Juergen Spitzmueller
29f98ab245
Use isDarkMode() method
2021-01-19 08:37:05 +01:00
Kornel Benko
3259f3c73e
FindAdv: Remove dead code
...
+ correct detection of backspaced '{' and '}' in regex with format search enabled
2021-01-18 17:06:05 +01:00
Kornel Benko
96f9c8fb19
FindAdv: Amend2 dacd2c45
: Handle search for '{' and '}'
...
Allow for using 'a{2,7}' to find 2 to 7 consecutive chars 'a'
2021-01-18 16:06:40 +01:00
Kornel Benko
a0bd34a9d1
Update sk.po
2021-01-18 12:26:29 +01:00
Kornel Benko
dacd2c45b7
FindAdv: Amend ec387b6d
: Handle search for '{' and '}'
...
1) Take care of different input if changed the search-mode (with/without format)
This amends ec387b6d
2) Make the braces used in text to be treated as single characters
e.g. transform '\braceleft' to some unicode value
3) Try to use '$' as 'end of sequence' in regex
We have to remove '}' and '\n' chars from the examined string
2021-01-18 12:17:57 +01:00
Juergen Spitzmueller
2225f0ed61
Update tex2lyx tests
2021-01-18 10:49:42 +01:00
Juergen Spitzmueller
9a6f7ece97
Add option to revert graphics colors in dark mode ( #12076 )
...
This amends [5d47a7ee57506/lyxgit]
2021-01-18 10:46:16 +01:00
Juergen Spitzmueller
6766ca2c99
Update tex2lyx tests
2021-01-18 10:01:09 +01:00
Juergen Spitzmueller
057753dc75
Allow semantic colors in branches and use semantic background color by default
...
Addresses most crucial part of #12075
File format change
2021-01-18 09:56:53 +01:00
Kornel Benko
ec387b6d65
FindAdv: Handle search for '{' and '}'
...
In format-search the chars '{' and '}' are understood as latex parentheses, which normally are not
part of text and are discarded.
Instead we fake them as if they were a char like \backslash or \guilemotright or such.
2021-01-18 01:10:07 +01:00
Juergen Spitzmueller
a4e6f0dead
Add some more hints to empty margin widgets ( #11424 )
2021-01-17 17:49:45 +01:00
Kornel Benko
8ec16f4020
Cmake tests: findadv-01 - findadv-21 working
...
Tests 07 and 09 corrected because of not working
shortcuts in cua env using sk/menus.bind.
2021-01-17 14:30:34 +01:00
Kornel Benko
c600906d92
FindAdv: Optimizing forward search
...
Still not as fast as quick search
Also started to remove some unused code.
2021-01-17 13:35:07 +01:00
Juergen Spitzmueller
5d47a7ee57
Try to automatically handle transparent pictures in darkmode ( #12076 )
...
We'll see how this plays in practice.
2021-01-17 11:03:21 +01:00
Juergen Spitzmueller
606a404632
Extend non-default margins tooltip ( #11424 )
2021-01-17 10:18:45 +01:00
Thibaut Cuvelier
5ba8c6bd92
Stop using \vdag in AASTeX 6.2 example
2021-01-16 20:42:14 +01:00
Kornel Benko
fd5dbd61e7
Make some findadv-tests working again, more to follow
...
Some shortcuts in cua do not work anymore
so replacing them with virtual shortcus for tests only
seems a good way.
2021-01-15 17:13:07 +01:00
Kornel Benko
7b8e26e3ad
FindAdv: Search for innermost depth needed if matched string not inside some other inset.
2021-01-15 17:12:41 +01:00
Richard Kimberly Heck
fd74bddffc
Keep dialog connected to cross-ref inset after Apply.
...
This does not actually have any effect yet, due to the fact that
disconnectAfterApply returns true (and this is a GuiDialog).
2021-01-15 11:12:25 -05:00
Richard Kimberly Heck
a9bb062fc3
Keep dialog connected to External inset after Apply
2021-01-15 11:12:25 -05:00
Richard Kimberly Heck
bd555eebe2
Keep dialog connected to BibTeX inset after Apply
2021-01-15 11:12:25 -05:00
Richard Kimberly Heck
997bf3ecb7
Revert unintended commit from before
2021-01-15 11:12:25 -05:00
Pavel Sanda
260f9d634a
Update of signatures homekeeping.
2021-01-15 14:50:18 +01:00
Kornel Benko
ea5e16d075
Replace calls from make_unique to lyx::make_unique
...
After advice from Yuriy Skalko to satisfy compilation with clang8
2021-01-15 11:36:14 +01:00
Juergen Spitzmueller
437a287dee
fixup 7c57001ad7
2021-01-15 09:30:15 +01:00
Kornel Benko
dff9438a36
FindAdv: Discard the optional arguments of \part, \chapter, ...
...
Not easy selectable anyway, and hard to use while searching.
2021-01-14 23:25:58 +01:00
Richard Kimberly Heck
be19fdee3a
Try to catch some other cases of inappropriate TOC updating in internal bufers.
2021-01-14 14:20:55 -05:00
Richard Kimberly Heck
e7b9aa672f
Fix crash reported by Kornel.
...
See https://marc.info/?l=lyx-devel&m=161058233016780&w=2 .
Internal Buffers do not have TOCs associated with them, so we should
not try to update them. This fixes Kornel's crash, but there may be
other instances of the problem.
2021-01-14 14:17:51 -05:00
Richard Kimberly Heck
7c57001ad7
Add theorem counter files to distribution
2021-01-14 14:07:32 -05:00
Juergen Spitzmueller
f24fa552de
Fix crash (missing Buffer update)
2021-01-14 17:17:58 +01:00
Kornel Benko
a7590d33e3
FindAdv: Add handling of regex char '^' at start also for search with disabled format
...
lyxfind.cpp:
handle \mathcircumflex inside regex
output_latex.cpp:
don't mark extra end of parameters if no options involved
2021-01-14 14:44:21 +01:00
Kornel Benko
9bdd0b31db
Fix #12069 : Broken search
...
Do not count ignored characters as matching
2021-01-14 14:36:07 +01:00
Richard Kimberly Heck
de6092cb6a
Forgot FORMAT
2021-01-14 04:31:57 -05:00
Juergen Spitzmueller
0629b9b7c1
Update documentation of nomencl escape
...
Alas, the escape char has silently changed in recent nomencl versions
2021-01-14 09:43:38 +01:00
Richard Kimberly Heck
fcea6c471c
Revert "Add move constructor and move assignment operator for FileName class"
...
For now, since it's causing problems on OSX particularly.
This reverts commit 854c9de8fa
.
2021-01-14 03:08:12 -05:00
Juergen Spitzmueller
81af5ac742
Fix comment
2021-01-14 08:57:15 +01:00
Juergen Spitzmueller
c5b7d871e0
Strip % characters from nomenclWidest()
...
This character now (oddly) serves as escape char in newer nomencl versions
but it still comments out in all other contexts.
See #10634
2021-01-14 08:55:15 +01:00