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 Clones share the same UndoManager #249

Closed
wants to merge 10 commits into from
Closed

Make Clones share the same UndoManager #249

wants to merge 10 commits into from

Conversation

JordanMartinez
Copy link
Contributor

See my comments in #233.

@JordanMartinez
Copy link
Contributor Author

With this approach, do these lines that update the caret and selection post-replacement still need to be there?

Edit: Just tested this out myself using CloneDemo. Without those lines, whenever I input text into the area, the caret doesn't move one letter to the write. So, they do need to be there. However, I don't think my test tests if a model's caret position & selection are where they should be.

Conflicts:
	richtextfx/src/main/java/org/fxmisc/richtext/AreaFactory.java
	richtextfx/src/main/java/org/fxmisc/richtext/StyledTextArea.java
	richtextfx/src/main/java/org/fxmisc/richtext/StyledTextAreaModel.java
@JordanMartinez
Copy link
Contributor Author

I'm closing this because I think #251 makes more sense in the long-term.

@JordanMartinez JordanMartinez deleted the betterCloneUndoing branch March 11, 2016 20:26
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