-
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
Undo Issues. #51
Comments
This probably has to do with |
Is there a way I can mute the subscription while doing an undo? Is there On Wed, Apr 30, 2014 at 9:03 AM, TomasMikula [email protected]:
|
I'm afraid listening to key events yourself is currently the only way. You can open an issue on UndoFX to be able to observe whether UndoManager is actively performing a change (undo or redo). |
In your subscription, you can now do the following test if(area.getUndoManager().isPerformingAction()) {
return;
} else {
// handle the change
} |
I'll give it a shot now |
Great! works just fine!. To confirm, this is the code I have now.
|
Hi Tomas,
When I undo a a step (applying a style or typing text), the strings come in correctly, but the styles do not. I am trying to figure out what styles it assigns to the text, but can't figure out a consistent pattern yet. Is this working as expected on your end?
Would this have to do with the Subscribe method?
The text was updated successfully, but these errors were encountered: