Skip to content

Commit

Permalink
Merge pull request #3544 from rocbooks/add-prevent-scroll-doc
Browse files Browse the repository at this point in the history
Added "preventScroll" option documentation for search function.
  • Loading branch information
nightwing authored Jan 31, 2018
2 parents b277003 + 4c24f04 commit 5d3596a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ <h3>Searching</h3>
<li>
<code>skipCurrent</code>: Whether or not to include the current line in the search. Default to <code>false</code>.
</li>
<li>
<code>preventScroll</code>: Whether or not to move the cursor to the next match. Default to <code>false</code>.
</li>
</ul>
<p>Here's how you can perform a replace:</p>
<pre><code class="javascript">editor.find('foo');
Expand Down

0 comments on commit 5d3596a

Please sign in to comment.