JDK-8348736 : RichTextArea clamp and getText
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: jfx24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-01-27
  • Updated: 2025-02-07
  • Resolved: 2025-01-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx24Fixed
Related Reports
Blocks :  
Relates :  
Description
This ticket addresses minor changes to the RichTextArea feature for inclusion into jfx24, mainly to avoid the re-review of a large submission in JDK-8301121.

The changes:

- StyledTextModel::clamp L559 is incorrect at the end of paragraph
- CodeArea.getText() adds extra newline at the end
Comments
A pull request was submitted for review. Branch: jfx24 URL: https://git.openjdk.org/jfx/pull/1688 Date: 2025-01-29 17:26:03 +0000
29-01-2025

Changeset: 2b5b1132 Branch: master Author: Andy Goryachev <angorya@openjdk.org> Date: 2025-01-29 15:28:50 +0000 URL: https://git.openjdk.org/jfx/commit/2b5b11320087de9b7bb6f330236a5c15eb4cabea
29-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1684 Date: 2025-01-27 22:10:18 +0000
28-01-2025