Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 7. Text and TextFlows > Highlight the Last Character in a TextFlow

recipe 7.18. Highlight the Last Character in a TextFlow

7.18.1. Problem

You want to find the last displayed character in a TextArea component.

7.18.2. Solution

Locate the last TextLine instance in the TextFlow and use the atomCount property to retrieve the bounds of the last atom in the TextFlow.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint