This repository was archived by the owner on Sep 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 269269 <DataGrid Name =" ErrorResultGrid" Grid.Column=" 0" HorizontalAlignment =" Stretch" VerticalAlignment =" Stretch" IsReadOnly =" True"
270270 SelectionMode =" Single" AutoGenerateColumns =" False" SelectionChanged =" ErrorResultGrid_SelectionChanged" >
271271 <DataGrid .Columns>
272- <DataGridTextColumn x : Name =" MenuC_FileName" Header =" File Name" Width =" 7*" Binding =" {Binding file }" />
273- <DataGridTextColumn x : Name =" MenuC_Line" Header =" Line" Width =" 1*" Binding =" {Binding line }" />
274- <DataGridTextColumn x : Name =" MenuC_Type" Header =" Type" Width =" 2*" Binding =" {Binding type }" />
275- <DataGridTextColumn x : Name =" MenuC_Details" Header =" Details" Width =" 9*" Binding =" {Binding details }" />
272+ <DataGridTextColumn x : Name =" MenuC_FileName" Header =" File Name" Width =" 7*" Binding =" {Binding File }" />
273+ <DataGridTextColumn x : Name =" MenuC_Line" Header =" Line" Width =" 1*" Binding =" {Binding Line }" />
274+ <DataGridTextColumn x : Name =" MenuC_Type" Header =" Type" Width =" 2*" Binding =" {Binding Type }" />
275+ <DataGridTextColumn x : Name =" MenuC_Details" Header =" Details" Width =" 9*" Binding =" {Binding Details }" />
276276 </DataGrid .Columns>
277277 </DataGrid >
278278 </Grid >
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ private async void Compile_SPScripts(bool compileAll = true)
111111 var stringOutput = new StringBuilder ( ) ;
112112 var errorFilterRegex =
113113 new Regex (
114- @"^(?<file >.+?)\((?<line >[0-9]+(\s*--\s*[0-9]+)?)\)\s*:\s*(?<type >[a-zA-Z]+\s+([a-zA-Z]+\s+)?[0-9]+)\s*:(?<details >.+)" ,
114+ @"^(?<File >.+?)\((?<Line >[0-9]+(\s*--\s*[0-9]+)?)\)\s*:\s*(?<Type >[a-zA-Z]+\s+([a-zA-Z]+\s+)?[0-9]+)\s*:(?<Details >.+)" ,
115115 RegexOptions . Compiled | RegexOptions . ExplicitCapture | RegexOptions . Multiline ) ;
116116
117117 // Loops through all files to compile
@@ -198,10 +198,10 @@ await this.ShowMessageAsync(Program.Translations.GetLanguage("SPCompNotStarted")
198198 {
199199 ErrorResultGrid . Items . Add ( new ErrorDataGridRow
200200 {
201- File = mc [ j ] . Groups [ "file " ] . Value . Trim ( ) ,
202- Line = mc [ j ] . Groups [ "line " ] . Value . Trim ( ) ,
203- Type = mc [ j ] . Groups [ "type " ] . Value . Trim ( ) ,
204- Details = mc [ j ] . Groups [ "details " ] . Value . Trim ( )
201+ File = mc [ j ] . Groups [ "File " ] . Value . Trim ( ) ,
202+ Line = mc [ j ] . Groups [ "Line " ] . Value . Trim ( ) ,
203+ Type = mc [ j ] . Groups [ "Type " ] . Value . Trim ( ) ,
204+ Details = mc [ j ] . Groups [ "Details " ] . Value . Trim ( )
205205 } ) ;
206206 }
207207
You can’t perform that action at this time.
0 commit comments