]> git.lyx.org Git - lyx.git/log
lyx.git
4 years agoHandle change-accept and change-reject in multi-cell selection
Juergen Spitzmueller [Fri, 27 Dec 2019 11:05:56 +0000 (12:05 +0100)]
Handle change-accept and change-reject in multi-cell selection

Fixes #8426

4 years agoIntroduce buffer-reset-export
Juergen Spitzmueller [Fri, 27 Dec 2019 10:06:34 +0000 (11:06 +0100)]
Introduce buffer-reset-export

Small helper lfun that makes LyX remove the aux file before doing the
next export. A bit more convenient than removing the files manually
or restarting LyX.

4 years agoIncrease lyxrc format
Juergen Spitzmueller [Fri, 27 Dec 2019 10:06:11 +0000 (11:06 +0100)]
Increase lyxrc format

4 years agoAdd pref option to disable underlining of added text (in workarea)
Juergen Spitzmueller [Fri, 27 Dec 2019 09:35:52 +0000 (10:35 +0100)]
Add pref option to disable underlining of added text (in workarea)

Addresses #10102

4 years agoCT: Mark deleted floats in output
Juergen Spitzmueller [Fri, 27 Dec 2019 08:50:11 +0000 (09:50 +0100)]
CT: Mark deleted floats in output

Fixes #11175

4 years agoCorrectly show merged paragraphs with ct in plain text output
Juergen Spitzmueller [Fri, 27 Dec 2019 08:01:06 +0000 (09:01 +0100)]
Correctly show merged paragraphs with ct in plain text output

Fixes #3137

4 years agoInitialize correct font in description label with ct
Juergen Spitzmueller [Fri, 27 Dec 2019 07:42:43 +0000 (08:42 +0100)]
Initialize correct font in description label with ct

Fixes #10811

4 years agoDo not check again and again for non existing files
Jean-Marc Lasgouttes [Mon, 16 Dec 2019 17:26:55 +0000 (18:26 +0100)]
Do not check again and again for non existing files

If the file of an InsetInclude does not exist, loadIfNeeded will try
again and again to look for it. This is very bad for files with many
include insets, especially on windows.

Fixes bug #11656.

4 years agoFix crash
Juergen Spitzmueller [Thu, 26 Dec 2019 15:36:25 +0000 (16:36 +0100)]
Fix crash

4 years agoSignify added/deleted apr break in ct output
Juergen Spitzmueller [Thu, 26 Dec 2019 14:43:00 +0000 (15:43 +0100)]
Signify added/deleted apr break in ct output

Fixes #3159

4 years agoCorrectly handle deleted environments in ct
Juergen Spitzmueller [Thu, 26 Dec 2019 14:24:48 +0000 (15:24 +0100)]
Correctly handle deleted environments in ct

Fixes #10252

4 years agoCorrectly show merged paragraphs with change tracking
Juergen Spitzmueller [Thu, 26 Dec 2019 12:47:50 +0000 (13:47 +0100)]
Correctly show merged paragraphs with change tracking

Fixes #3136

4 years agoFix assertion
Juergen Spitzmueller [Thu, 26 Dec 2019 11:32:50 +0000 (12:32 +0100)]
Fix assertion

4 years agoDo not output empty \item's or \commands with change tracking
Juergen Spitzmueller [Thu, 26 Dec 2019 11:26:32 +0000 (12:26 +0100)]
Do not output empty \item's or \commands with change tracking

unless "show in output" is selected.

Fixes #2861

4 years agoShow modified text in merge changes dialog as far as possible
Juergen Spitzmueller [Thu, 26 Dec 2019 10:17:09 +0000 (11:17 +0100)]
Show modified text in merge changes dialog as far as possible

Fixes #1362

4 years agoImprove info in changes dialog
Juergen Spitzmueller [Thu, 26 Dec 2019 07:01:37 +0000 (08:01 +0100)]
Improve info in changes dialog

4 years agoMark deleted graphics in output
Juergen Spitzmueller [Thu, 26 Dec 2019 06:15:37 +0000 (07:15 +0100)]
Mark deleted graphics in output

Fixes #11687

4 years agotypo
Juergen Spitzmueller [Thu, 26 Dec 2019 04:27:50 +0000 (05:27 +0100)]
typo

4 years agode.po
Juergen Spitzmueller [Wed, 25 Dec 2019 08:56:37 +0000 (09:56 +0100)]
de.po

4 years agoUpdate sk.po
Kornel Benko [Wed, 25 Dec 2019 10:57:19 +0000 (11:57 +0100)]
Update sk.po

4 years agoForgot this
Juergen Spitzmueller [Wed, 25 Dec 2019 08:38:47 +0000 (09:38 +0100)]
Forgot this

4 years agoDisable changebar checkbox if show changes in output is off
Juergen Spitzmueller [Tue, 24 Dec 2019 17:43:22 +0000 (18:43 +0100)]
Disable changebar checkbox if show changes in output is off

4 years agoAdd native changebars
Juergen Spitzmueller [Tue, 24 Dec 2019 17:12:22 +0000 (18:12 +0100)]
Add native changebars

Fixes #10750

4 years agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Tue, 24 Dec 2019 17:09:34 +0000 (18:09 +0100)]
Merge branch 'master' of git.lyx.org:lyx

4 years agoProvide way to add (optional) user initials
Juergen Spitzmueller [Tue, 24 Dec 2019 13:31:08 +0000 (14:31 +0100)]
Provide way to add (optional) user initials

This makes it easier to hook the changes package into LyX's ct markup.

4 years agoUpdate sk.po
Kornel Benko [Tue, 24 Dec 2019 10:35:38 +0000 (11:35 +0100)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Tue, 24 Dec 2019 10:23:20 +0000 (11:23 +0100)]
de.po

4 years agoClarify change text color descriptors
Juergen Spitzmueller [Tue, 24 Dec 2019 07:37:27 +0000 (08:37 +0100)]
Clarify change text color descriptors

Addresses #11704

4 years agoMake EmbeddedObjects.lyx compilable with lualatex/xelatex again
Kornel Benko [Mon, 23 Dec 2019 13:29:42 +0000 (14:29 +0100)]
Make EmbeddedObjects.lyx compilable with lualatex/xelatex again

Comment from Jürgen Spitzmüller:
As we didn't report makeindex errors until my commit yesterday(17 Dec 2019), this
problem got unnoted (and the respective index entry was simply omitted).

4 years agoDon't hide qualified citation list individual pre- and posttexts on single.item refer...
Juergen Spitzmueller [Sun, 22 Dec 2019 13:02:21 +0000 (14:02 +0100)]
Don't hide qualified citation list individual pre- and posttexts on single.item references

See #11697

4 years agoctests: Babel-Belarus conflicts also with Macedonian.
Günter Milde [Thu, 19 Dec 2019 12:57:02 +0000 (13:57 +0100)]
ctests: Babel-Belarus conflicts also with Macedonian.

The Belarus language support from Babel has some problematic definitions
that prevent its use together with Russian or Macedonean in one document.

4 years agoCmake build: Select use of interprocedural optimization
Kornel Benko [Tue, 17 Dec 2019 12:59:52 +0000 (13:59 +0100)]
Cmake build: Select use of interprocedural optimization

New cmake-option to explicit select/deselect the IPO

4 years agoCorrected comment (missed at a48eefad)
Kornel Benko [Mon, 16 Dec 2019 11:12:19 +0000 (12:12 +0100)]
Corrected comment (missed at a48eefad)

4 years agoCmake export tests: Suspend some Foils compilations with system fonts
Kornel Benko [Mon, 16 Dec 2019 10:55:17 +0000 (11:55 +0100)]
Cmake export tests: Suspend some Foils compilations with system fonts

4 years agoPlain xindy works for us only wirh the texindy module
Juergen Spitzmueller [Mon, 16 Dec 2019 10:49:09 +0000 (11:49 +0100)]
Plain xindy works for us only wirh the texindy module

4 years agoPass proper input markup option to xindy with xetex/luatex
Juergen Spitzmueller [Mon, 16 Dec 2019 10:48:01 +0000 (11:48 +0100)]
Pass proper input markup option to xindy with xetex/luatex

plain xindy also needs the latex input markup specified

4 years agoCorrect typo in method name getDescendants()
Scott Kostyshak [Mon, 16 Dec 2019 04:36:17 +0000 (23:36 -0500)]
Correct typo in method name getDescendants()

When used as an adjective, both variants "descendent" and
"descendant" are acceptable, but when used as a noun only
"descendant" should be used.

For a reference, see here:

https://en.wiktionary.org/wiki/descendent#Noun

4 years agoRemove execute permission from two source files
Scott Kostyshak [Mon, 16 Dec 2019 04:32:29 +0000 (23:32 -0500)]
Remove execute permission from two source files

4 years agode.po
Juergen Spitzmueller [Sun, 15 Dec 2019 17:55:54 +0000 (18:55 +0100)]
de.po

4 years agoUpdate sk.po
Kornel Benko [Sun, 15 Dec 2019 13:06:51 +0000 (14:06 +0100)]
Update sk.po

4 years agoCmake tests: Make foreach() command robust
Kornel Benko [Sun, 15 Dec 2019 12:38:23 +0000 (13:38 +0100)]
Cmake tests: Make foreach() command robust

Cmake's foreach command includes forms
  foreach(<loop_var> IN LISTS <lists>)
  foreach(<loop_var> IN ITEMS <items>)
  foreach(<loop_var> RANGE ...)
We get the lines to be parsed by
  file(STRINGS "${filepath}" lines)
If in the parsed lyx-file there is a line
containing only the single word 'IN',  or 'RANGE', then
the command
  foreach(_l ${lines})
can create a syntax error (at least with cmake1.16)

In fact, in file pl_Additional.lyx:12913 happens to have
such a beast.

4 years agoReport makeindex/xindy errors
Juergen Spitzmueller [Sun, 15 Dec 2019 12:48:21 +0000 (13:48 +0100)]
Report makeindex/xindy errors

Fixes #2569

4 years agoEnhance support for Xindy
Juergen Spitzmueller [Sun, 15 Dec 2019 11:01:59 +0000 (12:01 +0100)]
Enhance support for Xindy

This adds the proper language module and codepage for languages supported
by Xindy

4 years agoFix index entry
Juergen Spitzmueller [Sat, 14 Dec 2019 16:12:39 +0000 (17:12 +0100)]
Fix index entry

4 years agoIf using GNU Global, ignore the created database
Kornel Benko [Sat, 14 Dec 2019 12:42:06 +0000 (13:42 +0100)]
If using GNU Global, ignore the created database

4 years agoSet makeindex as index processor in the docs
Juergen Spitzmueller [Sat, 14 Dec 2019 08:48:33 +0000 (09:48 +0100)]
Set makeindex as index processor in the docs

Prevent that another processor (such as xindy) is used when set in prefs.

xindy does not play well with hyperref.

Fixes #11708

4 years agoctest: Change the check-sequence for a test
Kornel Benko [Fri, 13 Dec 2019 13:58:24 +0000 (14:58 +0100)]
ctest: Change the check-sequence for a test

Really ignore test of export/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex_pdf4_texF
before allowing all other pdf4_texF tests

4 years agofr/Modules/Braille: make this work with polyglossia
Juergen Spitzmueller [Fri, 13 Dec 2019 10:58:12 +0000 (11:58 +0100)]
fr/Modules/Braille: make this work with polyglossia

The usage of English here was a bad hack anyway.

4 years agoSetup proper Arabic fonts in testfiles
Juergen Spitzmueller [Thu, 12 Dec 2019 12:53:13 +0000 (13:53 +0100)]
Setup proper Arabic fonts in testfiles

4 years agoRefresh previews on branch toggle
Scott Kostyshak [Wed, 11 Dec 2019 16:46:56 +0000 (11:46 -0500)]
Refresh previews on branch toggle

We only referesh previews if the branch that is toggled exists in a
descendant. This code could be further optimized, as noted in the
comments.

For relevant discussion, see the following ML thread:

https://www.mail-archive.com/search?l=mid&q=20191209022030.d6gyy3abdectr3yz%40tallinn

4 years agoFix crash due to encoding issues with child doc
Scott Kostyshak [Mon, 9 Dec 2019 00:14:38 +0000 (19:14 -0500)]
Fix crash due to encoding issues with child doc

This crash occurred starting with 553bebc3, and can be triggered
when preview is enabled both in preferences and in a child document
inset. For a minimal example, see the following ML thread:

  https://www.mail-archive.com/search?l=mid&q=20191209002609.6fao3dljtf3ohl25%40tallinn

This fix restores behavior to before that commit for the case when
oldEnc is 0.

4 years agoFixup e1be71da: do not enforce plain layout when dissolving
Jean-Marc Lasgouttes [Fri, 6 Dec 2019 09:20:18 +0000 (10:20 +0100)]
Fixup e1be71da: do not enforce plain layout when dissolving

Instead of checking whether the dissolved inset enforces plain layout,
it is better to check whether is uses plain layout.

Fixes #10369.

4 years agoDisable inset-dissolve in table cells
Jean-Marc Lasgouttes [Wed, 4 Dec 2019 14:56:30 +0000 (15:56 +0100)]
Disable inset-dissolve in table cells

This is better than making sure that the inset has exactly one cell.

In the future, inset-dissolve could be extended to dissolve all the
cells contents in the enclosing text.

Note that this check does not appear in mathed, and using dissolve in
e.g. fraction inset may lead to data loss (only current cell contents
is preserved).

4 years agoCmake build: Try to find hunspell.hxx for linunx _and_ for OSX
Kornel Benko [Wed, 4 Dec 2019 19:23:27 +0000 (20:23 +0100)]
Cmake build: Try to find hunspell.hxx for linunx _and_ for OSX

4 years agoCmake build: Correct configuration if set LYX_BUNDLE=ON
Kornel Benko [Sat, 30 Nov 2019 10:19:10 +0000 (11:19 +0100)]
Cmake build: Correct configuration if set LYX_BUNDLE=ON

Patch by Patrick (pdvisschere@edpnet.be)
Citing:
With some changes I could get it to work (patch included). One will also
have to define the locations of the Qt5-plugins and Qt5-libs folders
(`QT5_PLUGINS_DIR` and `QT5_LIBRARY_DIRS`).

Maybe not all plugins/imageformats are used/needed by lyx, but they are
all copied now, except for `_debug` versions which are excluded.
Starting with Qt-5.12 it seems not possible anymore (or at least not
easy) to link to the `_debug` versions of the qt5-frameworks (with
cmake). And installing them into the bundle also does not work. So right
now this is not a big loss.

4 years agoCmake build: Copy & paste error
Kornel Benko [Fri, 29 Nov 2019 13:47:27 +0000 (14:47 +0100)]
Cmake build: Copy & paste error

4 years agoCmake build: Add LINK_LIBRARIES to check for HUNSPELL CXX ABI. Needed by XCode
Kornel Benko [Fri, 29 Nov 2019 12:49:02 +0000 (13:49 +0100)]
Cmake build: Add LINK_LIBRARIES to check for HUNSPELL CXX ABI. Needed by XCode

The trick with faking the link command does not work with XCode
see: https://cmake.org/pipermail/cmake/2010-May/037132.html

Spotted by Patrick (pdvisschere@edpnet.be)

4 years agoCmake build: Consider for cmake versions <= 3.12 while searching for python
Kornel Benko [Thu, 28 Nov 2019 20:51:47 +0000 (21:51 +0100)]
Cmake build: Consider for cmake versions <= 3.12 while searching for python

This partially reverts d17dfe6f

4 years agoCmake build: Replace use of deprecated module PythonInterp
Kornel Benko [Thu, 28 Nov 2019 14:09:11 +0000 (15:09 +0100)]
Cmake build: Replace use of deprecated module PythonInterp

Use find_package(Pytnon2 ..) and find_package(Python3 ...) instead

Patch from Patrick (pdvisschere@edpnet.be)

4 years agoCmake build: Remove unneeded hunspell path from configure test
Kornel Benko [Thu, 28 Nov 2019 13:31:26 +0000 (14:31 +0100)]
Cmake build: Remove unneeded hunspell path from configure test

Spotted by Patrick (pdvisschere@edpnet.be)

4 years agoCmake build: Install executables as programms
Kornel Benko [Wed, 27 Nov 2019 14:05:44 +0000 (15:05 +0100)]
Cmake build: Install executables as programms

Patch from Patrick (pdvisschere@edpnet.be)

4 years agotypo
Pavel Sanda [Thu, 21 Nov 2019 16:13:47 +0000 (17:13 +0100)]
typo

4 years agoReduce number of strings (the same one in buffer).
Pavel Sanda [Thu, 21 Nov 2019 16:11:09 +0000 (17:11 +0100)]
Reduce number of strings (the same one in buffer).

