[LyX/master] Prevent branch background color from leaking out of the document

Jürgen Spitzmüller spitz at lyx.org
Thu Jan 21 09:01:13 UTC 2021


Am Donnerstag, dem 21.01.2021 um 09:55 +0100 schrieb Jürgen
Spitzmüller:
> Am Donnerstag, dem 21.01.2021 um 09:52 +0100 schrieb Jean-Marc
> Lasgouttes:
> > This is why IMO declaring a name for such colors is a mistake. An
> > enum value generated on the fly would be enough.
> 
> And where would you store and access these enum values?
> 
> (BTW the name now is as unique as it gets, as it consists of the
> string
> branch, a random integer which is assigned to the branchlist, and the
> branch name)
> 
> Jürgen

Of course, this problem could be easily solved also in branch by using
a color name "branch_" + branchname rather than just branchname (this
doesn't solve the leaking though).

Jürgen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210121/0bac8448/attachment.asc>


More information about the lyx-devel mailing list