File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ You need to run python tests first to make it work.
32
32
# Write-Host "SublimeText scope $($stScopes[$stIndex])"
33
33
34
34
if (-not (Test-ScopeInclosure $_ $stScopes [$stIndex ])) {
35
- # Write-Warning "PowerShell scope not found in SublimeText scopes $_ "
35
+ Write-Host " PowerShell scope not found in SublimeText scopes $_ "
36
36
if (-not (Test-ScopeDisclosure $_ $stScopes [$stIndex ])) {
37
- Write-Error " PowerShell scope $_ overlap with SublimeText scope $ ( $stScopes [$stIndex ]) "
37
+ Write-Warning " PowerShell scope $_ overlap with SublimeText scope $ ( $stScopes [$stIndex ]) "
38
38
$false | Should be $true
39
39
}
40
40
}
Original file line number Diff line number Diff line change @@ -85,12 +85,12 @@ function Test-ScopeDisclosure
85
85
$rightScope
86
86
)
87
87
88
- if ($leftScope.startOffset -le $rightScope.endOffset )
88
+ if ($leftScope.endOffset -le $rightScope.startOffset )
89
89
{
90
90
return $true
91
91
}
92
92
93
- if ($leftScope.endOffset -ge $rightScope.endOffset )
93
+ if ($leftScope.startOffset -ge $rightScope.endOffset )
94
94
{
95
95
return $false
96
96
}
You can’t perform that action at this time.
0 commit comments