- one IParser instance per file
- ITextBuffer provides a method to retrieve changes since the last parse runs
- IParser implementations may choose to use this to implement incremental parsing
- no concurrent calls to the same IParser instance
- one file may be inside multiple projects
- Split out assembly handling to AssemblyParserService
- Split out LoadSolutionProjectsThread to LoadSolutionProjects.cs
See http://laputa.sharpdevelop.net/ParserServiceRefactoring.aspx
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4711 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
The name 'Content' could result in a hard to understand exception 'Specified element is already the logical child of another element. Disconnect it first.' when implementing IOptionPanel in a WPF UserControl. See forum-9233.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4018 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
ClassBrowserIconService now provides both WinForms and WPF images.
Some refactorings are now using the ITextEditor interface.
Started working on bookmark support for AvalonEdit.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3982 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed exception when menu has no subitems.
Fixed opening options dialog.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3923 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Third-party AddIns installed in SharpDevelop/AddIns are now visible in the AddInManager, only AddIns with 'addInManagerHidden="preinstalled"' stay hidden.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3806 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Refactored the ResourceToolkit so that unit testing is possible without properly initializing all the SharpDevelop core services.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3282 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Rewrite partial class support in DefaultProjectContent.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2929 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed using the "Suppress message" command on constructors.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2702 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed SD2-980: VB 'For Each' statement not converted correcly to C#
Text editor: Use TextLocation struct instead of System.Drawing.Point to represent line/column pairs.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2659 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed tooltip + go to definition for the type in property definitions like "public Color Color".
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2496 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Implemented SD2-1237 - Support accessing linked resource files. Resource files that are accessed using a ResourceManager (except the designer generated ones) are now searched in the project instead of directly on disk.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2320 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed resolving of local resource managers (was broken since r2191 because NRefactoryResolver now requires the location to be set on expressions that are parsed with parser.ParseExpression).
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2264 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
In a VB project, the addin now searches the project root folder and all included project folders when looking for a resource file.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2219 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Fixed loading assemblies for code-completion that have multiple modules stored in multiple files (e.g. System.EnterpriseServices)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2165 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
Added ResourceSetReference as a level of abstraction between manifest resource names (or other resource set names) and actual resource files.
The resolvers now return a ResourceSetReference with the resolved resource set name even if the resource file is missing. This may be used in the future to detect missing resource files and to write unit tests for the resolvers without having to create resource files on disk.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2127 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
The resource resolvers now examine expressions more precisely and also take the code completion trigger character into account instead of simply trying to resolve every possible sub-expression.
This saves a few unneeded attempts to resolve expressions and fixes some problems where the resource code completion window opened when it should not, e.g. after typing something like 'ResourceService.GetString("...").Replace('.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2118 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61