Daniel Grunwald
326c460252
OpenedFile: add missing NotifyLoaded() calls.
12 years ago
Daniel Grunwald
2c8229e832
Add back the old AbstractViewContentHandlingLoadErrors
12 years ago
Daniel Grunwald
525f2a243d
Add AbstractViewContentSD1234 for backward compatiblity with existing viewcontents.
12 years ago
Daniel Grunwald
8eedbfed9b
Attempt to port AvalonEditViewContent to new OpenedFile model.
...
Problem: document services now may be shared across multiple views; which is problematic as some code expects ITextMarkerService to be per-view.
Also, editor extensions might not support switching to a different IDocument instance - we should probably Detach + re-Attach extensions to avoid problems.
12 years ago
Daniel Grunwald
157a745ba0
Add IsDirty logic and CanSaveWithEncoding() to TextDocumentFileModelProvider.
12 years ago
Daniel Grunwald
8bb111bc11
Implement new OpenedFile API.
12 years ago
Daniel Grunwald
866f0d57aa
New OpenedFile API based on file models.
12 years ago
Daniel Grunwald
eec385146f
Change LGPL headers to MIT header.
12 years ago
Daniel Grunwald
bb4e74c170
Worked on IProjectService API.
13 years ago
Daniel Grunwald
a224739c79
Replace some WorkbenchSingleton usages with the SD5 API.
13 years ago
Daniel Grunwald
1f43c620d2
Add IWinFormsService interface to wrap ICSharpCode.Core.WinForms.
13 years ago
Daniel Grunwald
05904c8407
Replace ITextEditorProvider with GetService<ITextEditor>().
13 years ago
Daniel Grunwald
6436a028bb
Fixed document service retrieval.
13 years ago
Siegfried Pammer
c580b21697
fix leaked OpenedFile after creation of ViewContent fails, causes exceptions some later actions, see:
...
http://community.sharpdevelop.net/forums/t/15625.aspx
14 years ago
Daniel Grunwald
1c61553dd7
Move remainder of the FileService into interface.
14 years ago
Daniel Grunwald
ab95b18a3f
Refactored parser service.
14 years ago
Daniel Grunwald
5eb2d97b33
Register parsed files in project content.
14 years ago
Daniel Grunwald
e2e52d35d5
Fixed crash when opening an invalid file in the settings editor (using AbstractViewContentHandlingLoadErrors).
14 years ago
Daniel Grunwald
a2add0b62e
WIP
14 years ago
Daniel Grunwald
9c244880fb
WIP: new NRefactory
...
ICSharpCode.SharpDevelop.dll now compiles again, though with tons of commented-out code.
Most AddIns removed from solution, and still plenty of compiler errors left in the remaining AddIns.
14 years ago
Daniel Grunwald
e9079036d7
Fix SD-1740 - Generating same event handler twice in WPF designer
15 years ago
Daniel Grunwald
046dac649d
Fixed NullReferenceException in ICSharpCode.Data.EDMDesigner.Core.IO.SSDLIO.WriteXElement when wizard is cancelled.
15 years ago
Daniel Grunwald
4ef945f0f7
Implemented SD-1457 - Client profile.
...
Now creating or upgrading a project will adjust the <supportedVersion> in the app.config
15 years ago
Daniel Grunwald
f5780c2944
Apply new file headers
15 years ago
Daniel Grunwald
fcaaa81a70
Fixed a possible cause for SD2-1640 - DirectoryNotFoundException when adding source file
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5679 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
017c07888a
Use FileName class for ITextEditor.FileName and OpenedFile.FileName.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5028 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Siegfried Pammer
25354e9011
- reimplemented commands
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/XmlEditor@4156 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
16 years ago
Daniel Grunwald
d83dbd9f16
AvalonEdit Insight Window
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4034 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
3117fd80ec
Patch by Alex Prudkiy: fixed random UnauthorizedAccessException when saving file
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3628 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
d2f3fac28c
Mark HistoryView as IsViewOnly
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3603 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Christian Hornung
0ed5d7cf3d
Re-implemented persisting the state of view contents; the states are now saved in a single file (LastViewStates.xml).
...
Text editor no longer persists folding state because of possible problems when a file is changed externally.
OpenedFile attempts to persist the view state across reloads.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3543 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
56bd533b84
Fixed SD2-1294: Reloading a file should load the file using a FileUtility.ObservedLoad method
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3500 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
98bd9a21e3
Safe saving: don't use temporary file when the destination file does not exist.
...
This ensures that .resx files exist when they are saved, which is required to add them to version control. Fixes forum-6459.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3058 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
17 years ago
Daniel Grunwald
392ef70922
Fixed SD2-1297: Implement "safe saving"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2997 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7e345cff99
Implemented SD2-1296: Watch files for external changes
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2996 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
0333757269
Fixed build.
...
Allow unit testing of view contents by decoupling OpenedFile from FileService and Workbench.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2663 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
7bd9c2a8b6
Fixed SD2-953: Code error is thrown runing a WinForm with the form .resx file opened
...
The forms designer now uses OpenedFile (SD2-1234) to allow sharing unsaved resource files between resource editor and forms designer.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2662 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
467dcdd3a4
Worked on SD2-1234 - added support for view contents that are not editing a file (e.g. project options).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2365 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
15d7aadd27
Worked on SD2-1234: Create common way to handle in-memory representations of files that have multiple views.
...
Removed SharpQuery.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2313 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago