Bug 136149

Summary: Wish support for editing a macro
Product: [Applications] kig Reporter: Yann Dirson <ydirson>
Component: generalAssignee: Pino Toscano <pino>
Status: REPORTED ---    
Severity: wishlist CC: david.narvaez
Priority: NOR    
Version First Reported In: 0.10.6   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Yann Dirson 2006-10-22 23:09:06 UTC
Version:           0.10.6 (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages
OS:                Linux

It would be great to be able to visualize and edit intermediate steps that build up a macro.  That would be a nice alternative to hand-editing an exported file, which would have the opportunity to immediately validate the user's changes (which hand-editing obviously cannot provide).

This request is not far from #121544, but it is about how the macro output is constructed from its input objects, rather than how the full drawing is built, and the visualizing part could possibly be done by adapting the existing history browser.

Editing would be useful in several circumtances; I have met 2 od them already:
- once I did a mistake in a macro by asking for a line instead of an halfline, and only realized that when testing on other input points.  I rewrote from scratch, but it would have been great to just change that part of the macro
- edit the python code used for an intermediate step (eg. add safety checks for corner cases not anticipated in original code)