Dear Svenn,
> playing around with 3.7.5 getting some quick schematics for a PCB that
> I am going to make. Backend will be pcb-gtk.
> I get a message dialog telling me it is not allowed to insert
> parameters in text which doesn't show up if I try to do exactly the
> same in debian sid version of xcircuit. (3.6.135)
> What I do is:
> * Create the symbol with pins
> * Make user object
> * Dive into the symbol (am I now doing edit on this instance or the
> library instance if I add further elements? Think not, but not sure
> anymore)
> * Place the pcb:U? info label,
> * select the ?
> * parametrize it and call it index
> * Place a regular text
> * type U
> * then ctrl-p and select 'index' from menu
> * program responds with Application Error dialog saying: Error:
> Insertion into handle or selection not supported...
> Here is the dump of the message text:
>
> Insertion into handle or selection not supported (yet)
> Insertion into handle or selection not supported (yet)
> while executing
> "label insert parameter [.parameter.keylist get $kidx]"
> invoked from within
> "if {[string last "text" [xcircuit::eventmode]] >= 0} {
> label insert parameter [.parameter.keylist get $kidx]
> }"
> (command bound to event)
>
In version 3.7, I changed the way some selections are done; previously,
edited
elements and selections were maintained separately, but to create a
method for
simultaneously editing multiple elements, I had to make use of the selection
records. Consequently, there is a line in tclxcircuit.c, line 4236,
where the
check for no selection is now invalid. Line 4236 should not read simply:
if (nidx != 1) {
The point of explaining the error is that there may be more such
instances in
the 3.7 version, so just let me know if you find any more bad behavior.
Sorry about the delay in responding. MultiGiG just taped out our "flagship
product" today, and I have been working 18 hour days plus weekends and
holidays for the past several weeks. Such is life, in a startup company.
I am updating the Xcircuit CVS database now, and it can be downloaded
by tomorrow morning, or else you can make the simple 1-line change
yourself.
Regards,
Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: [email protected] |
| Open Circuit Design, Inc. | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-5030 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev