Suppose I have a document with a huge number of paragraphs (e.g., 10,000,000+). It makes no sense to add styles to all paragraphs at once for performance reasons. What is the correct approach to:
- Apply styles only when paragraphs become visible (e.g., during scrolling).
- Avoid showing unstyled paragraphs (ensure styles are applied before rendering).
Is there a built-in mechanism in RichTextFX for this, or do I need a custom solution?