4 years agoPrevious header change breaks postats script for web.
Pavel Sanda [Thu, 21 Nov 2019 14:35:42 +0000 (15:35 +0100)]
Previous header change breaks postats script for web.

4 years agoFix crash with polyglossia and intitle commands when lang_auto_end is false
Juergen Spitzmueller [Thu, 21 Nov 2019 07:38:21 +0000 (08:38 +0100)]
Fix crash with polyglossia and intitle commands when lang_auto_end is false

4 years agoGuiSelectionManager: fix getSelectedIndex for availableLV
Juergen Spitzmueller [Wed, 20 Nov 2019 13:07:05 +0000 (14:07 +0100)]
GuiSelectionManager: fix getSelectedIndex for availableLV

4 years agoFix issues with tilde in inputpath
Juergen Spitzmueller [Wed, 20 Nov 2019 10:57:32 +0000 (11:57 +0100)]
Fix issues with tilde in inputpath

Fixes #11699

4 years agoRe-fix #11146 with recent LaTeX
Juergen Spitzmueller [Wed, 20 Nov 2019 10:48:18 +0000 (11:48 +0100)]
Re-fix #11146 with recent LaTeX

4 years agoBeamer loads amsmath
Juergen Spitzmueller [Wed, 20 Nov 2019 08:38:16 +0000 (09:38 +0100)]
Beamer loads amsmath

4 years agoFix crash in selection manager
Juergen Spitzmueller [Tue, 19 Nov 2019 12:47:32 +0000 (13:47 +0100)]
Fix crash in selection manager

Patch by Patrick De Visschere

4 years agoUpdate text file
Juergen Spitzmueller [Tue, 19 Nov 2019 12:38:36 +0000 (13:38 +0100)]
Update text file

Use float alignment rather than par alignment

4 years agoHandle paragraph direction switch in captions (with polyglossia/bidi)
Juergen Spitzmueller [Tue, 19 Nov 2019 12:37:44 +0000 (13:37 +0100)]
Handle paragraph direction switch in captions (with polyglossia/bidi)

4 years agoctest update.
Günter Milde [Wed, 13 Nov 2019 16:34:57 +0000 (17:34 +0100)]
ctest update.

Debian stable ships now TL18, we don't need to care for older TL versions.

Make CJK-ko documentation more robust (failed with non-TeX fonts and XeTeX,
if LatinModern is not installed system-wide).

The test sample for LyX bug 3059 triggers an error only with
"fontencoding auto-legacy" and can be safely ignored with non-TeX fonts.

4 years agoAlways use local font switches in table cells.
Juergen Spitzmueller [Sun, 17 Nov 2019 10:07:18 +0000 (11:07 +0100)]
Always use local font switches in table cells.

4 years agoThese languages are now also supported by polyglossia
Juergen Spitzmueller [Sun, 17 Nov 2019 07:08:33 +0000 (08:08 +0100)]
These languages are now also supported by polyglossia

Afrikaans, Belarusian, Bosnian, and Georgian

4 years agoAdd a setBuffer method to InsetArgumentProxy
Jean-Marc Lasgouttes [Fri, 15 Nov 2019 19:43:00 +0000 (20:43 +0100)]
Add a setBuffer method to InsetArgumentProxy

This is needed to set the buffer of default values of optional arguments.

Fixes bug #11695.

4 years agoConsider shorthand in biblatex cite display
Juergen Spitzmueller [Tue, 12 Nov 2019 12:52:05 +0000 (13:52 +0100)]
Consider shorthand in biblatex cite display

Fixes #11696

4 years agoCmake build: Remove warnings about deprecated policy CMP0069
Kornel Benko [Sat, 9 Nov 2019 15:56:16 +0000 (16:56 +0100)]
Cmake build: Remove warnings about deprecated policy CMP0069

Deprecated since cmake version 3.16
(Now explicitly enable/disable interprocedural optimization
if supported and not debugging)

4 years agoctests: update supported-languages tests.
Kornel Benko [Fri, 8 Nov 2019 09:57:42 +0000 (10:57 +0100)]
ctests: update supported-languages tests.

polyglossia changes in TL19 makes some tests
pass with lualatex again

4 years agoSupport C++98 again (gcc 4.8).
Pavel Sanda [Wed, 6 Nov 2019 14:54:27 +0000 (15:54 +0100)]
Support C++98 again (gcc 4.8).

4 years agoConstify and un-constify
Jean-Marc Lasgouttes [Wed, 6 Nov 2019 09:36:21 +0000 (10:36 +0100)]
Constify and un-constify

4 years agoFix typo (thanks to Salvatore Falco for the fix).
José Matos [Mon, 4 Nov 2019 12:12:23 +0000 (12:12 +0000)]
Fix typo (thanks to Salvatore Falco for the fix).

4 years agoit.po: resolve shortcuts conflict
Enrico Forestieri [Sat, 2 Nov 2019 17:19:02 +0000 (18:19 +0100)]
it.po: resolve shortcuts conflict

4 years agoUpdate it.po
Enrico Forestieri [Sat, 2 Nov 2019 15:21:15 +0000 (16:21 +0100)]
Update it.po

4 years agoAnother comment to languages
Juergen Spitzmueller [Fri, 1 Nov 2019 10:58:58 +0000 (11:58 +0100)]
Another comment to languages

4 years agoComments on soon-to-be supported polyglossia languages
Juergen Spitzmueller [Fri, 1 Nov 2019 08:23:58 +0000 (09:23 +0100)]
Comments on soon-to-be supported polyglossia languages

4 years agoSome languages supported by polyglossia nowadays
Juergen Spitzmueller [Fri, 1 Nov 2019 06:04:04 +0000 (07:04 +0100)]
Some languages supported by polyglossia nowadays

4 years agohe.po: update from Guy
Juergen Spitzmueller [Wed, 30 Oct 2019 08:22:49 +0000 (09:22 +0100)]
he.po: update from Guy

4 years agoUpdate sk.po
Kornel Benko [Sun, 27 Oct 2019 09:04:27 +0000 (10:04 +0100)]
Update sk.po

4 years agoAmend 464d6262: Forgot these
Jean-Marc Lasgouttes [Sat, 26 Oct 2019 22:17:01 +0000 (00:17 +0200)]
Amend 464d6262: Forgot these

4 years agoRemove some useless expressions
Jean-Marc Lasgouttes [Sat, 26 Oct 2019 22:09:05 +0000 (00:09 +0200)]
Remove some useless expressions

Spotted by cppcheck

4 years agoSimplify boolean expressions
Jean-Marc Lasgouttes [Sat, 26 Oct 2019 22:08:02 +0000 (00:08 +0200)]
Simplify boolean expressions

Spottd by cppcheck.

4 years agoDo not use same name for members and arguments
Jean-Marc Lasgouttes [Sat, 26 Oct 2019 22:06:54 +0000 (00:06 +0200)]
Do not use same name for members and arguments

Spotted by cppcheck.

4 years agoUse unsigned values for enum
Jean-Marc Lasgouttes [Sat, 26 Oct 2019 22:03:55 +0000 (00:03 +0200)]
Use unsigned values for enum

Otherwise 1 << 31 overflows.

Spotted by cppcheck.

4 years agoImprove tooltip of "Save as Document Defaults"
Scott Kostyshak [Sat, 26 Oct 2019 18:45:33 +0000 (14:45 -0400)]
Improve tooltip of "Save as Document Defaults"

The new message is shorter and also specifies that these defaults
are for new documents.

4 years agoUpdate sk.po
Kornel Benko [Sat, 26 Oct 2019 09:17:57 +0000 (11:17 +0200)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Sat, 26 Oct 2019 07:26:05 +0000 (09:26 +0200)]
de.po

4 years agoPolish warning
Juergen Spitzmueller [Sat, 26 Oct 2019 07:10:40 +0000 (09:10 +0200)]
Polish warning

4 years agoValidate if graphics path is encodable
Juergen Spitzmueller [Sat, 26 Oct 2019 06:33:51 +0000 (08:33 +0200)]
Validate if graphics path is encodable

Fixes #11688

4 years agoMark insets with invalid buffer() in red in devel-mode.
Jean-Marc Lasgouttes [Mon, 21 Oct 2019 14:45:03 +0000 (16:45 +0200)]
Mark insets with invalid buffer() in red in devel-mode.

We tend to have insets which buffer() member is invalid. To help
debugging, this commit paints their background in red when devel-mode
is on.

To this end, a new method develMode() is added to the Painter class.

With this commit, it is easy to see that macro template do not have a
proper buffer set!