Skip to content
Snippets Groups Projects
Unverified Commit 300f7f8e authored by Kris Ciccarello's avatar Kris Ciccarello Committed by Marijn Haverbeke
Browse files

[docs] `doc.getSelections` returns an array of strings.

parent def70631
No related branches found
No related tags found
No related merge requests found
...@@ -1254,7 +1254,7 @@ editor.setOption("extraKeys", { ...@@ -1254,7 +1254,7 @@ editor.setOption("extraKeys", {
separator to put between the lines in the output. When multiple separator to put between the lines in the output. When multiple
selections are present, they are concatenated with instances selections are present, they are concatenated with instances
of <code>lineSep</code> in between.</dd> of <code>lineSep</code> in between.</dd>
<dt id="getSelections"><code><strong>doc.getSelections</strong>(?lineSep: string) → string</code></dt> <dt id="getSelections"><code><strong>doc.getSelections</strong>(?lineSep: string) → array&lt;string&gt;</code></dt>
<dd>Returns an array containing a string for each selection, <dd>Returns an array containing a string for each selection,
representing the content of the selections.</dd> representing the content of the selections.</dd>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment