JDK-8091562 : Manage individual blocks of text inside a TextArea as if they were a Node
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 7-pool
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2011-11-25
  • Updated: 2023-07-25
  • Resolved: 2023-07-25
Related Reports
Relates :  
Relates :  
Relates :  
Description
Want ability to manage individual blocks of text inside a TextArea as if they were a Node.  For example, if a TextArea contained the text:

"The quick brown fox jumps over the lazy dog"

Want the ability to perform the following effects:

- Animate "fox" with some change in foreground color
- Animate "dog" with some different change in foreground color
- Zoom in on "brown" with some fisheye zoom effect
- Animate "jumps" with some other word in another TextArea

Comments
I would like to close this as won't fix. The requested functionality can already be implemented by a TextFlow with either direct animation of Text attributes or animated changing of styles. As for "Building custom editors with JavaFX should be easy" we have JDK-8301121 .
24-07-2023

Building custom editors with JavaFX should be easy. JavaFX without a Rich Text Control like SWT's StyledText is of no use at all.
19-03-2012

No, I think this is the point of a UI control - to help blend graphics and text together. This will make for much richer GUIs due to the granularity you can control text. Currently all your animations and fancy effects in javafx are great, but they are tied from graphic to graphic.
27-11-2011

Honestly, I think this is a stretch for a UI control. The effort we would have to put into creating - and supporting! - this directly in API on TextArea is not justifiable without a business case beyond "want the ability". More likely some of this would "fall out" of a generic capability to embed an arbitrary node in a RichText control, and then the app could deal with it that way. I recommend to create or find an RFE on that and close this out as a duplicate.
26-11-2011

Consider for future release, possibly as an enhancement to a future Rich Text control.
26-11-2011