Hello Philip,
> I recall that in older versions I could select a bunch of text
> items with numbers and then press "i" to increment each of them.
>
> I'm currently using version 3.7 revision 30 and I can only
> increment one text item at a time. If I have more than one
> selected, nothing happens.
>
> Is this a deliberate change? Or a unintended consequence from
> something else?
It may be an unintended consequence, but on the other hand, I cannot
reproduce this problem. Is it possible that some aspect of one of
the text strings causes the function to fail? Test it on some very
simple text labels, like "abc1". If the problem is specific to
something in the label, I will need an example to figure out how to
fix it.
> Somewhat related, if there is a compound number (separated with
> "-", ".", etc) pressing "i" increments the number furthest to
> the left. Is it possible to have it increment the right-most
> number instead?
Yes, that can be done pretty easily. It's all done with regular
expressions in Tcl, so virtually any manipulation is possible. It's
just a matter of finding a convenient way to add this to the GUI that
makes the function easy to use without getting in the way.
---Tim
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev