-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexOutOfBounds in certain situations. #1
Comments
Bug 3
|
Hi @SKeeneCode glad this has helped you and thank you for reporting the issues above, I have submitted a PR that addresses all of them. Note that IndentSegment was an experimental feature that arose out of RichTextFX #840, and I'm not confident that it is actually the way this feature should be added. That being said I do use the StyledSegmentTextArea in my production code for displaying LabelSegments. |
Thanks for the quick fix! Unfortunately I did find another :) If you place the caret on an empty line, press enter -> delete -> enter -> delete -> IndexOutOfBounds I thought the indents might make a good base to implement bullet point lists. However I see that there is an implementation of bullet point lists in the rich text demo so I'll have a look at that. |
Hi, I'm not sure but maybe my last fix solved this issue too - FXMisc/Flowless#92 - I had also problems with |
Firstly, this repository is great, and has been amazing help. I've been rewriting it in kotlin for my project and has been huge fun. Thank you for putting this together @Jugen its really made RichTextFX accessible for me.
I've come across some bugs when testing, and I've verified the same bugs exist in just plain java.
Bug 1
Steps to reproduce:
Potential Fix (unsure if has undesired consequences)
Change this line
colPos >= pLen-1
tocolPos > pLen-1
Bug 2
No idea on a fix.
The text was updated successfully, but these errors were encountered: