Skip to content

IOOB Exception when hitting backspace #179

@asetty

Description

@asetty

To reproduce the error just press the enter key and then backspace.

    import org.fxmisc.richtext.StyleClassedTextArea;
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    public class App extends Application {

@Override
public void start(Stage primaryStage) throws Exception {

    StyleClassedTextArea ta = new StyleClassedTextArea();
    ta.setPrefSize(600,600);
    ta.setWrapText(true);
    ta.setLayoutX(0);
    ta.setLayoutY(0);

    BorderPane root = new BorderPane(ta);
        primaryStage.setScene(new Scene(root, 600, 600));
        primaryStage.show();


}

public static void main(String[] args) {
    launch(args);
}
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions