Skip navigation
Home/Support/

Forums

1665 Views 4 Replies Latest reply: Feb 28, 2011 5:36 PM by beimon RSS
richardleggettmk User 35 posts since
Nov 5, 2003
Currently Being Moderated

Apr 28, 2010 7:29 AM

Has text selection changed?

I'm not sure if it's just me going mad, but....

 

Imagine a container with the following 2 TextLines, the vertical pipes (|) are meant to represent the bounds of the container so please assume these are aligned:

 

|Line one is longer|

|Line two             |

 

In my code I set the interactionManager to allow editing of the text.

 

When I move my mouse over any of the text I get the text caret cursor, I can click to drag select text, right click to get the relevant context menu ("select all" etc). When I move my mouse in the blank area to the right of the text "Line two", you get no text caret cursor, the TextLine's bounds simply don't extend into this area so the "edit" context menu is not applied.

 

This makes text selection very awkward, now you have to find the 1 pixel wide point after the last character to begin to select all the previous text.

 

Has something changed recently? 

  • rdermer Adobe Employee 695 posts since
    Jun 6, 2008
    Currently Being Moderated
    1. Apr 29, 2010 2:46 PM (in response to richardleggettmk)
    Re: Has text selection changed?

    Not that I'm aware of.  This doesn't duplicate in our testing.

     

    TLF does rely on drawing a transparent background into the Sprite.graphics.  Are you clearing that?

     

    Richard

  • EladElrom User 28 posts since
    Sep 20, 2006
    Currently Being Moderated
    3. Dec 16, 2010 7:57 PM (in response to richardleggettmk)
    Re: Has text selection changed?

    Nice implementation... here's another implementation I have done for using with TLF and openning a popup to spell check and returning the the results while keeping all the TLF properties:

    http://elromdesign.com/blog/2010/12/16/implementing-squiggly-spell-che ck-for-tlf-text-layout-framework-text-inputs/

  • beimon User 94 posts since
    Sep 23, 2009
    Currently Being Moderated
    4. Feb 28, 2011 5:36 PM (in response to EladElrom)
    Re: Has text selection changed?

    Hi EladElrom,

     

    I was not able to click on your link above, but wanted to let you know that Squiggly 0.5 was recently released, and this version comes with native TLF support.  Please let us know if this is something you find useful.

     

    - Bruce, Adobe Squiggly team

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points