Fix PM (#18435) · dotnet/fsharp@d43577c · GitHub
Skip to content

Commit d43577c

Browse files
authored
Fix PM (#18435)
1 parent fdf1bdd commit d43577c

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎src/Compiler/Driver/ScriptClosure.fs‎

Lines changed: 4 additions & 2 deletions

‎vsintegration/src/FSharp.Editor/Common/Extensions.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ type Document with
139139
| hr, _, _, docData, _ when ErrorHandler.Succeeded(hr) && docData <> IntPtr.Zero ->
140140
match Marshal.GetObjectForIUnknown docData with
141141
| :? IVsTextBuffer as ivsTextBuffer ->
142-
match textManager.GetActiveView(1, ivsTextBuffer) with
142+
match textManager.GetActiveView(0, ivsTextBuffer) with
143143
| hr, vsTextView when ErrorHandler.Succeeded(hr) -> Some vsTextView
144144
| _ -> None
145145
| _ -> None

‎vsintegration/src/FSharp.Editor/LanguageService/FSharpProjectOptionsManager.fs‎

Lines changed: 6 additions & 4 deletions

0 commit comments

Comments
 (0)