File tree Expand file tree Collapse file tree 3 files changed +294
-365
lines changed
Expand file tree Collapse file tree 3 files changed +294
-365
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ <h2>Language modes</h2>
114114 < li > < a href ="rst/index.html "> reStructuredText</ a > </ li >
115115 < li > < a href ="ruby/index.html "> Ruby</ a > </ li >
116116 < li > < a href ="rust/index.html "> Rust</ a > </ li >
117+ < li > < a href ="sas/index.html "> SAS</ a > </ li >
117118 < li > < a href ="sass/index.html "> Sass</ a > </ li >
118119 < li > < a href ="spreadsheet/index.html "> Spreadsheet</ a > </ li >
119120 < li > < a href ="clike/scala.html "> Scala</ a > </ li >
Original file line number Diff line number Diff line change 66
77< link rel ="stylesheet " href ="../../lib/codemirror.css ">
88< script src ="../../lib/codemirror.js "> </ script >
9- < script src ="../../addon/edit/continuelist.js "> </ script >
109< script src ="../xml/xml.js "> </ script >
1110< script src ="sas.js "> </ script >
1211< style type ="text/css ">
13- .CodeMirror {border-top : 1px solid black; border-bottom : 1px solid black;}
14- .cm-s-default .cm-trailing-space-a : before ,
15- .cm-s-default .cm-trailing-space-b : before {position : absolute; content : "\00B7" ; color : # 777 ;}
16- .cm-s-default .cm-trailing-space-new-line : before {position : absolute; content : "\21B5" ; color : # 777 ;}
17- </ style >
12+ .CodeMirror {border-top : 1px solid black; border-bottom : 1px solid black;}
13+ .cm-s-default .cm-trailing-space-a : before ,
14+ .cm-s-default .cm-trailing-space-b : before {position : absolute; content : "\00B7" ; color : # 777 ;}
15+ .cm-s-default .cm-trailing-space-new-line : before {position : absolute; content : "\21B5" ; color : # 777 ;}
16+ </ style >
1817< div id =nav >
1918 < a href ="http://codemirror.net "> < h1 > CodeMirror</ h1 > < img id =logo src ="../../doc/logo.png "> </ a >
2019
@@ -65,23 +64,18 @@ <h2>SAS mode</h2>
6564 create table foo as
6665 select * from sashelp.class;
6766
68- select *
67+ select *
6968 from foo;
7069quit;
71-
7270</ textarea > </ form >
7371
74- < script >
75- var editor = CodeMirror . fromTextArea ( document . getElementById ( "code" ) , {
76- mode : 'sas' ,
77- lineNumbers : true ,
78- theme : "default" ,
79- extraKeys : { "Enter" : "newlineAndIndentContinueMarkdownList" }
80- } ) ;
81- </ script >
82-
83-
84- < p > < strong > MIME types defined:</ strong > < code > text/x-sas</ code > .</ p >
72+ < script >
73+ var editor = CodeMirror . fromTextArea ( document . getElementById ( "code" ) , {
74+ mode : 'sas' ,
75+ lineNumbers : true
76+ } ) ;
77+ </ script >
8578
79+ < p > < strong > MIME types defined:</ strong > < code > text/x-sas</ code > .</ p >
8680
87- </ article >
81+ </ article >
You can’t perform that action at this time.
0 commit comments