diff --git a/docs/docs/api/selection.md b/docs/docs/api/selection.md index 6f133137de..ec0fabf3cf 100644 --- a/docs/docs/api/selection.md +++ b/docs/docs/api/selection.md @@ -51,9 +51,9 @@ Sets user selection to given range, which will also focus the editor. Providing **Methods** ```javascript -setSelection(index: Number, length: Number, source: String = 'api') +setSelection(index: Number, length: Number = 0, source: String = 'api') setSelection(range: { index: Number, length: Number }, - souce: String = 'api') + source: String = 'api') ``` **Examples**