[LyX/master] Make bookmarks display configurable
Pavel Sanda
sanda at lyx.org
Wed Apr 7 15:13:59 UTC 2021
On Wed, Apr 07, 2021 at 04:11:39PM +0200, Jean-Marc Lasgouttes wrote:
> commit 0f0ad1f715b914d424b6edd01aad2e559e8e85f5
> Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> Date: Tue Apr 6 15:19:12 2021 +0200
>
> Make bookmarks display configurable
>
> Introduce a GUI-less LyXRC member bookmarks_visibility. This is
> experimental and will not be documented for 2.4.0. Having the code
> present will allow to (1) improve it gradually and (2) fix the many
> bookmarks bugs that it exposes.
>
> The corresponding tag is \experimental:bookmarks_visibility, which is
> intentionally weird.
>
> Three possible values:
>
> * none: no bookmark display
> * margin: display the bookmark in margin
> * inline: display the bookmark at cursor position.
>
> The default margin has been made wider so that there is room for the
> bookmark. This was necessary anyway. The margin bookmark is now
> displayed correctly in full screen with limited text width.
>
> Margin display still needs some improvements when several bookmarks
> are on the same row.
>
> Mostly fixes bug #2496.
Maybe related?:
LyXRC.cpp: In member function 'void lyx::LyXRC::write(std::ostream&, bool, const string&) const':
LyXRC.cpp:1755:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (tag != RC_LAST)
^~
LyXRC.cpp:1758:2: note: here
case RC_MAC_DONTSWAP_CTRL_META:
^~~~
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-deprecated-copy'
Pavel
More information about the lyx-devel
mailing list