Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-18Fix: Remove all users of EnableNewEditor preferencesSandy Armstrong
2019-09-18Fix: Remove support for BOTH editorsSandy Armstrong
On Mac, remove legacy editor's display binding. Do all work through modern editor's display binding. Now "open with" submenu will only show "Source Code Editor", which will either be legacy or modern based on whatever's picked by the display binding. It is no longer possible to edit C# with legacy editor.
2019-09-18New Editor: Improve wording, especially in preferencesSandy Armstrong
* Refer to new editor as "modern editor", and fix several places where it was still called the "experimental new editor". * Refer to old editor as "legacy editor". * Remove link to "learn more about the New Editor", as the aka has not been maintained and there is no useful documentation page right now. * Change the "Open C# files in the New Editor" preference to read "Use the legacy text editor where available (not recommended)", and invert its effect. Move this preference to the end of its section. In an upcoming commit, this will be the only way to enable the legacy editor in preferences, and it will only work for file types that explicitly maintain legacy editor support. Users will continue to be able to use the "Open With" menu to pick the editor they prefer at that time.
2019-09-12[Ide] Add some .Ignore calls to WatchDirectories calls to look for exceptionstherzok
This should help investigate issues like #980470 - Deadlock in FileWatcherService.WatchDirectories From the looks of the code, there is no way for a deadlock to happen, as the async code is not re-entrant.
2019-08-16Fixes VSTS Bug 958254: System.NullReferenceException exception inMike Krüger
MonoDevelop.Ide.Editor.TextEditor.get_FileName() https://devdiv.visualstudio.com/DevDiv/_workitems/edit/958254
2019-07-03Fixes issue #6333 Analyzers not retriggered on editorconfig changeMike Krüger
2019-06-28Merge pull request #8019 from mono/dev/rigibson/update-roslynAaron Bockover
Bump Roslyn to 3.2.0-beta4-19324-01
2019-06-26Legacy Editor: Use feature service to disable async completionSandy Armstrong
See https://github.com/dotnet/roslyn/pull/36584
2019-06-25[Ide] Fix state corruption with new-document-model and old editorJérémie Laval
The controller for the old editor didn't properly synchronize the value of HasUnsavedChanges with the internal textEditor dirty flag. This would cause normal saves of the model to perpetuate a state where the editor controller's HasUnsavedChanges flag would never get reset to true because the internal dirty state would have been kept back.
2019-06-20TextViewContent: Show column rulers, including new editorconfig valueSandy Armstrong
Prefer new `rulers` value from editorconfig, which allows setting multiple vertical rulers (like in vscode). Then, check `max_line_length` like the old editor does. Finally, use the VSmac preference/policy system. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/798040
2019-06-11[Ide] Use correct cancelation token in OnGetViewControlAsync.Mike Krüger
2019-06-11[Ide] Set the style parent correctly on initialize.Mike Krüger
Formatting settings may be messed up - this sets the correct ones on load. The new document model changes caused to set wrong editor settings on load.
2019-06-11[Ide] Fix encoding enforcing in old editor.Mike Krüger
Encoding needs to be == null for encoding auto detection to work. The doc model change forced to be every file UTF-8 with bom.
2019-05-31[Editor] Fixed failing unit tests.Mike Krüger
2019-05-29Fixes VSTS Bug 897623: Unable to save changes after undoing changesMike Krüger
for reloaded file https://devdiv.visualstudio.com/DevDiv/_workitems/edit/897623 This patch profits from the changes made for bug 866898 therefore adding it to that PR.
2019-05-27[Ide] Fixed unsaved/dirty bug caused by the IsDirty set.Mike Krüger
Setting that on the lower levels in the editor layers works.
2019-04-29[VBNetBinding] Fixed creation of VB.NET TypeSystem.Mike Krüger
VB.NET highlighting broke - the creation of the VB.NET type system & extension chain broke. I fixed that but syntax highlighting is not working. Syntax highlighting is now done with our new editor implementation. The IAccurateClassifier implemenatiton doesn't work with VB.NET files as it used to. It's Part of Bug #858121: [Feedback] Unable to change font colors for vb.net by Visual Studio Community 2019 (ver8.0.2) for Mac
2019-04-12Misc fixes for doc/view modelLluis Sanchez
* TextViewContent.TextViewNavigationPoint.cs: Avoid NRE when BuildNavigationPoint is called before the text view is loaded. * TextEditorViewContent.cs: Fixed possible leak. The policy change event always needs to be unsbuscribed, even if the editor has not been yet created. Also removed unused code.
2019-04-12Revert "Misc fixes for doc/view model"Lluis Sanchez
2019-04-11Misc fixes for doc/view modelLluis Sanchez
* TextViewContent.TextViewNavigationPoint.cs: Avoid NRE when BuildNavigationPoint is called before the text view is loaded. * TextEditorViewContent.cs: Fixed possible leak. The policy change event always needs to be unsbuscribed, even if the editor has not been yet created. Also removed unused code. * DesktopService.cs: Initialize the NativeToolkit in the UI thread. In some unit test scenarios the desktop service may be initialized from a background thread.
2019-04-09Merge branch 'new-service-model' into new-doc-modelLluis Sanchez
2019-04-09Merge remote-tracking branch 'xamarin/master-vnext' into new-service-modelLluis Sanchez
2019-04-08Merge pull request #389 from xamarin/pr-sandy-zoomzoomzoomAaron Bockover
Zoom: Persist in new editor, sync with old
2019-04-08Changing configuration value to mark the editor as default.Anže Vodovnik
2019-04-04Zoom: Persist in new editor, sync with oldSandy Armstrong
Zooming in either editor impacts the same configuration setting. Each editor now listens to the setting changing, so it can update in response to changes in the other editor. Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/824320
2019-04-02Merge branch 'new-service-model' into new-doc-modelLluis Sanchez
2019-04-02Merge remote-tracking branch 'xamarin/master-vnext' into new-service-modelLluis Sanchez
2019-03-29Implement command routing for document controller extensionsLluis Sanchez
And fix an NRE.
2019-03-27[Editor] Line number margin should default to trueMarius Ungureanu
This fixes the default for the editor line number margin being false Fixes VSTS #830060 - [Regression] Default preference for line number margin changed to "off"
2019-03-27Fix open document registration in RoslynLluis Sanchez
Open documents are not automatically registered/unregistered on DocumentOpen/Close. Text editor implementations must explicitly call the new RegisterOpenDocument method to register open documents, and dispose the returned registration when done. Registration can be done at any time, even before a solution is loaded. The type system will take care of informing about open documents when a solution is loaded. Document registrations are refcounted, so different views using the same buffer can register an open document twice and the type system will unregister it after the last reference is disposed. Remove all ad-hoc handling code. The old editor now uses the miscellaneous workspace. Also removed some unused code.
2019-03-26Fix editor creation issueLluis Sanchez
2019-03-25New model for focus/unfocus eventsLluis Sanchez
Added Focused/Unfocused events, and ContentShown/Hidden events to DocumentView and DocumentController.
2019-03-25Fix new editor initialization issueLluis Sanchez
Make sure the new editor extension is registered before the legacy editor.
2019-03-21Track API changesLluis Sanchez
2019-03-21Merge branch 'new-service-model' into new-doc-modelLluis Sanchez
2019-03-21Merge remote-tracking branch 'xamarin/master-vnext' into new-service-modelLluis Sanchez
2019-03-15Fixes VSTS Bug 806781: Beachball on solution search when it has largeMike Krüger
JavaScript files https://devdiv.visualstudio.com/DevDiv/_workitems/edit/806781 This does not really fix the problem - it shadows it a bit. The line is 1.8MB long - highlighting that with the current text mate engine is problematic. However even sublime text refuses to try to highlight such long lines. But it shows a pango rendering error as well which can't be fixed. But it no longer breaks the VS4MAC editor in a dead-lock like situation. However may be a good test for the new editor.
2019-03-14Remove the DiscardChanges method from DocumentLluis Sanchez
It is ambiguous and not really necessary.
2019-03-14DocumentController fixesLluis Sanchez
Fix some issues with HasUnsavedChanges property. Models now have an event to detected changes in that property. However, that event is not used in the old editor since it is not reliable due to how undo/redo operations are implemented. Properly implemented ShowNotification property.
2019-03-08Fix document extension issuesLluis Sanchez
Fixed issues with OnContentChanged and OnOwnerChanged. Those methods are now properly called when changes happen in the controller. Also added and fixed tests. Fixed several issues in the GTK designer.
2019-03-07Fixes VSTS Bug 807807: Tab width not respectedMike Krüger
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/807807 The former implementation did not only respect the Indent/TabSize setting correcttly - it did overwrite configuration properties with policy style settings.
2019-03-06Fix several issues with document extensionsLluis Sanchez
And add unit tests
2019-03-02Allow setting UseAsyncCompletion per view.Kirill Osenkov
Use the new completion in the new editor and old completion in the old editor. We have to hack into Roslyn's IAsyncCompletionService to set the private field accordingly because they don't support setting it per view. See related https://github.com/dotnet/roslyn/issues/33807
2019-02-28VSTS 801818: DefaultSourceEditorOptions: return false for WrapLinesAaron Bockover
The old editor apparently still attempts to do something when WrapLines returned true. When we introduced word wrapping in the new editor, the property changed from a boolean to a flags enum. For compatibility we plumbed the old WrapLines property through to the new WordWrapStyle property. This was a bad assumption and introduced VSTS #801818. Apparently the old editor may have at some point tried to implement word wrapping and has been respecting the preference all along but it has been dormant for 6 years since it was disabled in the preferences UI. The deprecated WrapLines property will again always return false, fully disconnecting it from the preferences UI. https://devdiv.visualstudio.com/DevDiv/_workitems/edit/801818
2019-02-26VSTS 790220: do not move caret on select-allAaron Bockover
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/790220
2019-02-26TextEditor: Improve the enable/disable editor UXAaron Bockover
When toggling the new editor on or off, if there are files open in the workbench, offer to close them all. Hook up the preview commands for disabling the editor, learning more about the new editor, and reporting issues.
2019-02-25Merge branch 'new-service-model' into new-doc-modelLluis Sanchez
2019-02-25Merge remote-tracking branch 'origin/master' into new-service-modelLluis Sanchez
2019-02-22Merge pull request #227 from xamarin/dev/davidk/indentionGuidesDavid Karlaš
Map settings and colors for Indention guides
2019-02-22Map settings and colors for Indention guidesDavid Karlaš