Skip to content

IndexOutOfBoundsException in RichText demo #449

@clartaq

Description

@clartaq

When changing the font of the entire contents of the demo editor pane, an IndexOutOfBounds exception is thrown in the "JavaFX Application Thread".

Steps to reproduce:

  1. Start the RichText demo (from the pre-built jar or building in Gradle).
  2. Paste the README.md file into the demo.
  3. Select All (Ctrl-A)
  4. Select a different [font size or font family from their respective ComboBox] (edited by Jordan)

Environment:

  • Windows 10 Pro, 64-bit
  • RichTextFX 0.6.10
java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions