Comments (5)
The bug report has been evaluated now, so here's the link for anyone who wants to follow its progress: https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8315653
from richtextfx.
I have reported the bug to Oracle's bug database now. I also discovered "த" + "文".repeat(32_001) + "b"
is rendered as தb
, unlike "த" + "a".repeat(32_001) + "b"
, which is rendered த
.
from richtextfx.
This happens with TextArea as well, so I think it's a limitation of Text nodes and probably has something to do with the number of Unicode characters allowed.
I'm guessing that with just plain characters, Text can handle 64K characters but if there's a single Unicode character then it halves to 32K.
Each style is split into its own Text node, so that's why the workaround works when you add a style at 32K.
from richtextfx.
Ah, I didn't notice it was a bug in TextArea
as well. I also tested with a Text
node and the behaviour is the same.
I'm not sure what you mean by "Unicode characters", but other characters with higher code points (such as 文
) don't trigger the bug. No matter how many characters are in the segment I can't get the bug to occur unless த
or one of the other specific characters I know of are used. All of the above is true with Text
and TextArea
as well.
from richtextfx.
Great :-)
from richtextfx.
Related Issues (20)
- Question: How to move selected code right/left using Tab/Shift+Tab? HOT 3
- Question: How to show vertical lines in CodeArea for indentations? HOT 6
- Question: How to set selection color via code or CSS? HOT 4
- Question: how I can use InlineCssTextField with multiple color and pattern text please HOT 3
- Question: codeArea.removeSelection delayed display HOT 1
- CodeArea seems to intercept the input method, preventing it from being passed to other TextFields.
- Remove null character at end of pasted string
- JDK8 project HOT 1
- Question: is it possible to disable scrolling to bottom on appending text? HOT 2
- Question: How to set background color for current line/paragraph using CSS? HOT 4
- Question: Is possible to detect when INSERT mode is used? HOT 16
- Question: How to make wave underline? HOT 4
- Question: What is the strategy to implement Highlight All for found matches for modifiable text? HOT 5
- Question: Getting font size of the CodeArea HOT 3
- Question: when to use StyleSpans? HOT 8
- Bug: Observer is not removed from richChanges() HOT 3
- Question: how to get real size of one span at position X? HOT 15
- Code building fails on Ubuntu HOT 2
- How to remove all styles from undo text? HOT 2
- How to convert absolute position to paragraph/column position? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from richtextfx.