File tree Expand file tree Collapse file tree
base/browser/ui/highlightedlabel
workbench/contrib/markers/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,7 +84,11 @@ export class HighlightedLabel {
8484 }
8585
8686 this . domNode . innerHTML = htmlContent ;
87- this . domNode . title = this . title ;
87+ if ( this . title ) {
88+ this . domNode . title = this . title ;
89+ } else {
90+ this . domNode . removeAttribute ( 'title' ) ;
91+ }
8892 this . didEverRender = true ;
8993 }
9094
Original file line number Diff line number Diff line change @@ -314,6 +314,7 @@ class MarkerWidget extends Disposable {
314314 const lineMatches = filterData && filterData . lineMatches || [ ] ;
315315
316316 let lastLineElement : HTMLElement | undefined = undefined ;
317+ this . messageAndDetailsContainer . title = element . marker . message ;
317318 for ( let index = 0 ; index < ( multiline ? lines . length : 1 ) ; index ++ ) {
318319 lastLineElement = dom . append ( this . messageAndDetailsContainer , dom . $ ( '.marker-message-line' ) ) ;
319320 const messageElement = dom . append ( lastLineElement , dom . $ ( '.marker-message' ) ) ;
You can’t perform that action at this time.
0 commit comments