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

Undo button cancels any action made after defining an output variable #95

Open
Victorien-V opened this issue Feb 23, 2018 · 0 comments
Open
Labels

Comments

@Victorien-V
Copy link

Victorien-V commented Feb 23, 2018

When we define an output variable, Undo button starts cancelling any action made starting from that point, instead of cancelling only one action at a time.

What steps will reproduce the problem?

  1. Launch Unitex with any language
  2. Create a new graph with FSGraph > New
  3. Create an empty box using the "Create new box" button
  4. Link boxes from starting node to your box and from your box to end node using "Normal editing mode"
  5. Select your new box
  6. Surround it with an output variable by clicking the "Surround box selection with an output variable" button, choose any name for your variable
  7. Create a new empty box using the "Create new box" button
  8. Click the "Undo" button

What is the expected output?

Undo button should cancel only the last action (Create new box).

What do you see instead?

Undo button cancels all the actions made after clicking "Surround box selection with an output variable" button, including "Surround box selection with an output variable" itself.

More info

  • Unitex/GramLab IDE version: 3.2.56-alpha
  • UnitexToolLogger version: 3.2.57-alpha
@Victorien-V Victorien-V changed the title Undo button cancels any action made after the addition of an output variable Undo button cancels any action made after adding an output variable Feb 23, 2018
@Victorien-V Victorien-V changed the title Undo button cancels any action made after adding an output variable Undo button cancels any action made after defining an output variable Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants