Commit 3df4c9b9 authored by yann300's avatar yann300

fix use of reveal line

parent acddd962
......@@ -364,7 +364,7 @@ class Editor extends Plugin {
*/
scrollToLine (line) {
if (!this.activated) return
this.emit('revealLine', line, 0)
this.emit('revealLine', line + 1, 0)
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment