Skip navigation
richardleggettmk
Currently Being Moderated

Has text selection changed?

Apr 28, 2010 7:29 AM

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? 

  • Currently Being Moderated
    Adobe Employee
    Apr 29, 2010 2:46 PM

    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

    |
    Mark as:
  • Currently Being Moderated
    Dec 16, 2010 7:57 PM

    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/

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Feb 28, 2011 5:36 PM

    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

    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

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