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
signature.asc
Description: This is a digitally signed message part
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel