On Tue, 13 Jan 2026 22:31:31 GMT, Andy Goryachev <[email protected]> wrote:
>> Fixes a bug which was reported in >> https://github.com/andy-goryachev-oracle/Test/issues/6#issuecomment-3726867016 >> (introduced by adding IME support >> https://bugs.openjdk.org/browse/JDK-8368478 ) >> >> Adds proper clamping and normalization of selection range within the >> `StyledTextModel`, and replaces the implementation of getText() with the >> standard export(). > > Andy Goryachev has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains six commits: > > - Merge branch 'master' into 8374909.exception > - limit > - lf > - whitespace > - fix > - tests I am not able to reproduce the issue same as in the video : https://github.com/andy-goryachev-oracle/Test/issues/6#issuecomment-3726867016 I am using chinese input (Pinyin - Simplified) and typing some text in RTA and click enter or a number (1-2-3-...) have the same result as in a TextField I could be missing something in the steps to reproduce. Tried it in MonkeyTester and a simple app with both RTA and TextField : @Override public void start(Stage stage) { TextField textField = new TextField(); textField.setPromptText("TextField"); RichTextArea richTextArea = new RichTextArea(); richTextArea.setPrefHeight(200); VBox root = new VBox(10, textField, richTextArea); stage.setScene(new Scene(root, 400, 300)); stage.setTitle("TextField + RichTextArea"); stage.show(); } ------------- PR Comment: https://git.openjdk.org/jfx/pull/2029#issuecomment-3746933314
