]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agoRemove unneeded std::move
Jean-Marc Lasgouttes [Thu, 6 Jun 2019 13:23:42 +0000 (15:23 +0200)]
Remove unneeded std::move

Signalled by gcc 9.

5 years agoClean up Language.cpp
Jean-Marc Lasgouttes [Wed, 5 Jun 2019 14:28:37 +0000 (16:28 +0200)]
Clean up Language.cpp

Use range-base for loops everywhere.

Rename languagelist to languagelist_, since it is private.

5 years agoMake Word Wrap property confiurable by language
Jean-Marc Lasgouttes [Wed, 5 Jun 2019 13:45:10 +0000 (15:45 +0200)]
Make Word Wrap property confiurable by language

It is now possible to specify in the lib/language file whether screen
rows can be broken anywhere (CJK languages) or only at work boundary.

Set WordWrap to false for the CJK languages (notice that japanese-cjk
had been forgotten before).

Moreover, remove a test for separators in row element that was not
really helpful.

Fixes part of ticket #10299.

5 years agoMake the lyx2lyx code compatible between python2 and python3.
José Matos [Wed, 5 Jun 2019 13:06:09 +0000 (14:06 +0100)]
Make the lyx2lyx code compatible between python2 and python3.

FWIW this code is important for very old versions of lyx, older than 1.1.5 (released 19 years ago - 2000/06/06).

Funny fact of the day, byte strings do not behave as regular strings in python3 when taking and index.
To get a sub-string we need to pass a range, a integer index will not work as it happens in a regular string:

$ ipython3
...
In [30]: line
Out[30]: b'#This file was created by <mike> Tue Jan 25 10:36:51 2000'

In [31]: line[0]
Out[31]: 35

In [32]: line[0:1]
Out[32]: b'#'

The range notations works for both byte and regular strings in python 3, and it also works in python 2.
Thus the change is simple and effective. In any case I should confess that I was quite surprised by this. :-)

5 years agoFix remainder of #11115.
Günter Milde [Wed, 5 Jun 2019 09:16:25 +0000 (11:16 +0200)]
Fix remainder of #11115.

Implement GUI suggestions from
https://www.lyx.org/trac/ticket/11115#comment:26

5 years agoRemove code that is redudant.
José Matos [Tue, 4 Jun 2019 17:26:13 +0000 (18:26 +0100)]
Remove code that is redudant.

Both for python2 and python3 output is always a string.

5 years agoUse a somewhat more realistic trigloss example
Juergen Spitzmueller [Tue, 4 Jun 2019 12:01:06 +0000 (14:01 +0200)]
Use a somewhat more realistic trigloss example

5 years agode/Linguistics: minor corrections
Juergen Spitzmueller [Tue, 4 Jun 2019 11:40:02 +0000 (13:40 +0200)]
de/Linguistics: minor corrections

5 years agoUpdate sk.po
Kornel Benko [Tue, 4 Jun 2019 10:44:17 +0000 (12:44 +0200)]
Update sk.po

5 years agode.po
Juergen Spitzmueller [Tue, 4 Jun 2019 10:04:29 +0000 (12:04 +0200)]
de.po

5 years agode/Linguistics: update
Juergen Spitzmueller [Tue, 4 Jun 2019 09:51:18 +0000 (11:51 +0200)]
de/Linguistics: update

5 years agosmall correction
Juergen Spitzmueller [Tue, 4 Jun 2019 09:10:54 +0000 (11:10 +0200)]
small correction

5 years agoRework linguistic gloss support
Juergen Spitzmueller [Tue, 4 Jun 2019 09:01:19 +0000 (11:01 +0200)]
Rework linguistic gloss support

This now uses the new and enhanced \digloss ad \trigloss macros of
convington 2.0 rather than the deficient self-baked ones.

File format change.

5 years agoRemove covington backwards compatibility code
Juergen Spitzmueller [Tue, 4 Jun 2019 06:20:02 +0000 (08:20 +0200)]
Remove covington backwards compatibility code

The new environments are out now long enough, and we are going to require
covington 2.0 for the glosses in 2.4 anyway.

5 years agoFix the remaing issues with comparisons with objects of different types.
José Matos [Mon, 3 Jun 2019 18:07:20 +0000 (19:07 +0100)]
Fix the remaing issues with comparisons with objects of different types.

In python it is possible to compare tuples with a lexicographic order.

Take advantage of that since there is no need to resort to the C-trick of converting a version in hex format.

We need to set a dummy version in case we are using ImageMagick to ensure that version is always an integer 3-tuple.

5 years agoFix bug in python comparison.
José Matos [Mon, 3 Jun 2019 16:15:09 +0000 (17:15 +0100)]
Fix bug in python comparison.

It worked in python2 but not the way the authors imagined. Because hex always returns a string.

From python2:
>>> 1 > "2"
False
>>> "2" > 1
True
>>> "1" > 2
True

The rational is that an integer is always smaller than a string.

In python 3 this because it does not make sense to compare objects of different types.

5 years agoctests Arabic: mark non-Arabic text parts as English, fix inversion pattern.
Günter Milde [Mon, 3 Jun 2019 14:52:29 +0000 (16:52 +0200)]
ctests Arabic: mark non-Arabic text parts as English, fix inversion pattern.

5 years agolyx2lyx refactoring and minor fixes.
Günter Milde [Mon, 3 Jun 2019 14:45:05 +0000 (16:45 +0200)]
lyx2lyx refactoring and minor fixes.

5 years agoSupport more languages (file format change).
Günter Milde [Mon, 3 Jun 2019 14:43:16 +0000 (16:43 +0200)]
Support more languages (file format change).

Format incremented to 576:
Support for the document languages azerbaijani, bengali,
churchslavonic, and oldrussian.

5 years agoFix some problems with lyx2lyx_tools.revert_languages().
Günter Milde [Mon, 3 Jun 2019 07:03:13 +0000 (09:03 +0200)]
Fix some problems with lyx2lyx_tools.revert_languages().

Amends 7bb30286.

Tested cases are now handled fine.

(There are still many cases where the language support emulation
is too complex for lyx2lyx and manual fixes are required after
lyx2lyx conversion.)

5 years agoMath autocorret: cycle through dots
Enrico Forestieri [Mon, 3 Jun 2019 14:54:28 +0000 (16:54 +0200)]
Math autocorret: cycle through dots

Also remove the unknown symbols \hdots and \udots.

5 years agoMake caret visible inside math macros arguments
Jean-Marc Lasgouttes [Mon, 3 Jun 2019 14:22:44 +0000 (16:22 +0200)]
Make caret visible inside math macros arguments

The first step is to move the MathRow cache to BufferView, alongside
coordCache. This was on the todo list anyway, since it allows to let
go the math row information when the math equation is not on the
screen anymore. With the old scheme, it would always remain in memory.

Then, when computing caret size in MathData::metrics, make sure that
the mathrow of the elements that are linearized in the MathRow object
get their caret size information initialized too.

Fixes bug #11587.

5 years agoProperly reset lineno_opts
Juergen Spitzmueller [Mon, 3 Jun 2019 12:33:08 +0000 (14:33 +0200)]
Properly reset lineno_opts

5 years agoSome more tweaks to math autocorrect
Enrico Forestieri [Mon, 3 Jun 2019 10:32:13 +0000 (12:32 +0200)]
Some more tweaks to math autocorrect

In particular, make the '>' and '<' symbols followed by '*' cycle
through some sensible group of symbols.

5 years agoClose cycle and correct typo
Enrico Forestieri [Mon, 3 Jun 2019 09:37:15 +0000 (11:37 +0200)]
Close cycle and correct typo

I think that the autocorrect file needs an overhaul.

5 years agoRemoved shortcuts to toggle autocorrect.
Isaac [Fri, 24 May 2019 23:07:26 +0000 (11:07 +1200)]
Removed shortcuts to toggle autocorrect.

They are not really needed now that autocorrection can be undone. This
increases autocorrect usability.

5 years agoAdd Isaac Oscar to credits
Jean-Marc Lasgouttes [Sun, 2 Jun 2019 19:29:20 +0000 (21:29 +0200)]
Add Isaac Oscar to credits

5 years agoUse the new autocorrect feature
Enrico Forestieri [Mon, 3 Jun 2019 08:21:40 +0000 (10:21 +0200)]
Use the new autocorrect feature

Correct or activate some already present shortcuts, and add new ones
for easily obtaining the most common fixed size delimiters.
Pressing '*' after a delimiter will cycle through all sizes.

5 years agoMake verbose switch consistent.
José Matos [Mon, 3 Jun 2019 06:31:05 +0000 (07:31 +0100)]
Make verbose switch consistent.

Someday we should probably unify these two switches. Because the debug switch is verbose
and the verbose switch is mostly used for debuging.

5 years agoAllow to undo partly math autocorrect
Jean-Marc Lasgouttes [Mon, 15 Apr 2019 09:12:25 +0000 (11:12 +0200)]
Allow to undo partly math autocorrect

To this end, introduce Undo::splitUndoGroup, which ends currently
group and creates a new one with same nesting level.

5 years agoMake math autocorrrect work with more than 2 chars
Isaac [Tue, 9 Apr 2019 01:48:46 +0000 (13:48 +1200)]
Make math autocorrrect work with more than 2 chars

Currently, math autocorrect allows to transform a couple of characters
to a new one. This patch allows to transform a couple (sequence,
character) to a new character.

No example are implemented right now. One possible idea would be
"--" + ">" => \longrightarrow

5 years agoFix lineno options param
Juergen Spitzmueller [Sun, 2 Jun 2019 17:07:01 +0000 (19:07 +0200)]
Fix lineno options param

This has been written even if empty -- and thus caused reading errors.

5 years agoImport lyxpreview_tools directly and not only inside *if* conditions.
José Matos [Sun, 2 Jun 2019 16:24:40 +0000 (17:24 +0100)]
Import lyxpreview_tools directly and not only inside *if* conditions.

This is related to the bug #11457 saga and it was my fault.

The debug files should be written only be on if the argument --debug is passed and not --verbose as it was done by mistake.

5 years agoNew InsetLayout tag ParbreakIgnored
Juergen Spitzmueller [Sun, 2 Jun 2019 16:16:30 +0000 (18:16 +0200)]
New InsetLayout tag ParbreakIgnored

This effectively allow paragraph breaks in insets only for cosmetic
reasons (e.g., to align contents on different lines).

This is the last change necessary for an enhanced covington gloss support
(which uses the new covington gloss ui)

5 years agoAdd InsertOnNewline argument tag
Juergen Spitzmueller [Sun, 2 Jun 2019 16:07:10 +0000 (18:07 +0200)]
Add InsertOnNewline argument tag

This adds a paragraph break before auto-inserting arguments in flex
insets.

Useful for specific arguments (particularly ling glosses)

5 years agoAmend 9f04eeae032d
Juergen Spitzmueller [Sun, 2 Jun 2019 14:55:11 +0000 (16:55 +0200)]
Amend 9f04eeae032d

5 years agoSupport FreeSpacing in InsetArgument
Juergen Spitzmueller [Sun, 2 Jun 2019 14:33:06 +0000 (16:33 +0200)]
Support FreeSpacing in InsetArgument

5 years agoAllow for auto-inserting multiple arguments
Juergen Spitzmueller [Sun, 2 Jun 2019 07:26:32 +0000 (09:26 +0200)]
Allow for auto-inserting multiple arguments

5 years agoEnable AutoInsert with post arguments
Juergen Spitzmueller [Sun, 2 Jun 2019 07:25:56 +0000 (09:25 +0200)]
Enable AutoInsert with post arguments

5 years agofixes to lyx2lyx's revert_language tool.
Günter Milde [Wed, 29 May 2019 22:07:33 +0000 (00:07 +0200)]
fixes to lyx2lyx's revert_language tool.

5 years agoctest test documents for lyx2lyx.
Günter Milde [Tue, 28 May 2019 09:53:49 +0000 (11:53 +0200)]
ctest test documents for lyx2lyx.

Currently failing due to an error in revert_language().

5 years agolyx2lyx refactoring
Günter Milde [Tue, 28 May 2019 08:34:46 +0000 (10:34 +0200)]
lyx2lyx refactoring

Reduce code duplication in revert_language, no change to output.

5 years agode.po
Juergen Spitzmueller [Sat, 1 Jun 2019 07:28:21 +0000 (09:28 +0200)]
de.po

5 years agoUpdate sk.po
Kornel Benko [Fri, 31 May 2019 18:15:06 +0000 (20:15 +0200)]
Update sk.po

5 years agoFix grammar
Juergen Spitzmueller [Fri, 31 May 2019 16:28:48 +0000 (18:28 +0200)]
Fix grammar

