Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CodeMirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Moritz Aurel Pascal Schubotz
CodeMirror
Commits
9389a050
Unverified
Commit
9389a050
authored
8 years ago
by
Marijn Haverbeke
Browse files
Options
Downloads
Patches
Plain Diff
[sas mode] Code style, integrate
Issue #3932
parent
7fa0cdc4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mode/index.html
+1
-0
1 addition, 0 deletions
mode/index.html
mode/sas/index.html
+14
-20
14 additions, 20 deletions
mode/sas/index.html
mode/sas/sas.js
+279
-345
279 additions, 345 deletions
mode/sas/sas.js
with
294 additions
and
365 deletions
mode/index.html
+
1
−
0
View file @
9389a050
...
...
@@ -114,6 +114,7 @@ option.</p>
<li><a
href=
"rst/index.html"
>
reStructuredText
</a></li>
<li><a
href=
"ruby/index.html"
>
Ruby
</a></li>
<li><a
href=
"rust/index.html"
>
Rust
</a></li>
<li><a
href=
"sas/index.html"
>
SAS
</a></li>
<li><a
href=
"sass/index.html"
>
Sass
</a></li>
<li><a
href=
"spreadsheet/index.html"
>
Spreadsheet
</a></li>
<li><a
href=
"clike/scala.html"
>
Scala
</a></li>
...
...
This diff is collapsed.
Click to expand it.
mode/sas/index.html
+
14
−
20
View file @
9389a050
...
...
@@ -6,15 +6,14 @@
<link
rel=
"stylesheet"
href=
"../../lib/codemirror.css"
>
<script
src=
"../../lib/codemirror.js"
></script>
<script
src=
"../../addon/edit/continuelist.js"
></script>
<script
src=
"../xml/xml.js"
></script>
<script
src=
"sas.js"
></script>
<style
type=
"text/css"
>
.CodeMirror
{
border-top
:
1px
solid
black
;
border-bottom
:
1px
solid
black
;}
.cm-s-default
.cm-trailing-space-a
:before
,
.cm-s-default
.cm-trailing-space-b
:before
{
position
:
absolute
;
content
:
"\00B7"
;
color
:
#777
;}
.cm-s-default
.cm-trailing-space-new-line
:before
{
position
:
absolute
;
content
:
"\21B5"
;
color
:
#777
;}
</style>
.CodeMirror
{
border-top
:
1px
solid
black
;
border-bottom
:
1px
solid
black
;}
.cm-s-default
.cm-trailing-space-a
:before
,
.cm-s-default
.cm-trailing-space-b
:before
{
position
:
absolute
;
content
:
"\00B7"
;
color
:
#777
;}
.cm-s-default
.cm-trailing-space-new-line
:before
{
position
:
absolute
;
content
:
"\21B5"
;
color
:
#777
;}
</style>
<div
id=
nav
>
<a
href=
"http://codemirror.net"
><h1>
CodeMirror
</h1><img
id=
logo
src=
"../../doc/logo.png"
></a>
...
...
@@ -65,23 +64,18 @@ proc sql;
create table foo as
select * from sashelp.class;
select *
select *
from foo;
quit;
</textarea></form>
<script>
var
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
code
"
),
{
mode
:
'
sas
'
,
lineNumbers
:
true
,
theme
:
"
default
"
,
extraKeys
:
{
"
Enter
"
:
"
newlineAndIndentContinueMarkdownList
"
}
});
</script>
<p><strong>
MIME types defined:
</strong>
<code>
text/x-sas
</code>
.
</p>
<script>
var
editor
=
CodeMirror
.
fromTextArea
(
document
.
getElementById
(
"
code
"
),
{
mode
:
'
sas
'
,
lineNumbers
:
true
});
</script>
<p><strong>
MIME types defined:
</strong>
<code>
text/x-sas
</code>
.
</p>
</article>
</article>
This diff is collapsed.
Click to expand it.
mode/sas/sas.js
+
279
−
345
View file @
9389a050
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment