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
41e3936e
Commit
41e3936e
authored
7 years ago
by
Marijn Haverbeke
Browse files
Options
Downloads
Patches
Plain Diff
[show-hint addon] Clarify passing options in the manual
Issue #4697
parent
4271ba59
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
doc/manual.html
+6
-3
6 additions, 3 deletions
doc/manual.html
with
6 additions
and
3 deletions
doc/manual.html
+
6
−
3
View file @
41e3936e
...
@@ -2603,9 +2603,12 @@ editor.setOption("extraKeys", {
...
@@ -2603,9 +2603,12 @@ editor.setOption("extraKeys", {
of the global one passed with the full list of completions.
</dd>
of the global one passed with the full list of completions.
</dd>
</dl></dd>
</dl></dd>
<dd>
The plugin understands the following options (the options object
<dd>
The plugin understands the following options, which may be
will also be passed along to the hinting function, which may
either passed directly in the argument to
<code>
showHint
</code>
,
understand additional options):
or provided by setting an
<code>
hintOptions
</code>
editor
option to an object (the former takes precedence). The options
object will also be passed along to the hinting function, which
may understand additional options.
<dl>
<dl>
<dt><code><strong>
hint
</strong>
: function
</code></dt>
<dt><code><strong>
hint
</strong>
: function
</code></dt>
<dd>
A hinting function, as specified above. It is possible to
<dd>
A hinting function, as specified above. It is possible to
...
...
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