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

Commit21538dc

Browse files
committed
capitalization
1 parentb1ee913 commit21538dc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ module internal ClassificationDefinitions =
7878
letsetColors _=
7979
letfontAndColorStorage= serviceProvider.GetService(typeof<SVsFontAndColorStorage>):?> IVsFontAndColorStorage
8080
letfontAndColorCacheManager= serviceProvider.GetService(typeof<SVsFontAndColorCacheManager>):?> IVsFontAndColorCacheManager)
81-
fontAndColorCacheManager.CheckCache( ref VSKnownGuids.TextEditorFontCategory)|> ignore
82-
fontAndColorStorage.OpenCategory(ref VSKnownGuids.TextEditorFontCategory, uint32__FCSTORAGEFLAGS.FCSF_READONLY)|> ignore
81+
fontAndColorCacheManager.CheckCache( ref VSKnownGuids.textEditorFontCategory)|> ignore
82+
fontAndColorStorage.OpenCategory(ref VSKnownGuids.textEditorFontCategory, uint32__FCSTORAGEFLAGS.FCSF_READONLY)|> ignore
8383

8484
letformatMap= classificationformatMapService.GetClassificationFormatMap(category="text")
8585
for ctype,(light, dark)in colorDatado

‎vsintegration/src/FSharp.LanguageService/FSharpSource.fs‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ type internal FSharpSourceTestable
181181
lastDependencies.Clear()
182182

183183
moduleinternalVSKnownGuids=
184-
letStatementCompletionFC= Guid"C1614BB1-734F-4a31-BD42-5AE6275E16D2"// GUID_StatementCompletionFC
185-
letTextEditorFontCategory= Guid"A27B4E24-A735-4d1d-B8E7-9716E1E3D8E0"// Guid for the code editor font and color category. GUID_TextEditorFC
184+
letstatementCompletionFC= Guid"C1614BB1-734F-4a31-BD42-5AE6275E16D2"// GUID_StatementCompletionFC
185+
lettextEditorFontCategory= Guid"A27B4E24-A735-4d1d-B8E7-9716E1E3D8E0"// Guid for the code editor font and color category. GUID_TextEditorFC
186186

187187
[<AllowNullLiteralAttribute>]
188188
typeinternalVSFontsAndColorsHelperprivate(fontFamily,pointSize,excludedCodeForegroundColorBrush,backgroundBrush)=
189189
static letCompute(site:System.IServiceProvider)=
190190
UIThread.MustBeCalledFromUIThread()
191191
letvsFontAndColorStorage= site.GetService(typeof<SVsFontAndColorStorage>):?> IVsFontAndColorStorage
192-
vsFontAndColorStorage.OpenCategory(ref VSKnownGuids.TextEditorFontCategory,(uint32__FCSTORAGEFLAGS.FCSF_LOADDEFAULTS)|||(uint32__FCSTORAGEFLAGS.FCSF_NOAUTOCOLORS)|||(uint32__FCSTORAGEFLAGS.FCSF_READONLY))|> ignore
192+
vsFontAndColorStorage.OpenCategory(ref VSKnownGuids.textEditorFontCategory,(uint32__FCSTORAGEFLAGS.FCSF_LOADDEFAULTS)|||(uint32__FCSTORAGEFLAGS.FCSF_NOAUTOCOLORS)|||(uint32__FCSTORAGEFLAGS.FCSF_READONLY))|> ignore
193193
letitemInfo:ColorableItemInfo[]= Array.zeroCreate1
194194
vsFontAndColorStorage.GetItem("Excluded Code", itemInfo)|> ignore
195195
letfgColorInfo= itemInfo.[0].crForeground
@@ -202,7 +202,7 @@ type internal VSFontsAndColorsHelper private(fontFamily, pointSize, excludedCode
202202
letcolor= System.Windows.Media.Color.FromArgb(winFormColor.A, winFormColor.R, winFormColor.G, winFormColor.B)
203203
letbackgroundBrush=new System.Windows.Media.SolidColorBrush(color)
204204
vsFontAndColorStorage.CloseCategory()|> ignore
205-
vsFontAndColorStorage.OpenCategory(ref VSKnownGuids.StatementCompletionFC,(uint32__FCSTORAGEFLAGS.FCSF_LOADDEFAULTS)|||(uint32__FCSTORAGEFLAGS.FCSF_NOAUTOCOLORS)|||(uint32__FCSTORAGEFLAGS.FCSF_READONLY))|> ignore
205+
vsFontAndColorStorage.OpenCategory(ref VSKnownGuids.statementCompletionFC,(uint32__FCSTORAGEFLAGS.FCSF_LOADDEFAULTS)|||(uint32__FCSTORAGEFLAGS.FCSF_NOAUTOCOLORS)|||(uint32__FCSTORAGEFLAGS.FCSF_READONLY))|> ignore
206206
letfontInfo:FontInfo[]= Array.zeroCreate1
207207
vsFontAndColorStorage.GetFont(null, fontInfo)|> ignore
208208
letfontFamily= fontInfo.[0].bstrFaceName

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp