File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,7 @@ const Stepper = (function StepperClosure() {
292
292
this . breakPoints = initialBreakPoints ;
293
293
this . currentIdx = - 1 ;
294
294
this . operatorListIdx = 0 ;
295
+ this . indentLevel = 0 ;
295
296
}
296
297
297
298
init ( operatorList ) {
@@ -382,8 +383,14 @@ const Stepper = (function StepperClosure() {
382
383
table . appendChild ( charCodeRow ) ;
383
384
table . appendChild ( fontCharRow ) ;
384
385
table . appendChild ( unicodeRow ) ;
386
+ } else if ( fn === "restore" ) {
387
+ this . indentLevel -- ;
385
388
}
386
- line . appendChild ( c ( "td" , fn ) ) ;
389
+ line . appendChild ( c ( "td" , " " . repeat ( this . indentLevel * 2 ) + fn ) ) ;
390
+ if ( fn === "save" ) {
391
+ this . indentLevel ++ ;
392
+ }
393
+
387
394
if ( decArgs instanceof HTMLElement ) {
388
395
line . appendChild ( decArgs ) ;
389
396
} else {
Original file line number Diff line number Diff line change @@ -1707,6 +1707,7 @@ html[dir="rtl"] #documentPropertiesOverlay .row > * {
1707
1707
}
1708
1708
# PDFBug table {
1709
1709
font-size : 10px ;
1710
+ white-space : pre;
1710
1711
}
1711
1712
# PDFBug table .showText {
1712
1713
border-collapse : collapse;
You can’t perform that action at this time.
0 commit comments