Skip to content
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

moved ParagraphText specific code from createStyledTextNode() methods to class ParagraphText #617

Merged

Conversation

JFormDesigner
Copy link
Contributor

The moved code is IMHO an implementation detail that belongs to class ParagraphText and not to demos.

As stated in this comment I'm still not sure whether binding TextExt.selectionFill to TextExt.fill makes any sense. I can't see any difference without this binding. In PR #428 I've also removed this binding and replace with binding TextExt.selectionFill to ParagraphText.highlightTextFill, but as long as the JDK is not fixed, styling text color of selection does not work at all...

@JordanMartinez JordanMartinez merged commit b6b4fb6 into FXMisc:master Oct 16, 2017
@JordanMartinez
Copy link
Contributor

Thanks for the PR.

@JordanMartinez
Copy link
Contributor

I forgot to check whether you fix this in the demos as well. I don't think you do in this PR. Sorry about that. That's on me, not you.

@JordanMartinez
Copy link
Contributor

Nevermind the earlier comment. By putting the code in ParagraphText, this affects every area. Sorry once again!

JFormDesigner pushed a commit to JFormDesigner/RichTextFX that referenced this pull request Oct 17, 2017
@JFormDesigner JFormDesigner deleted the createStyledTextNode-cleanup branch October 19, 2017 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants