Fix editor#pasteClipboard on Windows.

This commit is contained in:
Doug Kearns committed 2009-03-13 18:06:20 +11:00
1 parent ed79b24a01
commit a37f61028d
1 file changed
+7
+7
View File
@@ -623,6 +623,13 @@ function Editor() //{{{
pasteClipboard: function ()
{
if (liberator.has("Win32"))
{
this.executeCommand("cmd_paste");
return;
}
// FIXME: #93 (<s-insert> in the bottom of a long textarea bounces up)
let elem = window.document.commandDispatcher.focusedElement;
if (elem.setSelectionRange && util.readFromClipboard())