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
834199b2
Commit
834199b2
authored
7 years ago
by
Adrian Heine
Browse files
Options
Downloads
Patches
Plain Diff
[simplemode demo] Fix type of property `token`
parent
5a5c75fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
demo/simplemode.html
+1
-1
1 addition, 1 deletion
demo/simplemode.html
with
1 addition
and
1 deletion
demo/simplemode.html
+
1
−
1
View file @
834199b2
...
...
@@ -67,7 +67,7 @@ highlighted by the mode shown in it).</p>
will be taken into account when matching the token. This regex
should only capture groups when the
<code>
token
</code>
property is
an array.
</dd>
<dt><code><strong>
token
</strong></code>
: string | null
</dt>
<dt><code><strong>
token
</strong></code>
: string |
array
<
string
>
|
null
</dt>
<dd>
An optional token style. Multiple styles can be specified by
separating them with dots or spaces. When the
<code>
regex
</code>
for
this rule captures groups, it must capture
<em>
all
</em>
of the
...
...
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