1
0
mirror of synced 2025-11-06 04:30:40 +08:00

Updated documentation for line_numbers and wrap_lines

This commit is contained in:
Jamie Peabody
2015-06-28 12:07:26 +01:00
parent 398720ed41
commit 6ef8d2428c

View File

@@ -110,6 +110,8 @@ $(document).ready(function () {
<dd>Ignore white-space. Defaults to <span class="code">false</span>.</dd>
<dt id="lcs">lcs</dt>
<dd>Enables/disables LCS computation for paragraphs (word-by-word changes). Disabling can give a performance gain for large documents. Defaults to <span class="code">true</span>.</dd>
<dt id="line_numbers">line_numbers</dt>
<dd>Enables/disables line numbers. Enabling line numbers will toggle the visibility of the line number margins. Defaults to <span class="code">true</span>.</dd>
<dt id="resize_timeout">resize_timeout</dt>
<dd>The timeout, after a resize, before Mergely auto-resizes. Only used when autoresize enabled. Defaults to <span class="code">500</span>.</dd>
<dt id="rhs_margin">rhs_margin</dt>
@@ -120,6 +122,8 @@ $(document).ready(function () {
<dd>The margin/viewport indicator color. Defaults to <span class="code">'rgba(0, 0, 200, 0.5)'<span></dd>
<dt id="viewport">viewport</dt>
<dd>Enables/disables the viewport. Enabling the viewport can give a performance gain for large documents. Defaults to <span class="code">false</span>.</dd>
<dt id="wrap_lines">wrap_lines</dt>
<dd>Enables/disables line wrapping. Enabling wrapping will wrap text to fit the editors. Defaults to <span class="code">false</span>.</dd>
</dl>
<h2>Callbacks</h2>