Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2da66e

Browse files
vasily-kirichenkoKevinRansom
authored andcommitted
rollback changing VS FSI tool window content type because it causes unhandled exception somewhere in VS sources (dotnet#2423)
1 parent293b115 commite2da66e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎vsintegration/src/FSharp.VS.FSI/fsiTextBufferStream.fs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ open Microsoft.VisualStudio.Utilities
2727
//
2828
typeinternalTextBufferStream(textLines:ITextBuffer,contentTypeRegistry: IContentTypeRegistryService)=
2929
doifnull= textLinesthen raise(new ArgumentNullException("textLines"))
30-
do textLines.ChangeContentType(contentTypeRegistry.GetContentType Guids.fsiContentTypeName, Guid Guids.guidFsiLanguageService)
30+
// The following line causes unhandled excepiton on a background thread, see https://github.com/Microsoft/visualfsharp/issues/2318#issuecomment-279340343
31+
// It seems we should provide a Quick Info Provider at the same time as uncommenting it.
32+
33+
//do textLines.ChangeContentType(contentTypeRegistry.GetContentType Guids.fsiContentTypeName, Guid Guids.guidFsiLanguageService)
34+
3135
let mutablereadonlyRegion=null: IReadOnlyRegion
3236

3337
letextendReadOnlyRegion position=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp