Ran C# Script, Auto-Rollback did not work #1258
-
I ran a C# script to create partitions. There is a little tooltip (confusing) that says ctrlz will undo. It did NOT undo. In fact all it did was ERASE the contents of the C# window! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
confusing to me, but perhaps not others. I have to move off the C# page and onto the table i created the partitions and then use ctrl z. |
Beta Was this translation helpful? Give feedback.
Everything you describe is by design. Auto-rollback is a toggle option. If enabled, Tabular Editor will undo the changes made by the script, if the script fails.
If the script completes successfully, you can undo it. However, CTRL+Z sends an “Undo” command to the view in focus. When the script itself is focused, that will just undo the last edit (e.g. if you just pasted some code in the script editor, the code will disappear). So you either need to change focus to the TOM Explorer, or another non-code editor view, or use the Global undo command, accessible through the Edit menu.