Comments (2)
hi, nice to see this.
I'm not sure that using the ConditionalWeakTable replace the dictonary will be OK
//private IDictionary<object, UndoRoot> _Roots;
ConditionalWeakTable <object, UndoRoot> _Roots;
public UndoService()
{
// _Roots = new Dictionary<object, UndoRoot>();
_Roots = new ConditionalWeakTable<object, UndoRoot>();
}
But I will continue using this pacakge, It's wonderful.
Hope it will upgrade soon. I wish the empty changeset issue could be solved too.
from muf.
This should be fixed in PR #8 and the 2.0 release.
I've converted the UndoService to use weak references for the keys.
from muf.
Related Issues (10)
- Limit UndoStack Size HOT 2
- Do not AddChange when change is null HOT 1
- example of batch changes HOT 1
- Collection change minitoring ?
- Allow pre/post changeset actions? HOT 1
- UndoBatch doesn't allow for cancellation of batch HOT 1
- [Q] Any simple usage of Collection undo/redo? HOT 1
- Problems on changes from outside the UI thread: System.InvalidOperationException HOT 2
- How to pause the MUF when some the class under initialization. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from muf.