Skip to content

Hide caret on focus loss #204

@hwaite

Description

@hwaite

CodeArea's caret should be hidden when control lacks focus.

public class Test extends Application {
    public static void main(String[] args) {launch(args);}

    public void start(Stage pStage) {
        pStage.setTitle("Test");

        final Pane root = new VBox();

        root.getChildren().addAll(
            new CodeArea(), new TextArea(), new TextField()
        );

        pStage.setScene(new Scene(root, 300, 250));
        pStage.show();
    }
}

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