-
Notifications
You must be signed in to change notification settings - Fork 236
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
Open up access to CharacterHit for subclasses of StyledTextArea #221
Conversation
Hmm, I haven't noticed that |
It's public even before the skin removal process. Should I make both the class and its constructor package private in this branch or via a new one? |
It's changed to public in this commit: 0ae84c2 |
Either way ;) |
…iginally made in commit "0ae84c25936bdb285434ecc96564f0b1f946221d"
However, now that it's inside the Edit: actually... I guess that wouldn't make sense because if it wasn't public, then it couldn't be accessed by the |
…public now that skin has been removed and this class was moved to richtext package.
@@ -677,7 +677,7 @@ CharacterHit hit(ParagraphBox.CaretOffsetX x, double y) { | |||
} | |||
} | |||
|
|||
CharacterHit hit(double x, double y) { | |||
protected CharacterHit hit(double x, double y) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want this one public and keep the other two package private?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that would be better overall....
I added javadoc that gives an example of what it can do, too. |
Make StyledTextArea.hit(x, y) public.
👍 |
No description provided.