> I worked with text selection and i have some questions:
>
> 1) In javascript I can use "selectSubString" to select a string in a
> text tag. What can I do to remove text selection? I tried
> selectSubString(0,0) but this command, without any sense, selects the
> wh
Fabio Biscaro wrote:
I worked with text selection and i have some questions:
1) In javascript I can use "selectSubString" to select a string in a
text tag. What can I do to remove text selection? I tried
selectSubString(0,0) but this command, without any sense, selects the
whole line!
I worked with text selection and i have some questions:
1) In javascript I can use "selectSubString" to select a string in a
text tag. What can I do to remove text selection? I tried
selectSubString(0,0) but this command, without any sense, selects the
whole line
2) I got a bug!
ially impossible to access from JavaScript.
-Messaggio originale-
Da: Thomas DeWeese [mailto:[EMAIL PROTECTED]
Inviato: lunedì 1 dicembre 2003 13.24
A: Batik Users
Oggetto: Re: Text selection
Fabio Biscaro wrote:
Hi, I would like to know how i can get text selection in svg.
Click and
Excuse me, I did the wrong question:
Is there a way, in javascript, to get the text that is selected in
batik?
Thanks,
Fabio
-Messaggio originale-
Da: Thomas DeWeese [mailto:[EMAIL PROTECTED]
Inviato: lunedì 1 dicembre 2003 13.24
A: Batik Users
Oggetto: Re: Text selection
Fabio
Fabio Biscaro wrote:
Hi, I would like to know how i can get text selection in svg.
Click and drag on text? It should just work.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Title: Messaggio
Hi, I
would like to know how i can get text selection in svg.
Thanks,
Fabio
Denis Bohm wrote:
Denis Bohm wrote:
...
"A text selection operation starts when all of the following occur:"
...
"- no links or events have been assigned to the 'text' , 'tspan' or
'textPath' , element(s) (or their ancestors) associated with the
> > Denis Bohm wrote:
> ...
> > > "A text selection operation starts when all of the following occur:"
> > > ...
> > > "- no links or events have been assigned to the 'text' , 'tspan' or
> > > 'textPath' , e
> Denis Bohm wrote:
...
> > "A text selection operation starts when all of the following occur:"
> > ...
> > "- no links or events have been assigned to the 'text' , 'tspan' or
> > 'textPath' , element(s) (or their ances
Denis Bohm wrote:
I have some SVG that includes text elements in a group that has an onclick
event handler. But when I move over the text I get a selection cursor and
can select text. From section 10.16 of the SVG spec it seems like text
selection should not be possible on the text elements
I have some SVG that includes text elements in a group that has an onclick
event handler. But when I move over the text I get a selection cursor and
can select text. From section 10.16 of the SVG spec it seems like text
selection should not be possible on the text elements because of the onclick
ou're talking about either JSVGCanvas or JSVGComponent, you can
control whether text selection is enabled by specifying
selectableText=false in the constructor.
Is this the only possibility?
is it possible to turn off text selection in Batik?
...without modifying the source code?
Thanks for the quick response!
> If you're talking about either JSVGCanvas or JSVGComponent, you can
> control whether text selection is enabled by specifying
> selectableText=false in the constructor.
Is this the only possibility?
> > is it possible to turn off tex
If you're talking about either JSVGCanvas or JSVGComponent, you can
control whether text selection is enabled by specifying
selectableText=false in the constructor.
Barbisch, Martin wrote:
Hello all,
is it possible to turn off text selection in Batik?
Thanks,
M
Hello all,
is it possible to turn off text selection in Batik?
Thanks,
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
(not sure if this message got
through the first time...)
Hi,
I hope
this could be a trivial problem for someone on the list, because it’s not
for me.
I am
trying to use SVGTextElement methods getStartPositionOfChar and getCharNumAtPosition to find out
which character in a string
> java.lang.RuntimeException: !!!
> SVGOMTextContentElement.getStartPositionOfChar()
> at
> org.apache.batik.dom.svg.SVGOMTextContentElement.getStartPositionOfChar(
> Unknown Source)
> at
> svgstuff.SVGTextSelectTest$OnMouseClick.handleEvent(SVGTextSelectTest.ja
> va:155)
>
Hi,
I hope this could be a trivial problem for someone on the list,
because it's not for me.
I am trying to use SVGTextElement methods getStartPositionOfChar and
getCharNumAtPosition to find out which character in a string was clicked
on (code below). The only thing I get though is a runtim
19 matches
Mail list logo