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

Make positionCaret package-private #415

Merged
merged 1 commit into from
Jan 16, 2017
Merged

Make positionCaret package-private #415

merged 1 commit into from
Jan 16, 2017

Conversation

JordanMartinez
Copy link
Contributor

Since this may have value beyond what I know for code editors and the like, I have to ask: why did you originally implement this method? Is making this method package private desirable? AFAIK, we're only doing that because many confused moveTo's functionality for positionCaret, since the latter implies that more so than the former.
In my opinion, it would be better to rename moveTo to include "caret" in it (moveCaretTo? moveCaret? caretTo?) and rename positionCaret to include more explanatory details (positionCaretDisconnectedly? positionCaretSeparately?).

@JordanMartinez
Copy link
Contributor Author

For now, I'm going to merge this. We can always expose it later on as a better-named method.

@JordanMartinez JordanMartinez merged commit 84bf47f into FXMisc:master Jan 16, 2017
@JordanMartinez JordanMartinez deleted the positionCaret branch January 16, 2017 17:59
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.

1 participant