Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Some modification enabling undo/redo #18

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

BlackFoundry
Copy link

!! Required for our TruFont Pull Request !!
Please review and merge.

JeremieHornus and others added 21 commits October 24, 2018 15:14
In endGroupUndo, add parameters for final snapshot
Change init attrib to True for the select attrib of each class
See theutil/clipboard.py
May be rewrite the guidelines part ?
Because there is a bug in paste function
1 - change type variable of '_undo' : bool to dict to save first snaphot in a dict with e key
Add a positinnal param group_name to beginUndoGroup and endUndoGroup
… so that selected attribute is serialized. Point's selected attribute is serialized
First - append object
And rename method beginUndoGroup as beginUndo, endUndoGroup to endUndo
in selection: looking for point with a loop with a generator and a break when point is finded
@adrientetar
Copy link
Member

Can you please

  • make one commit per feature or change
  • explain in the commit description what/why the change esp. when it's not obvious
  • remove debug comments/logging

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants