File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 19
19
</div >
20
20
</div >
21
21
</div >
22
+ <div >
23
+ <h7 style =" color :blue ;" id =" match-line-number" ></h7 >
24
+ </div >
22
25
</div >
23
26
<div class =" modal-footer" >
24
27
<button type =" button" class =" btn btn-primary" data-dismiss =" modal" >Close</button >
Original file line number Diff line number Diff line change @@ -165,12 +165,15 @@ class TemplateInsertion {
165
165
. text ( removePrefix ( match . fileName ) ) ;
166
166
$li . append ( $a ) ;
167
167
$ ( '#file_listing_modal ul' ) . append ( $li ) ;
168
+
169
+ $ ( '#match-line-number' ) . text ( 'Line number: ' + match . startLocationLine . toString ( ) ) ;
168
170
}
169
171
}
170
172
$ ( '#file_listing_modal' ) . on ( 'shown.bs.modal' , function ( e ) {
171
173
$ ( 'a.content-link' ) . first ( ) . trigger ( 'click' ) ;
172
174
} ) ;
173
175
176
+
174
177
$ ( '#file_listing_modal' ) . modal ( ) ;
175
178
176
179
You can’t perform that action at this time.
0 commit comments