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

Commitfc8e5af

Browse files
vasily-kirichenkoKevinRansom
authored andcommitted
Fix wrong FSX colorization when #r directives change (dotnet#2521)
* add logging* use TryGetOptionsForDocumentOrProject instead of TryGetOptionsForEditingDocumentOrProject in Classification Service to avoid passing stale options to FCS* Revert "add logging"This reverts commit72b8421.
1 parentd9077c7 commitfc8e5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎vsintegration/src/FSharp.Editor/Classification/ColorizationService.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type internal FSharpColorizationService
3535

3636
memberthis.AddSemanticClassificationsAsync(document:Document,textSpan:TextSpan,result:List<ClassifiedSpan>,cancellationToken:CancellationToken)=
3737
asyncMaybe{
38-
let!options= projectInfoManager.TryGetOptionsForEditingDocumentOrProject(document)
38+
let!options= projectInfoManager.TryGetOptionsForDocumentOrProject(document)
3939
let!sourceText= document.GetTextAsync(cancellationToken)
4040
let!_,_,checkResults= checkerProvider.Checker.ParseAndCheckDocument(document, options, sourceText= sourceText, allowStaleResults=false)
4141
// it's crucial to not return duplicated or overlapping `ClassifiedSpan`s because Find Usages service crashes.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp