Separated the resource storage management from the DesignerResourceService so that the ResourceStore is persistent for the lifetime of the view content, but the service can be deleted after unloading of the designer. Previously, the DesignerResourceService was automatically disposed on unloading, possibly deleting unsaved resources.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3332 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- Support for NameScopes, Binding
- Remove TreeView dependency from PropertyGrid (now DataTemplates)
- Fixing Outline, XamlFormatter, ME Tokenizer/Parser
- Expremints with EnumBar
Broken:
- BrushEditor (serialization still required)
- XamlObject.XmlElement must be always consistent
(in the case of ME it's detached from real Xml), during parsing too.
TODO: Designer Itself!
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3329 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Documented missing services in DefaultServiceContainer.cs.
Use DesignSurfaceManager for managing multiple open designers and it provides an implementation of IDesignerEventService. Removed our own DesignerEventService which duplicated what is already there.
Add CodeDomProvider and UndoEngine to the service container as they are requested occasionally by the framework.
Improved disposing of the DesignerViewContent.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3327 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Moved common code from all CodeDOM designer loaders to new base class AbstractCodeDomDesignerLoader.
Fixed field change detection for types with type arguments.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3273 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Make WpfDesigner GetBitmapExtension.ProvideValue thread-safe.
Make FileUtility.IsBaseDirectory more efficient.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3142 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed ParserService: two ParseInformations could be created for the same file if the file names were in different case.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3090 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Removed non-generic AddInTree.BuildItems method - the generic version should always be used because it provides better error messages when an incorrectly typed node is put into the tree.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3067 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
The caret was sometimes updated in OnPaint, which is invalid (Windows temporarily disables carets during WM_PAINT)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3054 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
- Changed caret to custom drawing without WinAPI (not blinking anymore)
- Updated changes.txt, added bugs found by Matt Ward
- Improved calculation methods GetOffsetForPosition and GetPositionForOffset -> setting of the position of caret is much easier now.
- Improved drawing methods, removed GC.Collect() call at the end of drawing -> faster.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2995 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed page up/page down in text editor: confusion between character and pixel coordinates caused caret to move to the wrong column.
Fixed crash when StartProgram or WorkingDirectory were invalid paths.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2990 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61