Re: --show-layers=... alternative



On 2005-04-03, 17:46, Lars Clausen wrote:
On Sun, 2005-04-03 at 16:19 +0200, Simon Kagstrom wrote:
On 2005-04-03, 16:11, Lars Clausen wrote:
We could do a slight hack and say that if the argument to
--export-layers is in [0-9,-] then it's layer numbers, otherwise it's
layer names.  If somebody names all their layers just numbers, they
might get confused, and we could emit a warning if a layer name is just
digits and dashes.

True. Well, I could try to do some reworking of the patch to integrate it into
the --show-layers= option instead. The only thing that would worry me then is
that the option can be hard to understand in the start since it comes in many
forms. On the other hand, I guess it could be useful to do something like

--show-layers=background,2-4,image

That could be useful.  There also ought to be a warning if a layer is
specified multiple times.

OK, I'll try to implement this during the next few days then.

// Simon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]