Undo / Redo of Changes
LLBLGen Pro Standalone
LLBLGen pro comes with full undo / redo support. There are two kinds of undo / redo: global and local.
Global Undo / Redo
The global undo / redo is controlled by the undo / redo buttons in the
tool bar of the designer, or by pressing Ctrl-Shift-Z
for undo
and Ctrl-Shift-Y
for redo. Global undo / redo affects the loaded
project and its contained elements, like entity definitions, mappings
and so on. To differentiate between local undo and global undo, the key
combination for global undo / redo is different from most applications,
which will use a Ctrl-Z
/ Ctrl-Y
combination.
Local Undo / Redo
Local undo / redo is controlled by the key combinations Ctrl-Z
for undo and Ctrl-Y
for redo. Local undo / redo differs from
global undo / redo in that it affects the contents of a UI control, e.g.
a textbox, which isn't yet propagated to the project's contents.
So if you e.g. want to rename an entity and in the entity editor you
change the name of the entity in the textbox, but while typing text you
want to undo your typing (so the change hasn't been made permanent in
the model, the entity hasn't been changed yet), you press control-Z, as
it's a local undo in the textbox. If you already have made the change
permanent, so the entity has already been renamed in the model, you
press Ctrl-Shift-Z
, as you want to undo a change to the model.
As it's not always possible to determine when local undo becomes global undo, we made the distinction.
LLBLGen Pro integrated in Visual Studio
In Visual Studio, LLBLGen Pro uses the global undo / redo shortcuts for
undo/redo: Ctrl-Z
for undo and Ctrl-Y
for redo. The
undo-redo for the text editor switches to Ctrl-Shift-Z
for undo
and Ctrl-Shift-Y
for redo in this case.