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
fa0294e3
Commit
fa0294e3
authored
10 years ago
by
Marijn Haverbeke
Browse files
Options
Downloads
Patches
Plain Diff
Document scrollCursorIntoView event
parent
e2962a5b
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
+7
-0
7 additions, 0 deletions
doc/manual.html
with
7 additions
and
0 deletions
doc/manual.html
+
7
−
0
View file @
fa0294e3
...
...
@@ -576,6 +576,13 @@
<dt
id=
"event_scroll"
><code><strong>
"scroll"
</strong>
(instance: CodeMirror)
</code></dt>
<dd>
Fires when the editor is scrolled.
</dd>
<dt
id=
"event_scrollCursorIntoView"
><code><strong>
"scrollCursorIntoView"
</strong>
(instance: CodeMirror, event: Event)
</code></dt>
<dd>
Fires when the editor tries to scroll its cursor into view.
Can be hooked into to take care of additional scrollable
containers around the editor. When the event object has
its
<code>
preventDefault
</code>
method called, CodeMirror will
not itself try to scroll the window.
</dd>
<dt
id=
"event_update"
><code><strong>
"update"
</strong>
(instance: CodeMirror)
</code></dt>
<dd>
Will be fired whenever CodeMirror updates its DOM display.
</dd>
...
...
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