Jean-Marc Lasgouttes
65b674ba4e
Fix a crash when closing tabs
...
Although I do not know how to reproduce the crash, the change makes sense.
This is backported from gadmm's lyx-unstable tree
261ce4ea98
2021-02-18 15:54:29 +01:00
Juergen Spitzmueller
9ee73dbb30
GuiSearch: properly display indicators in dark mode
2021-02-18 15:44:27 +01:00
Daniel Ramoeller
672ff09634
Fix Undo with search-string-set
...
Makes it possible to use the find combobox's internal undo feature to undo a set search string.
2021-02-18 13:09:30 +01:00
Juergen Spitzmueller
b6945764a4
Do not report false find with empty string in instant search
2021-02-18 13:00:41 +01:00
Kornel Benko
bf94242943
Update sk.po
2021-02-18 10:12:37 +01:00
Juergen Spitzmueller
db70eaf5c9
Improve search-options icon
2021-02-18 10:01:57 +01:00
Kornel Benko
092410d88d
Amend c21cd7dc
: Ignore epub tests for now
2021-02-18 09:34:43 +01:00
Juergen Spitzmueller
a7e6dcc31d
GuiSearch: make search options visible/accessible in minimal mode
2021-02-18 07:33:26 +01:00
Scott Kostyshak
783be115ff
ctests: uninvert 2 docbook exports now succeeding
2021-02-18 00:58:38 -05:00
Scott Kostyshak
6e8b3906df
Fix an instance of -Werror=misleading-indentation
...
Full GCC output is:
/home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp: In member function ‘void lyx::InsetText::docbook(lyx::XMLStream&, const lyx::OutputParams&, lyx::InsetText::XHTMLOptions) const’:
/home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp:713:5: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
713 | for (auto const & arg : appendedArguments)
| ^~~
/home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp:717:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
717 | if (writeOuterTag) {
| ^~
2021-02-17 23:01:54 -05:00
Scott Kostyshak
c21cd7dc2b
Revert "Revert "Cmake export tests: Add epub-format to be tested""
...
Rather than revert the added epub tests, it makes more sense to
ignore them. That way it is easier to flip the switch to enable
them.
Thanks to Kornel.
This reverts commit 894977b62e
.
2021-02-17 22:41:40 -05:00
Thibaut Cuvelier
6df4597e02
DocBook: force paragraphs in HTML cells to allow for nested tables.
...
CALS still invalid because it forbids nested tables.
2021-02-17 23:32:23 +01:00
Thibaut Cuvelier
da92c9a950
DocBook: spurious spaces in table attributes.
2021-02-17 23:25:41 +01:00
Thibaut Cuvelier
bfa67b1f88
DocBook: TODO is outdated, table type is checked within docbookRow.
2021-02-17 22:55:37 +01:00
Thibaut Cuvelier
d39d6e92ed
DocBook: use DocBookArgumentAfterMainTag for short titles.
2021-02-17 21:09:21 +01:00
Thibaut Cuvelier
adc7820d45
DocBook: add support for DocBookArgumentAfterMainTag.
2021-02-17 21:09:21 +01:00
Thibaut Cuvelier
ba672f7f79
DocBook: add support for short titles.
...
Currently, the DocBook output is not valid. This is solved by the next two commits.
2021-02-17 21:09:20 +01:00
Thibaut Cuvelier
3a5625264d
French doc: two typos.
2021-02-17 20:22:00 +01:00
Enrico Forestieri
2fdee24959
Correctly show deleted url with change tracking
...
This fixes the issue reported here:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202545.html
I could not find an open ticket about it.
2021-02-17 19:51:01 +01:00
Scott Kostyshak
894977b62e
Revert "Cmake export tests: Add epub-format to be tested"
...
Revert the addition of epub tests for now since a lot of them are
failing (and are not regressions).
This reverts commit 983d327fe3
.
2021-02-17 11:54:02 -05:00
Juergen Spitzmueller
80cb0650e4
Clean up previous selections with empty searchstr on instant
2021-02-17 16:55:55 +01:00
Juergen Spitzmueller
ab1cc8e1c2
Consider case (in)sensitivity when querying special char insets
2021-02-17 15:50:54 +01:00
Juergen Spitzmueller
ca160da07d
GuiSearch: separate findClicked() slot from more general function
...
the latter one is also accessed by different paths than clicking
2021-02-17 14:48:31 +01:00
Juergen Spitzmueller
180fca2fcd
Fix Find button with search as you type
2021-02-17 14:32:26 +01:00
Juergen Spitzmueller
05004e138f
FancyLineEdit: reformat using our indentation style
...
No change in function
2021-02-17 12:46:37 +01:00
Kornel Benko
8a9c4ed58f
Update sk.po
2021-02-17 10:41:55 +01:00
Juergen Spitzmueller
a0df388013
de.po
2021-02-17 10:04:52 +01:00
Juergen Spitzmueller
50783d94a8
Advanced F&R: Improve code on Return key
2021-02-17 09:51:09 +01:00
Juergen Spitzmueller
a2a5656d07
Adv F&R: indicate search direction
2021-02-17 09:50:57 +01:00
Juergen Spitzmueller
5ed0dddcf2
Adv F&R: Fix accelerator conflicts
2021-02-17 09:49:25 +01:00
Juergen Spitzmueller
7ad70c908b
Add accelerator
2021-02-17 09:08:26 +01:00
Jean-Marc Lasgouttes
3f093dd103
Fixup 824d1c99
: do not change the semantics of leftMargin(pit_type)
...
In the row painter, when painting a centered label, one wants to get
the left/right margin of the non-first rows (without indent). It was a
bad idea to change leftMargin(pit) to do that, because its semantics
are unclear and the the code depends on the fact that this function does
strange things when the paragraph is empty...
Fixes bug #12118 .
2021-02-16 20:27:48 +01:00
Kornel Benko
37392dcc72
Update sk.po
2021-02-16 19:54:38 +01:00
Juergen Spitzmueller
fe44b3c0fa
GuiSpellchecker: resolve accelerator conflicts
2021-02-16 19:13:13 +01:00
Juergen Spitzmueller
4005155593
de.po
2021-02-16 19:12:00 +01:00
Juergen Spitzmueller
76db3c3f85
GuiThesaurus: complement lyxfind options
2021-02-16 16:33:30 +01:00
Pavel Sanda
f34db97500
Bring search-string-set back, someone actually wants this ;)
2021-02-16 15:08:19 +01:00
Pavel Sanda
597e832fd6
Revert the mac-style binding
2021-02-16 13:50:55 +01:00
Juergen Spitzmueller
222d62312e
use dialog-show with search dialogs
...
Now that focus setting works, and since find dialog can be closed with
Esc, this makes sense to get back from workarea to dialog.
2021-02-16 13:35:04 +01:00
Juergen Spitzmueller
109e98d945
GuiSearch: Properly delegate focus
2021-02-16 13:30:31 +01:00
Jean-Marc Lasgouttes
a7c1a39b5b
Make selections vertically tighter.
...
Introduce a new Row::contents_dim(), which height is restricted to the
row contents and does not contain any extra vertical spacing.
Rely on this for painting selections: if the selection starts on row,
for example, the ascent of the contents dim is considered. If ot was
started above, then the full dim is used.
Fixes bug #3899 .
2021-02-16 12:29:40 +01:00
Jean-Marc Lasgouttes
090e9a6c36
Keep the useful parts of reverted commits
...
Keep from 907f0207
the introduction of BufferView::top/bottomMargin()
and the setting of the top/bottom margin of the document. The
difference is that the extra height is still added to the relevant
rows, and not only to the paragraph metrics.
Keep from f41ca959
the reduction of top/bottom margin for Adv F&R
workareas.
2021-02-16 12:29:40 +01:00
Jean-Marc Lasgouttes
a40ca1430e
Revert "Improve handling of top and bottom margin"
...
This reverts commit 907f020724
.
2021-02-16 12:29:40 +01:00
Jean-Marc Lasgouttes
810b86560a
Revert "Reduce top/bottom margin for Adv F&R workareas"
...
This reverts commit f41ca959fd
.
2021-02-16 12:29:40 +01:00
Jean-Marc Lasgouttes
2c2ae5ecd8
Revert "Fix correction of row in getPitAndRowNearY"
...
This reverts commit 08a3405181
.
2021-02-16 12:29:40 +01:00
Jean-Marc Lasgouttes
f6c87c63c1
Revert "Make sure that top/bottom margins are visible when needed"
...
This reverts commit a78eb4471f
.
2021-02-16 12:29:40 +01:00
Juergen Spitzmueller
794c2fabc8
Document find and replace changes
2021-02-16 10:37:37 +01:00
Juergen Spitzmueller
213a3bc557
Add/fix some tooltips
2021-02-16 10:02:47 +01:00
Juergen Spitzmueller
6c8409454d
de.po
2021-02-16 10:01:30 +01:00
Juergen Spitzmueller
119e8c08d4
Fix replace all in selection with change tracking
2021-02-16 09:42:17 +01:00