5 years agoAdd further debug information fow windows (#11457)
José Matos [Fri, 31 May 2019 15:07:13 +0000 (16:07 +0100)]
Add further debug information fow windows (#11457)

5 years agode-po
Juergen Spitzmueller [Fri, 31 May 2019 14:08:38 +0000 (16:08 +0200)]
de-po

5 years agoRename List/TOC menu item
Juergen Spitzmueller [Fri, 31 May 2019 13:46:58 +0000 (15:46 +0200)]
Rename List/TOC menu item

5 years agoOmit floating point exception
Kornel Benko [Fri, 31 May 2019 10:55:12 +0000 (12:55 +0200)]
Omit floating point exception

5 years agoTemporary hack to try to solve #11457 on windows
José Matos [Fri, 31 May 2019 09:43:02 +0000 (10:43 +0100)]
Temporary hack to try to solve #11457 on windows

Redirect the standard output and standard error of the script to a file called debug.txt in the temporary directory.

5 years agoFix spacing
Juergen Spitzmueller [Fri, 31 May 2019 09:26:40 +0000 (11:26 +0200)]
Fix spacing

5 years agoResolve shortcut conflict
Juergen Spitzmueller [Fri, 31 May 2019 09:24:08 +0000 (11:24 +0200)]
Resolve shortcut conflict

Since all used letters are taken, we use the slash

5 years agoRemove superfluous "Insert"
Juergen Spitzmueller [Fri, 31 May 2019 08:58:03 +0000 (10:58 +0200)]
Remove superfluous "Insert"

This is in the "Insert" menu.

5 years agoFix toprule with booktabs/longtable and captions
Juergen Spitzmueller [Fri, 31 May 2019 08:48:00 +0000 (10:48 +0200)]
Fix toprule with booktabs/longtable and captions

5 years agoForgot this part
Richard Kimberly Heck [Fri, 31 May 2019 00:39:43 +0000 (20:39 -0400)]
Forgot this part

5 years agoFix bug #11588.
Richard Kimberly Heck [Fri, 31 May 2019 00:32:35 +0000 (20:32 -0400)]
Fix bug #11588.

Check for the local file before calling kpsewhich.

5 years agode.po
Juergen Spitzmueller [Thu, 30 May 2019 09:52:33 +0000 (11:52 +0200)]
de.po

5 years agoCorrect German localization
Juergen Spitzmueller [Thu, 30 May 2019 09:47:54 +0000 (11:47 +0200)]
Correct German localization

List in the context of TOC, LOF, LOT etc. is not "Liste", but
"Verzeichnis"

5 years agoUpdate sk.po
Kornel Benko [Wed, 29 May 2019 08:58:13 +0000 (10:58 +0200)]
Update sk.po

5 years agoUpdate it.po
Enrico Forestieri [Wed, 29 May 2019 07:25:39 +0000 (09:25 +0200)]
Update it.po

5 years agoAdd remark about edit menu to release notes.
Richard Kimberly Heck [Tue, 28 May 2019 20:47:11 +0000 (16:47 -0400)]
Add remark about edit menu to release notes.

5 years agoRe-order and re-shortcut the edit menu.
Richard Kimberly Heck [Tue, 28 May 2019 03:51:31 +0000 (23:51 -0400)]
Re-order and re-shortcut the edit menu.

5 years agoAttempt to fix #11457
José Matos [Tue, 28 May 2019 15:22:32 +0000 (16:22 +0100)]
Attempt to fix #11457

In python 3 the colors need to be strings and not bytes:

This was the equivalent of

>> print("%s" % b"1")
"b'1'"

since the colors were bytes the call to dvipng was something like

dvipng -Ttight -depth -height -D 115 -fg "b'rgb 0.937255 0.941176 0.945098'" -bg "b'rgb 0.137255 0.149020 0.160784'"  "lyxpreviewxBJEqm.dvi"

Note the "b'rgb after both -fg and -bg that wrecked havoc and thus dvipng failed. That was the difference between python2 and python3 calls.

5 years agoAdd a separator.
Richard Kimberly Heck [Tue, 28 May 2019 04:23:32 +0000 (00:23 -0400)]
Add a separator.

5 years agoPut "cancel" option in visible position at top of menu when it is
Richard Kimberly Heck [Tue, 28 May 2019 03:34:49 +0000 (23:34 -0400)]
Put "cancel" option in visible position at top of menu when it is
active.

5 years agoAllow click on the 'spinner' to cancel export.
Richard Kimberly Heck [Tue, 28 May 2019 03:20:45 +0000 (23:20 -0400)]
Allow click on the 'spinner' to cancel export.

5 years agoFix crash reported by Kornel.
Richard Kimberly Heck [Mon, 27 May 2019 04:06:10 +0000 (00:06 -0400)]
Fix crash reported by Kornel.

See https://marc.info/?l=lyx-devel&m=155879185229073&w=2.

The problem is that, after saving the document and reloading, the
TOC is corrupted, more or less, when we run through updateBuffer.
So we reset it first.

5 years agoAdd a testcase for buffer-write-as
Kornel Benko [Mon, 27 May 2019 08:21:15 +0000 (10:21 +0200)]
Add a testcase for buffer-write-as

5 years agoPrefer mathmode commands over textmode ones
Enrico Forestieri [Sun, 26 May 2019 11:06:44 +0000 (13:06 +0200)]
Prefer mathmode commands over textmode ones

Translating → to \rightarrow in a \ce inset produces the right
glyph. Instead, translating it to \textrightarrow produces a
different glyph (β).

5 years agoUse ranges
Enrico Forestieri [Sun, 26 May 2019 10:31:02 +0000 (12:31 +0200)]
Use ranges

5 years agoSupplement the fix for bug #11586
Enrico Forestieri [Sun, 26 May 2019 07:56:34 +0000 (09:56 +0200)]
Supplement the fix for bug #11586

The mhchem \ce inset is a text mode environment but allows entering
spaces and mathmode commands. However, even if it doesn't allow unicode
symbols, LyX allows entering them (by copy/paste, for example), causing
latex errors. As a unicode symbol may have a proper latex representation
from the unicodesymbols file, use it instead of the bare symbol. Here, we
don't care about the mode because both text and math mode should be allowed.
For example, the ⟶ symbol is not recognized but its latex representation
(\longrightarrow) is fine. Of course, there may be symbols that are
not recognized anyway, but this is better because they cause explicit
errors from mhchem instead of cryptic iconv errors in case they cannot
be represented in the document encoding.

5 years agoPartial fix for bug #11586
Enrico Forestieri [Sun, 26 May 2019 07:27:46 +0000 (09:27 +0200)]
Partial fix for bug #11586

Do not replace a latex command with the corresponding symbol
in the unicodesymbols file unless it can be encoded in the
document encoding.

5 years agoCJK package is never used with non-TeX fonts.
Günter Milde [Sat, 25 May 2019 23:45:35 +0000 (01:45 +0200)]
CJK package is never used with non-TeX fonts.

Prepare for languages that use CJK with TeX fonts and Polyglossia
with non-TeX fonts.

Korean is already supported by Polyglossia,
LyX support will follow (file version change).

5 years agoAdapt lyx2lyx to the lineno support fix in [88f471899/lyxgit].
Günter Milde [Sat, 25 May 2019 11:55:34 +0000 (13:55 +0200)]
Adapt lyx2lyx to the lineno support fix in [88f471899/lyxgit].

5 years agoMake doc/UserGuide.lyx independent of French and Spanish language LaTeX support.
Günter Milde [Sat, 25 May 2019 11:24:25 +0000 (13:24 +0200)]
Make doc/UserGuide.lyx independent of French and Spanish language LaTeX support.

5 years agoctest tagging update.
Günter Milde [Fri, 24 May 2019 18:05:42 +0000 (20:05 +0200)]
ctest tagging update.

5 years agoRemove non-required ternary conditional.
Günter Milde [Fri, 24 May 2019 20:48:06 +0000 (22:48 +0200)]
Remove non-required ternary conditional.

In a branch only entered when not using Xe- or LuaTeX,
we don't need to care about polyglossia.

5 years agoCell in delimiter inset should not be tight
Jean-Marc Lasgouttes [Fri, 24 May 2019 09:10:17 +0000 (11:10 +0200)]
Cell in delimiter inset should not be tight

Fixes bug #11337.

5 years agoAmend 7f125f62d2, Introduce doc preference for line numbering
Kornel Benko [Fri, 24 May 2019 16:17:50 +0000 (18:17 +0200)]
Amend 7f125f62d2, Introduce doc preference for line numbering

Correct expected lyx files created by tex2lyx.

5 years agoRead line edit label
Juergen Spitzmueller [Fri, 24 May 2019 15:51:42 +0000 (17:51 +0200)]
Read line edit label

Otherwise it is not clear what this means.

5 years agosize tweak
Juergen Spitzmueller [Fri, 24 May 2019 15:39:22 +0000 (17:39 +0200)]
size tweak

5 years agolineno: dump lineno buffer token if false/empty as well.
Pavel Sanda [Fri, 24 May 2019 13:50:10 +0000 (15:50 +0200)]
lineno: dump lineno buffer token if false/empty as well.

Oversmarted myself. Wanted to save .lyx header from overbloating but
dialog's UI depends on those tokens when disabling the option in UI.

5 years agolineno: convert ui GB to CB per Juergen's request
Pavel Sanda [Fri, 24 May 2019 13:40:09 +0000 (15:40 +0200)]
lineno: convert ui GB to CB per Juergen's request

5 years agoComplete lyx2lyx for new "lineno" settings.
Günter Milde [Fri, 24 May 2019 11:49:32 +0000 (13:49 +0200)]
Complete lyx2lyx for new "lineno" settings.

5 years agoUpdate test doc for #11584
Günter Milde [Thu, 23 May 2019 14:25:51 +0000 (16:25 +0200)]
Update test doc for #11584

5 years agoUpdate sk.po
Kornel Benko [Fri, 24 May 2019 10:00:13 +0000 (12:00 +0200)]
Update sk.po

5 years agode.po: update
Juergen Spitzmueller [Fri, 24 May 2019 09:11:45 +0000 (11:11 +0200)]
de.po: update

5 years agoSome grammar and casing fixes and tooltip improvements
Juergen Spitzmueller [Fri, 24 May 2019 08:59:00 +0000 (10:59 +0200)]
Some grammar and casing fixes and tooltip improvements

5 years agoFix typo in de.po
Juergen Spitzmueller [Fri, 24 May 2019 08:20:01 +0000 (10:20 +0200)]
Fix typo in de.po

5 years agoUpdate sk.po
Kornel Benko [Thu, 23 May 2019 16:15:31 +0000 (18:15 +0200)]
Update sk.po

5 years agoUserGuide.lyx - few notes for lineno.
Pavel Sanda [Thu, 23 May 2019 14:15:38 +0000 (16:15 +0200)]
UserGuide.lyx - few notes for lineno.

5 years agoIntroduce doc preference for line numbering.
Pavel Sanda [Thu, 23 May 2019 13:13:27 +0000 (15:13 +0200)]
Introduce doc preference for line numbering.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg208781.html

5 years agoResave NumberingUi.ui in qt5 designer
Pavel Sanda [Thu, 23 May 2019 13:11:39 +0000 (15:11 +0200)]
Resave NumberingUi.ui in qt5 designer

5 years agoAlways paint text decoration when painting inset.
Jean-Marc Lasgouttes [Thu, 23 May 2019 09:30:35 +0000 (11:30 +0200)]
Always paint text decoration when painting inset.

Fixes bug #11402.

5 years agoFixup da2696cc: do not clear useful information from row
Jean-Marc Lasgouttes [Thu, 23 May 2019 08:26:08 +0000 (10:26 +0200)]
Fixup da2696cc: do not clear useful information from row

Ensure before calling breakRow that the row is empty.

Remove Row::clear(), which has unnatural semantics.

Fixes bug #11396.

5 years agoInclude all parent branches in the menu.
Richard Kimberly Heck [Thu, 23 May 2019 02:00:31 +0000 (22:00 -0400)]
Include all parent branches in the menu.

Previously, we only included branches from the master document. This
includes those from the parent, grandparent, etc, and does so in a way
that won't crash on recursive includes.

5 years agoChange how branches are displayed on the menus.
Richard Kimberly Heck [Thu, 23 May 2019 01:32:32 +0000 (21:32 -0400)]
Change how branches are displayed on the menus.

Show this document's branches first in the menu, and then show the
master document's branches on a sub-menu.

5 years agoUse ranges.
Richard Kimberly Heck [Thu, 23 May 2019 01:27:24 +0000 (21:27 -0400)]
Use ranges.

5 years agoRe-organize and comment code a bit.
Richard Kimberly Heck [Thu, 23 May 2019 00:57:39 +0000 (20:57 -0400)]
Re-organize and comment code a bit.

5 years agoInitialize row preperly on clear()
Jean-Marc Lasgouttes [Wed, 22 May 2019 09:53:58 +0000 (11:53 +0200)]
Initialize row preperly on clear()

It is not enough to get rid of the row elements, obviously. In
particular, changebar_ may never get reset.

Fixes bug #11396.