Re: Can't get selectionAnchorPosition to work

2016-10-04 Thread kamcknig
How would I be able to get the selection before then? Is there an event
fired when a selection occurs?

Oh jeez. As I'm typing this I looked it up and there is a SelectionEvent.
Not sure how I missed that. Thank you much!


Kyle McKnight
Senior UI Engineer - Accesso
602.515.1444 (M)

On Tue, Oct 4, 2016 at 3:12 PM, Josh Tynjala [via Apache Flex Users] <
ml-node+s246n13732...@n4.nabble.com> wrote:

> It should be different before your hit backspace, but after, no characters
> will be selected, so they'll be equal.
>
> - Josh
>
> On Oct 4, 2016 12:02 PM, "kamcknig" <[hidden email]
> <http:///user/SendEmail.jtp?type=node=13732=0>> wrote:
>
> > Maybe I'm misunderstanding what it's supposed to do, but if i select a
> > block
> > of text with the mouse with the following code and then hit the
> backspace
> > key, the selectionActiveIndex is always equal to the
> selectionAnchorIndex.
> > I
> > also tried the change event with the same results, and the textInput
> event
> > but that doesn't get fired with backspace
> >
> >
> >
> >
> >
> > --
> > View this message in context: http://apache-flex-users.
> > 246.n4.nabble.com/Can-t-get-selectionAnchorPosition-
> > to-work-tp13731.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flex-users.246.n4.nabble.com/Can-t-
> get-selectionAnchorPosition-to-work-tp13731p13732.html
> To unsubscribe from Can't get selectionAnchorPosition to work, click here
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code=13731=a2FtY2tuaWdAZ21haWwuY29tfDEzNzMxfC0xNTg3MjQ1NTM4>
> .
> NAML
> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer=instant_html%21nabble%3Aemail.naml=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Can-t-get-selectionAnchorPosition-to-work-tp13731p13733.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Can't get selectionAnchorPosition to work

2016-10-04 Thread Josh Tynjala
It should be different before your hit backspace, but after, no characters
will be selected, so they'll be equal.

- Josh

On Oct 4, 2016 12:02 PM, "kamcknig"  wrote:

> Maybe I'm misunderstanding what it's supposed to do, but if i select a
> block
> of text with the mouse with the following code and then hit the backspace
> key, the selectionActiveIndex is always equal to the selectionAnchorIndex.
> I
> also tried the change event with the same results, and the textInput event
> but that doesn't get fired with backspace
>
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Can-t-get-selectionAnchorPosition-
> to-work-tp13731.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Can't get selectionAnchorPosition to work

2016-10-04 Thread kamcknig
Maybe I'm misunderstanding what it's supposed to do, but if i select a block
of text with the mouse with the following code and then hit the backspace
key, the selectionActiveIndex is always equal to the selectionAnchorIndex. I
also tried the change event with the same results, and the textInput event
but that doesn't get fired with backspace





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Can-t-get-selectionAnchorPosition-to-work-tp13731.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.