Setting FIRST_LINE_INDENT breaks the caret shape, selection shape, and keyboard navigation at the start of paragraph.
To reproduce, use the latest Monkey Tester
https://github.com/andy-goryachev-oracle/MonkeyTest
- select the RichTextArea page
- select the RichTextArea model
- select Control -> Context Menu -> RichTextArea menu
- type in some text, right click and select Paragraph Styles -> First Line Indent -> 50
Observe the following issues:
1. the caret and selection should not be allowed at the left edge of the paragraph on the first line
2. selection of the indentation should not be allowed
3. selection/caret position is off in the whole paragraph by what appears to be one symbol
4. empty paragraph with first line indent has a height of 1 pixel
The current implementation is not good, the real solution depends on JDK-8231014
To reproduce, use the latest Monkey Tester
https://github.com/andy-goryachev-oracle/MonkeyTest
- select the RichTextArea page
- select the RichTextArea model
- select Control -> Context Menu -> RichTextArea menu
- type in some text, right click and select Paragraph Styles -> First Line Indent -> 50
Observe the following issues:
1. the caret and selection should not be allowed at the left edge of the paragraph on the first line
2. selection of the indentation should not be allowed
3. selection/caret position is off in the whole paragraph by what appears to be one symbol
4. empty paragraph with first line indent has a height of 1 pixel
The current implementation is not good, the real solution depends on JDK-8231014
- is blocked by
-
JDK-8231014 Add first line text indent support for javafx.scene.text.TextFlow
-
- Open
-
- relates to
-
JDK-8351982 ☂ RichTextArea (Incubator) Feedback and Bugs in jfx24
-
- Open
-