Inkscape::DocumentUndo should be part of SPDocument
Bug #1358808 reported by
Liam P. White
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Inkscape currently has a class separate of SPDocument, called Inkscape:
This is not ideal code design — while Inkscape:
Instead of continuing this behavior, I suggest that Inkscape:
To post a comment you must log in.
The current behavior is to use Inkscape: :DocumentUndo like this:
DocumentUndo: :done(doc, SP_VERB_ CONTEXT_ FOO, _("some-event"));
The suggested behavior would be this:
doc->commit( SP_VERB_ CONTEXT_ FOO, _("some-event"));