Editor
Editor copied to clipboard
Design API for "complex" event commands
From an editor point of view there are two types of event commands:
Basic event commands: The event only operates on there data (Currently the API only supports this)
There are two types of complex commands:
E.g. Message Command & Comment
- The commands following the main command are lines belonging to it
E.g. Branches
- They can add/delete if/else branches directly after the command
Main problem here is that the widget that shows the EventCommands is very fragile. It takes pointers to event commands for each item in the tree. So a complex manipulation will have many dangling pointers and crash sooner or later. So before solving this the Event command widget must be refactored.