File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ namespace ts {
9494
9595 // The spans in this text chunk that we think are of interest and should be matched
9696 // independently. For example, if the chunk is for "UIElement" the the spans of interest
97- // correspond to "U", "I" and "Element". If "UIElement" isn't found as an exaxt , prefix.
97+ // correspond to "U", "I" and "Element". If "UIElement" isn't found as an exact , prefix.
9898 // or substring match, then the character spans will be used to attempt a camel case match.
9999 characterSpans : TextSpan [ ] ;
100100 }
@@ -168,7 +168,7 @@ namespace ts {
168168
169169 for ( let i = dotSeparatedSegments . length - 2 , j = candidateContainers . length - 1 ;
170170 i >= 0 ;
171- i -- , j -- ) {
171+ i -= 1 , j -= 1 ) {
172172
173173 const segment = dotSeparatedSegments [ i ] ;
174174 const containerName = candidateContainers [ j ] ;
@@ -581,9 +581,10 @@ namespace ts {
581581 for ( let i = 0 ; i < pattern . length ; i ++ ) {
582582 const ch = pattern . charCodeAt ( i ) ;
583583 if ( isWordChar ( ch ) ) {
584- if ( wordLength ++ === 0 ) {
584+ if ( wordLength === 0 ) {
585585 wordStart = i ;
586586 }
587+ wordLength ++ ;
587588 }
588589 else {
589590 if ( wordLength > 0 ) {
You can’t perform that action at this time.
0 commit comments