@@ -237,13 +237,13 @@ export class GitCodeLensProvider implements CodeLensProvider {
237237 let title : string ;
238238 if ( this . _documentIsDirty ) {
239239 if ( this . _config . codeLens . recentChange . enabled && this . _config . codeLens . authors . enabled ) {
240- title = this . _config . strings . codeLens . unsavedChanges . recentChangeAndAuthors ;
240+ title = this . _config . strings . codeLens . unsavedChanges . recentChangeAndAuthors ;
241241 }
242242 else if ( this . _config . codeLens . recentChange . enabled ) {
243- title = this . _config . strings . codeLens . unsavedChanges . recentChangeOnly ;
243+ title = this . _config . strings . codeLens . unsavedChanges . recentChangeOnly ;
244244 }
245245 else {
246- title = this . _config . strings . codeLens . unsavedChanges . authorsOnly ;
246+ title = this . _config . strings . codeLens . unsavedChanges . authorsOnly ;
247247 }
248248
249249 lens . command = { title : title } as Command ;
@@ -256,7 +256,7 @@ export class GitCodeLensProvider implements CodeLensProvider {
256256 const recentCommit = Iterables . first ( blame . commits . values ( ) ) ;
257257 title = `${ recentCommit . author } , ${ moment ( recentCommit . date ) . fromNow ( ) } ` ;
258258 if ( this . _config . codeLens . debug ) {
259- title += ` [${ SymbolKind [ lens . symbolKind ] } (${ lens . blameRange . start . line + 1 } -${ lens . blameRange . end . line + 1 } ), Commit (${ recentCommit . shortSha } )]` ;
259+ title += ` [${ SymbolKind [ lens . symbolKind ] } (${ lens . range . start . character } - ${ lens . range . end . character } ), Lines ( ${ lens . blameRange . start . line + 1 } -${ lens . blameRange . end . line + 1 } ), Commit (${ recentCommit . shortSha } )]` ;
260260 }
261261
262262 switch ( this . _config . codeLens . recentChange . command ) {
@@ -279,7 +279,7 @@ export class GitCodeLensProvider implements CodeLensProvider {
279279 const count = blame . authors . size ;
280280 let title = `${ count } ${ count > 1 ? 'authors' : 'author' } (${ Iterables . first ( blame . authors . values ( ) ) . name } ${ count > 1 ? ' and others' : '' } )` ;
281281 if ( this . _config . codeLens . debug ) {
282- title += ` [${ SymbolKind [ lens . symbolKind ] } (${ lens . blameRange . start . line + 1 } -${ lens . blameRange . end . line + 1 } ), Authors (${ Iterables . join ( Iterables . map ( blame . authors . values ( ) , _ => _ . name ) , ', ' ) } )]` ;
282+ title += ` [${ SymbolKind [ lens . symbolKind ] } (${ lens . range . start . character } - ${ lens . range . end . character } ), Lines ( ${ lens . blameRange . start . line + 1 } -${ lens . blameRange . end . line + 1 } ), Authors (${ Iterables . join ( Iterables . map ( blame . authors . values ( ) , _ => _ . name ) , ', ' ) } )]` ;
283283 }
284284
285285 switch ( this . _config . codeLens . authors . command ) {
0 commit comments