diff options
Diffstat (limited to 'lib/scripts/textselection.js')
-rw-r--r-- | lib/scripts/textselection.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scripts/textselection.js b/lib/scripts/textselection.js index f005fa3da..3ebab35e4 100644 --- a/lib/scripts/textselection.js +++ b/lib/scripts/textselection.js @@ -99,8 +99,8 @@ function setSelection(selection){ * @param string text - the new text to be pasted * @param objct selecttion - selection object returned by getSelection * @param int opts.startofs - number of charcters at the start to skip from new selection - * @param int opts.endofs - number of charcters at the end to skip from new selection - * @param bool opts.ofs - set tru if new text should not be selected + * @param int opts.endofs - number of characters at the end to skip from new selection + * @param bool opts.nosel - set true if new text should not be selected */ function pasteText(selection,text,opts){ if(!opts) opts = {}; |