Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8347305: RichTextArea Follow-up #1671

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc-files/behavior/RichTextAreaBehavior.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
|shortcut-A | |SELECT_ALL |
|ctrl-BACK_SLASH |linux, win |DESELECT |
|BACKSPACE | |BACKSPACE |7
|ctrl-BACKSPACE |linux, win |DELETE_WORD_NEXT_START |
|option-BACKSPACE |mac |DELETE_WORD_NEXT_START |7
|ctrl-BACKSPACE |linux, win |DELETE_WORD_PREVIOUS |
|option-BACKSPACE |mac |DELETE_WORD_PREVIOUS |7
|shift-BACKSPACE | |BACKSPACE |7
|shortcut-BACKSPACE |mac |DELETE_PARAGRAPH_START |7, mac only
|shortcut-C | |COPY |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2023, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -102,7 +102,7 @@ public class Params {
public static final double PREF_HEIGHT = 176;

/** default preferred width */
public static final double PREF_WIDTH = 176;
public static final double PREF_WIDTH = 480;

/** scroll bars block increment, fraction of view width/height (between 0.0 and 1.0). */
public static final double SCROLL_BARS_BLOCK_INCREMENT = 0.05;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
* <pre>{@code
* SimpleViewOnlyStyledModel m = new SimpleViewOnlyStyledModel();
* // add text segment using CSS style name (requires a stylesheet)
* m.addWithStyles("RichTextArea ", "HEADER");
* m.addWithStyleNames("RichTextArea ", "HEADER");
* // add text segment using inline styles
* m.addWithInlineStyle("Demo", "-fx-font-size:200%; -fx-font-weight:bold;");
* // add newline
Expand Down