File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ define([
20
20
'theme' : "github" ,
21
21
'fontsize' : "12" ,
22
22
'printmargincolumn' : 80 ,
23
+ 'showinvisibles' : false ,
23
24
'showprintmargin' : false ,
24
25
'highlightactiveline' : false ,
25
26
'wraplimitrange' : 80 ,
@@ -68,6 +69,10 @@ define([
68
69
'label' : "Show Print Margin" ,
69
70
'type' : "checkbox"
70
71
} ,
72
+ 'showinvisibles' : {
73
+ 'label' : "Show Invisibles" ,
74
+ 'type' : "checkbox"
75
+ } ,
71
76
'highlightactiveline' : {
72
77
'label' : "Highlight Active Line" ,
73
78
'type' : "checkbox"
Original file line number Diff line number Diff line change @@ -402,6 +402,7 @@ define([
402
402
fontsize : "12" ,
403
403
printmargincolumn : 80 ,
404
404
showprintmargin : false ,
405
+ showinvisibles : false ,
405
406
highlightactiveline : false ,
406
407
wraplimitrange : 80 ,
407
408
enablesoftwrap : false ,
@@ -416,6 +417,7 @@ define([
416
417
this . $editor . css ( "font-size" , this . options . fontsize + "px" ) ;
417
418
this . editor . setPrintMarginColumn ( this . options . printmargincolumn ) ;
418
419
this . editor . setShowPrintMargin ( this . options . showprintmargin ) ;
420
+ this . editor . setShowInvisibles ( this . options . showinvisibles ) ;
419
421
this . editor . setHighlightActiveLine ( this . options . highlightactiveline ) ;
420
422
this . editor . getSession ( ) . setUseWrapMode ( this . options . enablesoftwrap ) ;
421
423
this . editor . getSession ( ) . setWrapLimitRange ( this . options . wraplimitrange , this . options . wraplimitrange ) ;
You can’t perform that action at this time.
0 commit comments