Hi Henric,
"Henric Rosvall" <[EMAIL PROTECTED]> wrote on 11/01/2006 09:26:21 AM:
> I even became so desperate to get this working, that I cloned the
existing
> flowRoot-object, change the text in the clone, deleted the original, and
then
> inserted the modified clone. But all that happens is that the old object
is
> removed from the canvas, but the new object isn't visible.
This sounds like you aren't make the changes to the canvas in
the UpdateManager thread...
> If I then save the
> SVG to file, and open it in my app, the new object is displayed just
like it
> should. So the code I have doesn't seem to be erroneous, since it
produces
> correct SVG-code.
This tends to be a poor test since serialization can fix a number of
Namespace bugs. But I don't think this is really your problem.
> Instead it seems like the JSvgCanvas simply lacks a number
> of events, so it simply doesn't get the notifications that something has
changed.
This is entirely possible. I don't know that the Flow Text stuff was
ever fully hooked into the dynamic change support. That said adding a new
flowRoot element should work.
> Is there some way to solve this?
> Cause I really have no idea how to create editable multiline-objects
without a
> working flowRoot-object (and using tspans in a text-object really isn't
an option).
This should not be really hard to fix but I won't have time to look at
it
in the near future.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]