JDK-8315048 : Add Bullet Property to TextFlow
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2023-08-25
  • Updated: 2023-08-31
  • Resolved: 2023-08-29
Related Reports
Relates :  
Relates :  
Description
Use case: bulleted/numbered lists.

The property should specify a String to be used as a bullet.  (It could be a Character, but what if the user wants to specify an emoji that takes more than one char?) 

This looks like a paragraph-level property, and therefore should be a part of TextFlow.

This feature might depend on JDK-8231014 (first line indent) - see for example how MS Word places the bullet at the first line indent position and the text at the left indent position.
Comments
As a challenge, I suppose this feature can be emulated by injecting a bullet character followed by a TAB, but to do so we still need JDK-8231014 (first line indent).
31-08-2023

I don't think this should be anywhere on TextFlow or Text nor should it be a property. If this is an absolute requirement for rich text with no other way of doing it, then I think the whole design and implementation of rich text needs to go back to the drawing board and not be built on either of the above.
29-08-2023