File tree 3 files changed +5
-5
lines changed
modules/jfx.incubator.richtext/src/main/java
com/sun/jfx/incubator/scene/control/richtext
jfx/incubator/scene/control/richtext
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 74
74
| shortcut-A | | SELECT_ALL |
75
75
| ctrl-BACK_SLASH | linux, win | DESELECT |
76
76
|BACKSPACE | |BACKSPACE |7
77
- | ctrl-BACKSPACE | linux, win | DELETE_WORD_NEXT_START |
78
- |option-BACKSPACE |mac |DELETE_WORD_NEXT_START |7
77
+ | ctrl-BACKSPACE | linux, win | DELETE_WORD_PREVIOUS |
78
+ |option-BACKSPACE |mac |DELETE_WORD_PREVIOUS |7
79
79
|shift-BACKSPACE | |BACKSPACE |7
80
80
|shortcut-BACKSPACE |mac |DELETE_PARAGRAPH_START |7, mac only
81
81
| shortcut-C | | COPY |
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2023, 2024 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -102,7 +102,7 @@ public class Params {
102
102
public static final double PREF_HEIGHT = 176 ;
103
103
104
104
/** default preferred width */
105
- public static final double PREF_WIDTH = 176 ;
105
+ public static final double PREF_WIDTH = 480 ;
106
106
107
107
/** scroll bars block increment, fraction of view width/height (between 0.0 and 1.0). */
108
108
public static final double SCROLL_BARS_BLOCK_INCREMENT = 0.05 ;
Original file line number Diff line number Diff line change 112
112
* <pre>{@code
113
113
* SimpleViewOnlyStyledModel m = new SimpleViewOnlyStyledModel();
114
114
* // add text segment using CSS style name (requires a stylesheet)
115
- * m.addWithStyles ("RichTextArea ", "HEADER");
115
+ * m.addWithStyleNames ("RichTextArea ", "HEADER");
116
116
* // add text segment using inline styles
117
117
* m.addWithInlineStyle("Demo", "-fx-font-size:200%; -fx-font-weight:bold;");
118
118
* // add newline
You can’t perform that action at this time.
0 commit comments